Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

refactor and test doc deployment

Devin Neal969bcf4154d3
diff --git a/.travis.yml b/.travis.yml
index 8a17c2acc..d07da3ac7 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 60ba148f2..ca0f8e9d8 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 000000000..099523751
--- /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