Skip to content

docs: update build instructions in docs/README.md - #4077

Merged
EwoutH merged 1 commit into
mesa:mainfrom
arzaanxeng:docs-readme-build-instructions
Nov 14, 2026
Merged

EwoutH merged 1 commit into
mesa:mainfrom
arzaanxeng:docs-readme-build-instructions

Conversation

@arzaanxeng

Copy link
Copy Markdown
Contributor

Pre-PR Checklist

  • This PR is a bug fix, not a new feature or enhancement.

Summary

Updates the build instructions in docs/README.md so they match how the docs are actually built and fixes a wrong link.

Bug / Issue

  • The README tells contributors to install sphinx, nbsphinx and sphinx-copybutton by hand. The docs use myst_nb (check docs/conf.py) not nbsphinx, and the project already has a docs extra in pyproject.toml that installs everything needed. I also checked that the Docs and AGENTS.md use that extra too.
  • The link text @tpike3 points to https://github.com/dmasad.

Implementation

  • Replaced the three separate pip install lines with one step: pip install -e ".[docs]" from the repository root.
  • Added where the built HTML ends up (docs/_build/html).
  • Changed the @tpike3 link to https://github.com/tpike3.

Testing

  • I created a fresh virtual environment, ran pip install -e ".[docs]" and then make html in docs/. The build succeeded without installing nbsphinx or anything else by hand.

Additional Notes

I left the "Update read the docs" section and the sphinx-apidoc tip unchanged. The tip may be worth removing in a separate change, since running it with -F generates a new Sphinx project in docs/.

@github-actions github-actions Bot added the docs Release notes label label Nov 13, 2026

@EwoutH EwoutH left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, checked against pyproject.toml, conf.py and the Makefile; all correct.

@EwoutH
EwoutH merged commit fb15030 into mesa:main Nov 14, 2026
5 checks passed
EwoutH pushed a commit that referenced this pull request Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Release notes label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants