diff --git a/.travis.yml b/.travis.yml index 8a17c2ac..d07da3ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/docs/source/index.rst b/docs/source/index.rst index 60ba148f..ca0f8e9d 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -6,6 +6,8 @@ Welcome to Manim's documentation! ================================= +test change + .. toctree:: :maxdepth: 2 :caption: Contents: diff --git a/travis/build_docs.sh b/travis/build_docs.sh new file mode 100644 index 00000000..09952375 --- /dev/null +++ b/travis/build_docs.sh @@ -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