-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
67 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# To use tox, see https://tox.readthedocs.io | ||
# Simply pip or conda install tox | ||
# If you use conda, you may also want to install tox-conda | ||
# then run `tox` or `tox -- {pytest args}` | ||
# To run in parallel using `tox -p` (this does not appear to work for this repo) | ||
|
||
# To rebuild the tox environment, for example when dependencies change, use | ||
# `tox -r` | ||
|
||
# Note: if the following error is encountered: `ImportError while loading conftest` | ||
# then then deleting compiled files has been found to fix it: `find . -name \*.pyc -delete` | ||
|
||
[tox] | ||
envlist = py37-sphinx3 | ||
|
||
[testenv] | ||
# only recreate the environment when we use `tox -r` | ||
recreate = false | ||
|
||
[testenv:docs-build] | ||
description = Build the documentation and launch browser | ||
extras = | ||
rtd | ||
commands = | ||
sphinx-build \ | ||
-n -b {posargs:html} docs/ docs/_build/{posargs:html} | ||
|
||
[testenv:docs-live] | ||
description = Build the documentation and launch browser | ||
deps = | ||
sphinx-autobuild | ||
sphinx-rtd-theme | ||
alabaster | ||
extras = | ||
rtd | ||
commands = | ||
sphinx-autobuild \ | ||
--re-ignore _build/.* \ | ||
--watch sphinx_copybutton \ | ||
--port 0 --open-browser \ | ||
-n -b {posargs:html} docs/ docs/_build/{posargs:html} |