diff options
author | Chandan Singh <csingh43@bloomberg.net> | 2018-12-30 19:16:24 +0000 |
---|---|---|
committer | Chandan Singh <csingh43@bloomberg.net> | 2019-01-03 03:44:17 +0000 |
commit | 3fae34467f46d63407a8cf8d43f2df57f13af4e9 (patch) | |
tree | a54639daa29300acfa9dba1d98538d83803e07e7 /tox.ini | |
parent | afa0a3697c80dbdae5560bf35f670ba104cb1e27 (diff) | |
download | buildstream-3fae34467f46d63407a8cf8d43f2df57f13af4e9.tar.gz |
Move sphinx build functionality to tox
Currently the CI and the docs both have to duplicate the same inforation
about how to gather dependencies etc, and have to use hacky ways to run
them.
Add a new `docs` environment to our tox setup so that building docs is
as simple as running `tox -e docs`.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -9,5 +9,25 @@ deps = -rtools/dev-requirements.txt -rtools/plugin-requirements.txt passenv = + BST_FORCE_BACKEND GI_TYPELIB_PATH INTEGRATION_CACHE + +[testenv:docs] +commands = + make -C doc +# Currently sphinx_rtd_theme does not support Sphinx >1.8, this breaks search functionality +deps = + sphinx==1.7.9 + sphinx-click + sphinx_rtd_theme + -rtools/requirements.txt + -rtools/plugin-requirements.txt +passenv = + BST_FORCE_SESSION_REBUILD + BST_SOURCE_CACHE + HOME + LANG + LC_ALL +whitelist_externals = + make |