You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
944 B

2 months ago
  1. # MiniGrid documentation
  2. This folder contains the documentation for MiniGrid.
  3. For more information about how to contribute to the documentation go to our [CONTRIBUTING.md](https://github.com/Farama-Foundation/Celshast/blob/main/CONTRIBUTING.md)
  4. ### Editing an environment page
  5. If you are editing an Atari environment, directly edit the Markdown file in this repository.
  6. Otherwise, fork Gym and edit the docstring in the environment's Python file. Then, pip install your Gym fork and run `docs/_scripts/gen_env_docs.py` in this repo. This will automatically generate a md documentation file for the environment.
  7. ## Build the Documentation
  8. Install the required packages and Minigrid:
  9. ```
  10. pip install -r docs/requirements.txt
  11. pip install -e .
  12. ```
  13. To build the documentation once:
  14. ```
  15. cd docs
  16. make dirhtml
  17. ```
  18. To rebuild the documentation automatically every time a change is made:
  19. ```
  20. cd docs
  21. sphinx-autobuild -b dirhtml . _build
  22. ```