Skip to content

docs: fix broken toctree entries, duplicate API docs and a broken code fence - #4055

Merged
tpike3 merged 7 commits into
mesa:mainfrom
arzaanxeng:main
Nov 10, 2026
Merged

tpike3 merged 7 commits into
mesa:mainfrom
arzaanxeng:main

Conversation

@arzaanxeng

Copy link
Copy Markdown
Contributor

Summary

Fixes four problems that show up as warnings or broken rendering in the docs build.

  • apis/api_main.md: the toctree listed logging, but the page is mesa_logging, so the logging API page was orphaned.
  • migration_guide.md: two code fences (in the mesa.space removed section) had a zero-width space before the backticks, so the NetworkGrid -> Network example rendered as plain text.
  • apis/experimental.md: continuous_space and continuous_space_agents were documented twice, which gave duplicate object description warnings.
  • overview.md: removed the page's own entry from its toctree.

Testing

Built the docs with python -m sphinx -b html -D nb_execution_mode=off . _build in docs/ before and after.
Warnings went from 219 to 196: the two broken toctree entries are gone, the logging page is no longer orphaned, and the duplicate continuous_space documentation and one heading warning are cleared.

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

@tpike3 tpike3 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.

@arzaanxeng Thanks looks good!

Could I ask you to also update the mesa_logging.md so the L is capitalized in the header and then follows the format of the other API headers.

@arzaanxeng

Copy link
Copy Markdown
Contributor Author

Done, capitalized the header in mesa_logging.md. Thanks!

@quaquel
quaquel requested a review from tpike3 November 9, 2026 22:44

@tpike3 tpike3 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.

Sorry, I shouldnt have done requested changes it just held up the merge

@tpike3
tpike3 merged commit cb554d0 into mesa:main Nov 10, 2026
4 of 5 checks passed
EwoutH pushed a commit that referenced this pull request Nov 22, 2026
…e fence (#4055)

Adapted for 3.5.x: only the logging toctree entry, the logging page title and the self-referencing overview toctree entry. 3.5 documents the experimental continuous space only once, and its migration guide has no broken code fence, so those parts are dropped.

(cherry picked from commit cb554d0)

Assisted-by: Claude Opus 5.5
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.

3 participants