Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Oct 5, 2020
1 parent f84e706 commit 96be378
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,9 @@ script:
pushd docs
make clean html linkcheck
popd
if [[ -z "$TRAVIS_TAG" ]]; then
python -m doctr deploy --build-tags --key-path github_deploy_key_ioos_erddapy.enc --built-docs docs/build/html dev
else
python -m doctr deploy --build-tags --key-path github_deploy_key_ioos_erddapy.enc --built-docs docs/build/html "version-$TRAVIS_TAG"
python -m doctr deploy --build-tags --key-path github_deploy_key_ioos_erddapy.enc --built-docs docs/build/html .
fi
if [ ! -z "$TRAVIS_TAG" ]; then DEPLOY_DIR="$TRAVIS_TAG"; else DEPLOY_DIR="$TRAVIS_BRANCH"; fi
doctr deploy --command=doctr-versions-menu --no-require-master --build-tags "$DEPLOY_DIR"
fi
deploy:
Expand Down
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"sphinx.ext.viewcode",
"sphinx.ext.napoleon",
"nbsphinx",
"doctr_versions_menu",
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ black
cartopy
check-manifest
doctr
doctr-versions-menu
flake8
flake8-builtins
flake8-comprehensions
Expand Down

0 comments on commit 96be378

Please sign in to comment.