Skip to content

Commit 8d35bda

Browse files
committed
MNT: Update docs build script for updated pdoc
1 parent b0d23ab commit 8d35bda

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ matrix:
2929
name: 'Docs'
3030
stage: deploy
3131
install:
32-
- pip install .[doc,test]
32+
- pip install -e .[doc,test]
3333
script:
3434
- doc/build.sh
3535
after_success:

doc/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ echo
2121
mkdir -p "$BUILDROOT"
2222
rm -r "$BUILDROOT" 2>/dev/null || true
2323
pushd "$DOCROOT/.." >/dev/null
24-
pdoc3 --html --html-no-source \
24+
pdoc3 --html \
2525
${IS_RELEASE+--template-dir "$DOCROOT/pdoc_template"} \
26-
--html-dir "$BUILDROOT" \
26+
--output-dir "$BUILDROOT" \
2727
backtesting
2828
popd >/dev/null
2929

doc/pdoc_template/config.mako

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
show_inherited_members = False
44
extract_module_toc_into_sidebar = True
55
list_class_variables_in_index = True
6+
sort_identifiers = True
7+
show_type_annotations = False
8+
show_source_code = False
69
710
811
from pdoc.html_helpers import glimpse as _glimpse

0 commit comments

Comments
 (0)