This folder contains the documentation for POSGGym.
Assuming you have downloaded/cloned the repo and installed POSGGym. First install the required packages for building the documentation:
cd docs
pip install -r requirements.txtThen build the documentation once:
cd docs
make dirhtmlTo rebuild the documentation automatically every time a change is made:
cd docs
sphinx-autobuild -b dirhtml . _buildYou should now be able to view the document by going to http://127.0.0.1:8000 in your browser (or the address displayed in the stdout of the sphinx-autobuild command).
Firstly ensure the docstrings for the environment are up-to-date and contains all the relevant information. If updating an existing environment make sure to update the version history in the docstring.
Then generate a GIF for the environment:
cd docs
python scripts/gen_gifs.py --env-id YourEnvID-v0Next generate markdown file:
python scripts/gen_env_mds.pyNext update the relevant environmtn docs file in docs/environments, making sure to add the new environment .md file to the {toctree} and also adding the gif.
Generate a markdown file for the agent:
cd docs
python scripts/gen_agent_mds.py