-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOC: Cleaned up commits, updated index.rst and build docs.
- Loading branch information
Showing
3 changed files
with
35 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,20 +3,21 @@ | |
# https://github.com/pydata/pandas | ||
set -e | ||
|
||
cd "$TRAVIS_BUILD_DIR" | ||
|
||
echo "Building Docs" | ||
conda install -q sphinx pillow | ||
conda install -q sphinx pillow ipython | ||
conda install numpydoc | ||
pip install sphinx_rtd_theme | ||
pip install sphinx_gallery | ||
pip install sphinx-copybutton | ||
|
||
mv "$TRAVIS_BUILD_DIR"/doc /tmp | ||
cd /tmp/doc | ||
mv -f source/index.ci source/index.rst | ||
cd doc | ||
make clean | ||
make html | ||
|
||
# upload to pyart-docs-travis repo is this is not a pull request and | ||
# secure token is available (aka in the ARM-DOE repository. | ||
if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ $TRAVIS_SECURE_ENV_VARS == 'true' ]; then | ||
cd /tmp/doc/build/html | ||
cd build/html | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "pyart-docs-bot" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters