mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
refactor and test doc deployment
This commit is contained in:
parent
f3f0e3ba03
commit
969bcf4154
3 changed files with 13 additions and 5 deletions
|
@ -21,11 +21,7 @@ script:
|
|||
- python setup.py test
|
||||
- python setup.py bdist_wheel
|
||||
after_success:
|
||||
- pip install sphinx_rtd_theme
|
||||
- make --directory docs/ html
|
||||
- openssl aes-256-cbc -K $encrypted_1b28e850a424_key -iv $encrypted_1b28e850a424_iv -in travis/crypt.enc -out travis/crypt -d
|
||||
- tar xf travis/crypt
|
||||
- test $TRAVIS_BRANCH = "master" && test $TRAVIS_PULL_REQUEST = "false" && travis/deploy_docs.sh
|
||||
- test $TRAVIS_BRANCH = "master" && test $TRAVIS_PULL_REQUEST = "false" && travis/build_docs.sh
|
||||
deploy:
|
||||
provider: pypi
|
||||
user: eulertour
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
Welcome to Manim's documentation!
|
||||
=================================
|
||||
|
||||
test change
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:caption: Contents:
|
||||
|
|
10
travis/build_docs.sh
Normal file
10
travis/build_docs.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
pip install sphinx_rtd_theme
|
||||
make --directory docs/ html
|
||||
openssl aes-256-cbc -K $encrypted_1b28e850a424_key \
|
||||
-iv $encrypted_1b28e850a424_iv \
|
||||
-in travis/crypt.enc \
|
||||
-out travis/crypt -d
|
||||
tar xf travis/crypt
|
||||
travis/deploy_docs.sh
|
Loading…
Add table
Reference in a new issue