Skip to content

docs: retire the legacy mkdocs site and point all links at readthedocs - #1961

Merged
janfb merged 4 commits into
mainfrom
docs/retire-mkdocs
Jul 31, 2026
Merged

janfb merged 4 commits into
mainfrom
docs/retire-mkdocs

Conversation

@janfb

@janfb janfb commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Sphinx on readthedocs has been canonical since #1519, and the mkdocs CI and dependencies
went in #1831. The mkdocs tree and its links outlived both. This PR retires them.

What

  • Removes the tracked mkdocs/ tree (31 files, a full parallel content tree).
  • Points every remaining link at readthedocs: the documentation URL on PyPI, 15 README
    links, the two links in the simple interface, one tutorial cross-link, and the proposals
    path. The old mkdocstrings reference/#... anchors map to the Sphinx autosummary pages.
    I checked that all new targets resolve.
  • Removes mkdocs from the pyright exclude list and the stale /docs/site/* ignore entry.
  • Fixes codemeta.json: the file was not valid JSON. The last Person entry had a bare
    ORCID string without its @id key.

What this does not do

The old domain does not break yet: https://sbi-dev.github.io/sbi/ still serves the frozen
v0.25.0 build until we switch GitHub Pages off in the repository settings. That is a manual
step for after this merges.

Claude Code helped with the link audit.

janfb added 3 commits July 30, 2026 18:49
Sphinx on readthedocs has been canonical since #1519. The mkdocs CI and
dependencies went in #1831. This removes the tracked mkdocs/ tree and the
stale build-dir entry in .gitignore.
The old GitHub Pages domain serves a frozen v0.25.0 build. This rewrites
the PyPI documentation URL, 16 README links, two links in the simple
interface, one tutorial link, and the proposals path. The mkdocstrings
reference anchors map to the Sphinx autosummary pages.
The last Person entry had a bare ORCID string without the '@id' key, so
the file was not valid JSON.
@codecov

codecov Bot commented Jul 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.60%. Comparing base (b8ce743) to head (6967bcc).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1961      +/-   ##
==========================================
+ Coverage   88.59%   88.60%   +0.01%     
==========================================
  Files         143      143              
  Lines       13585    13600      +15     
==========================================
+ Hits        12035    12050      +15     
  Misses       1550     1550              
Flag Coverage Δ
fast 82.77% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
sbi/inference/trainers/base.py 93.59% <ø> (ø)

... and 1 file with indirect coverage changes

The two SVGs only ever lived under mkdocs/docs/static/, so retiring that tree
removed them. docs/logo.png survives for html_logo, but the vector master and the
BMBF funding logo had no other copy.

Move both into docs/_static/ and reference the BMBF logo from the Support section
of docs/credits.md, where the text acknowledgment already sits. The mkdocs credits
page carried the same image.

@janfb janfb left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

self review, will be fixed locally.

Comment thread .gitignore Resolved
@janfb
janfb merged commit aa9f5af into main Jul 31, 2026
20 checks passed
@janfb
janfb deleted the docs/retire-mkdocs branch July 31, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant