Documentation¶
We use Read the Docs for publishing our documentation online. The GOATS team manages the project using the shared goats email. Documentation builds are triggered on pull requests only if changes are made within the docs/readthedocs directory.
We do not currently publish a code API, as GOATS is an application rather than a library.
Preview Changes Locally¶
To preview documentation locally:
Install the documentation dependencies. These are included in the
docsextras group:uv pip install -e . --group docs
From the
docs/readthedocsdirectory, run:sphinx-autobuild source build
Navigate to
http://localhost:8000in your browser to preview the documentation.Any changes to the source files will automatically trigger a rebuild and refresh the page.
Note
Make sure the GOATS app is not running while previewing docs, as it also uses port 8000.