Update docs README with build instructions using tox

None of the existing commands built the docs properly for me (I had to
revert the changes in 901892d to docs/conf.py to get them to build
properly, and even then no tooltips displayed).

Building them with tox worked for me, but other developers say they
can still use the original method, so the docs now contain both.
This commit is contained in:
Will Beaufoy 2020-05-10 13:49:43 +01:00 committed by Will Beaufoy
parent 1bfbcc6180
commit 898bdd3feb
1 changed files with 9 additions and 0 deletions

View File

@ -57,3 +57,12 @@ There is a way to recreate the doc automatically when you make changes, you
need to install watchdog (``pip install watchdog``) and then use::
make watch
Alternative method using tox
----------------------------
To compile the documentation to HTML run the following command::
tox -e docs
Documentation will be generated (in HTML format) inside the ``.tox/docs/tmp/html`` dir.