Michael Joseph Rosenthal fc41b5e7c3 Some typing improvements, add py.typed (#284) 2 years ago
..
_static 72873a133c Add generated Gifs and a grid with all environments (#274) 2 years ago
api eb9d4f6ee3 Documentation Update (#261) 2 years ago
content d87a6d349f publications: Add Sparsity/BabyAI Publication (#285) 2 years ago
environments 72873a133c Add generated Gifs and a grid with all environments (#274) 2 years ago
scripts fc41b5e7c3 Some typing improvements, add py.typed (#284) 2 years ago
404.md f2a30bd1b2 Documentations (#242) 2 years ago
LICENSE ffe57c9fbd Update setup, coc, license (#263) 2 years ago
Makefile 155ab4c8b7 Update Docs Makefile (#275) 2 years ago
README.md f2a30bd1b2 Documentations (#242) 2 years ago
conf.py fc41b5e7c3 Some typing improvements, add py.typed (#284) 2 years ago
index.md d84588ff6e Adjust docs main page gif size (#277) 2 years ago
make.bat 155ab4c8b7 Update Docs Makefile (#275) 2 years ago
requirements.txt eb9d4f6ee3 Documentation Update (#261) 2 years ago

README.md

MiniGrid-docs

This repo contains the [NEW website]() for MiniGrid. This site is currently in Beta and we are in the process of adding/editing information.

The documentation uses Sphinx. However, the documentation is written in regular md, NOT rst.

If you are modifying a non-environment page or an atari environment page, please PR this repo. Otherwise, follow the steps below:

Instructions for modifying environment pages

Editing an environment page

If you are editing an Atari environment, directly edit the md file in this repository.

Otherwise, fork Gym and edit the docstring in the environment's Python file. Then, pip install your Gym fork and run docs/scripts/gen_mds.py in this repo. This will automatically generate a md documentation file for the environment.

Build the Documentation

Install the required packages and Gym (or your fork):

pip install -r requirements.txt
pip install gym

To build the documentation once:

cd docs
make dirhtml

To rebuild the documentation automatically every time a change is made:

cd docs
sphinx-autobuild -b dirhtml ./source build/html