mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-02 14:26:33 +00:00
Update documentation build tooling (#700)
Co-authored-by: Martin van Hensbergen <martin@mvhensbergen.com>
This commit is contained in:
@@ -47,9 +47,11 @@ To rebuild the documentation automatically every time a change is made:
|
||||
|
||||
```
|
||||
cd docs
|
||||
sphinx-autobuild -b dirhtml . _build
|
||||
sphinx-autobuild -b dirhtml --watch ../gymnasium --re-ignore "pickle$" . _build
|
||||
```
|
||||
|
||||
You can then open http://localhost:8000 in your browser to watch a live updated version of the documentation.
|
||||
|
||||
## Writing Tutorials
|
||||
|
||||
We use Sphinx-Gallery to build the tutorials inside the `docs/tutorials` directory. Check `docs/tutorials/demo.py` to see an example of a tutorial and [Sphinx-Gallery documentation](https://sphinx-gallery.github.io/stable/syntax.html) for more information.
|
||||
|
Reference in New Issue
Block a user