Skip to content

Move the documentation to the shared CCPBioSim Sphinx theme - #75

Merged
harryswift01 merged 4 commits into
mainfrom
74-docs-move-the-documentation-to-the-shared-ccpbiosim-sphinx-theme
Nov 4, 2026
Merged

harryswift01 merged 4 commits into
mainfrom
74-docs-move-the-documentation-to-the-shared-ccpbiosim-sphinx-theme

Conversation

@harryswift01

Copy link
Copy Markdown
Member

Summary

This PR moves the biosim-schema documentation to the shared CCPBioSim Sphinx theme (ccpbiosim-sphinx-theme).

Changes

  • Replace Furo, nbsphinx and sphinx_copybutton with ccpbiosim-sphinx-theme in the docs dependencies.
  • Set the theme in conf.py and remove the unused autodoc, autosummary, napoleon and nbsphinx extensions.
  • Read the release in conf.py from the installed package instead of hard-coding it.
  • Hide the "Edit on GitHub" button on the generated schema reference, which is not in the repository.
  • Add a banner, quick start and section cards to the home page, with short labels in the navigation.
  • Ignore docs/build, the folder the Makefile builds into.

Testing

  • Ran biosim-schema-generate docs, then built the docs with make -C docs html SPHINXOPTS="-W --keep-going" with no warnings.
  • Checked the home page in light and dark mode, the generated schema pages and their diagrams, the "Edit on GitHub" links and the copy buttons.

Impact

  • Docs only, no changes to the biosim-schema package or schema.
  • The generated schema reference and its URLs are unchanged.

Checklist

  • Tests added or updated
  • Documentation updated
  • If dependencies in pyproject.toml changed, the lower bounds were reviewed deliberately

@harryswift01
harryswift01 requested a review from jkalayan November 3, 2026 11:39
@harryswift01 harryswift01 self-assigned this Nov 3, 2026
@harryswift01 harryswift01 added documentation Improvements or additions to documentation enhancement New feature or request labels Nov 3, 2026
@harryswift01 harryswift01 linked an issue Nov 3, 2026 that may be closed by this pull request

@jkalayan jkalayan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Happy to see the schema docs align with the CCPBioSim theme for docs, looks great Harry!

@harryswift01
harryswift01 merged commit 6d2b351 into main Nov 4, 2026
13 checks passed
@harryswift01
harryswift01 deleted the 74-docs-move-the-documentation-to-the-shared-ccpbiosim-sphinx-theme branch November 4, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: Move the documentation to the shared CCPBioSim Sphinx theme

2 participants