diff --git a/doc/README.md b/doc/README.md index 041f269..bb92dd1 100644 --- a/doc/README.md +++ b/doc/README.md @@ -2,7 +2,7 @@ Backtesting.py Documentation ============================ After installing documentation dependencies: - pip install .[doc] + pip install .[doc,test] build HTML documentation by running: diff --git a/doc/build.sh b/doc/build.sh index a936687..80bad67 100755 --- a/doc/build.sh +++ b/doc/build.sh @@ -4,7 +4,7 @@ IS_RELEASE=${TRAVIS_TAG+1} die () { echo "ERROR: $*" >&2; exit 2; } -for cmd in pdoc \ +for cmd in pdoc3 \ jupytext \ jupyter-nbconvert; do command -v "$cmd" >/dev/null || @@ -21,7 +21,7 @@ echo mkdir -p "$BUILDROOT" rm -r "$BUILDROOT" 2>/dev/null || true pushd "$DOCROOT/.." >/dev/null -pdoc --html --html-no-source \ +pdoc3 --html --html-no-source \ ${IS_RELEASE+--template-dir "$DOCROOT/pdoc_template"} \ --html-dir "$BUILDROOT" \ backtesting diff --git a/setup.py b/setup.py index 32b1fe3..a48f4af 100644 --- a/setup.py +++ b/setup.py @@ -45,6 +45,7 @@ if __name__ == '__main__': ], 'test': [ 'seaborn', + 'matplotlib', ], 'dev': [ 'flake8',