mirror of
https://github.com/vale981/jobmanager
synced 2025-03-04 17:31:39 -05:00
automated doc upload
This commit is contained in:
parent
0abaefeb1e
commit
662fb2032b
4 changed files with 37 additions and 46 deletions
|
@ -48,6 +48,6 @@ script:
|
|||
after_success:
|
||||
- git config credential.helper "store --file=.git/credentials"
|
||||
- echo "https://${GH_TOKEN}:@github.com" > .git/credentials
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then travis_retry conda install --yes sphinx; fi
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install numpydoc; fi
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then python doc/deploy_ghpages.py; fi
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == 3.4 ]]; then travis_retry conda install --yes sphinx; fi
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == 3.4 ]]; then pip install numpydoc; fi
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == 3.4 ]]; then python doc/deploy_ghpages.py; fi
|
||||
|
|
|
@ -6,12 +6,3 @@ Install [numpydoc](https://pypi.python.org/pypi/numpydoc):
|
|||
To compile the documentation, run
|
||||
|
||||
python setup.py build_sphinx
|
||||
|
||||
|
||||
To upload the documentation to gh-pages, run
|
||||
|
||||
python setup.py commit_doc
|
||||
|
||||
or
|
||||
|
||||
python doc/commit_gh-pages.py
|
||||
|
|
|
@ -40,8 +40,8 @@ Prerequisites
|
|||
after_success:
|
||||
- git config credential.helper "store --file=.git/credentials"
|
||||
- echo "https://${GH_TOKEN}:@github.com" > .git/credentials
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install numpydoc sphinx; fi
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then python doc/deploy_ghpages.py; fi
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == 3.4 ]]; then pip install numpydoc sphinx; fi
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == 3.4 ]]; then python doc/deploy_ghpages.py; fi
|
||||
|
||||
"""
|
||||
from __future__ import print_function
|
||||
|
|
Loading…
Add table
Reference in a new issue