Commit d8a8d57
feat: move to mystmd (#792)
* feat(docs): migrate docs site from Jekyll to MyST (JupyterBook 2.0)
- Replace Jekyll + just-the-docs with MyST using scientific-python-myst-theme
- Add docs/myst.yml with full TOC structure (29 pages across 5 sections)
- Add docs/config/scientific-python.yml for book-theme configuration
- Add docs/rr-role.mjs custom MyST plugin replacing repo_review.rb Liquid tag
- Add docs/assets/css/site.css with SP theme CSS and .rr-btn styles
- Convert all Liquid tags: {%rr%}→{rr} role, tabs→tab-set/tab-item,
details→{dropdown}, callouts→admonitions, links→relative paths
- Inline interactive_repo_review.html as raw html block with Pyodide loading
- Move _includes/pyproject.md to _partials/ and update include paths
- Update .readthedocs.yaml from Ruby/Jekyll to Node.js/mystmd build
- Update .pre-commit-config.yaml for new _partials/ path
- Remove all Jekyll infrastructure: Gemfile, _config.yml, _plugins/,
_sass/, _includes/, assets/js/tabs.js
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Assisted-by: copilot-cli:claude-sonnet-4.6
* fix: use iframe for repo-review, restore style.md, fix TOC and rr-role
- Replace raw HTML block in repo_review.md with {iframe} directive pointing
to https://scientific-python.github.io/repo-review/ — the book-theme has
no renderer for type:"html" blocks, so raw HTML was rendered as escaped
text in the static output; iframe is natively supported
- Remove html_head_extra frontmatter from repo_review.md (unsupported by
the book-theme, was generating a build warning)
- Remove fetch_repo_review_app.sh step from .readthedocs.yaml (no longer
needed with external iframe URL)
- Simplify rr-role.mjs: remove broken rawHtmlTransform (ran after
htmlTransform so type:"html" nodes were never further processed)
- Restore style.md (was accidentally emptied by shell redirection in prior
session); re-converted from original Jekyll source
- Fix myst.yml: add .md extensions to all 29 TOC entries to resolve
build warnings about missing file extensions
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Assisted-by: cli:claude-sonnet-4.6
* docs: fix post-migration rendering issues
- Fix {% rr PP007 %} unconverted liquid tag in _partials/pyproject.md
- Remove {% raw %}/{% endraw %} from coverage.md
- Fix split note box title in packaging_simple.md
- Hide right-sidebar outline on homepage (site.hide_outline)
- Fix TOC duplication: use file+children instead of title+children
- Add {tableofcontents} to all section index pages (tutorials, guides, principles, patterns)
- Add sync:coverage-tool to coverage page tab-sets
- Add sync:docs-framework to all Sphinx/MkDocs tab-sets in docs.md
- Remove id attribute from rr-btn spans to fix duplicate identifier warnings
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Assisted-by: copilot-cli:claude-sonnet-4.6
* docs: add tab sync, fix implicit refs, update AGENTS.md
- Add explicit MyST labels to testing.md headings to fix implicit
target warnings (public-interface-tests, project-level-integration-tests,
unit-tests, additional-types-of-test-suites, fuzz-tests, end-to-end-tests)
- Add sync:publish-method to Trusted Publishing/Token tabs in gha_pure.md
and gha_wheels.md (cross-page sync)
- Add sync:compiled-backend to Scikit-build-core/Meson-python/Maturin tabs
in packaging_compiled.md (4 tab-sets now sync)
- Update AGENTS.md: docs site is now MyST (not Jekyll)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Assisted-by: copilot-cli:claude-sonnet-4.6
* docs: fix tab sync keys to use tab names
Sync keys must match the tab label, not a group name, so that MyST
can identify matching tabs across tab-sets.
- docs.md: sphinx, mkdocs
- gha_pure.md + gha_wheels.md: trusted-publishing, token
- packaging_compiled.md: scikit-build-core, meson-python, maturin
- coverage.md was already correct (coverage, pytest-cov)
- Update AGENTS.md with correct sync key convention
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Assisted-by: copilot-cli:claude-sonnet-4.6
* chore: move to rumdl instead of prettier
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
* fix: broken raw / badges in a few places
Assisted-by: CopilotCLI:claude-hauku-4.5
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
* ci: fix readthedocs
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
* fix: colorize toml blocks
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
* chore: move bun to top level
Assisted-by: CopilotCLI:claude-haiku-4.5
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
* docs: use anywidget
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
* docs: a few more bits of polish
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
Assisted-by: CopilotCLI:GPT-5.4-mini
* chore: use webapp package
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
* fix: use anywidget
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
* style: pre-commit fixes
* fix: docs and one more prettier
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* style: pre-commit fixes
* fix: rtd error
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
* fix: some warnings
Assisted-by: OpenCode:glm-5.1
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
* fix: rumld broke ToC
Assisted-by: OpenCode:glm-5.1
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
* fix: ensure thebe off
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
* Remove HTML head meta tag from myst.yml
Remove unnecessary HTML head meta tag from configuration.
* fix: scope toml→ini to docs, pin schema-store, add docs CI
- Revert the toml→ini fence change in src/sp_repo_review/checks/*.py;
those docstrings render in repo-review itself, so the docs-only
highlighter workaround (code_fence cog helper) should not leak into
the published package.
- Restore validate-pyproject-schema-store pin to 2026.04.03 in the
repo_review anywidget deps (was unintentionally downgraded).
- Add a PR-time MyST build check (reusable-docs.yml) wired into CI via
change detection on docs/helpers/package.json/bun.lock/.readthedocs.yaml.
- Clarify in AGENTS.md that the ini-for-toml workaround is docs-only.
Assisted-by: ClaudeCode:claude-opus-4.8
* fix: restore exact-case id anchor on rr badges
Emit a span with an explicit html_id instead of dropping the id or using
MyST's identifier/label (which lowercases and de-duplicates). This restores
the id="PP007" anchors so repo-review deep-links resolve, preserves their
case for the case-sensitive fragment match, and avoids the duplicate
identifier warning since badges legitimately repeat across pages.
Assisted-by: ClaudeCode:claude-opus-4.8
---------
Assisted-by: ClaudeCode:claude-opus-4.8
Assisted-by: CopilotCLI:claude-hauku-4.5
Assisted-by: CopilotCLI:GPT-5.4-mini
Assisted-by: copilot-cli:claude-sonnet-4.6
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent cc6c89c commit d8a8d57
62 files changed
Lines changed: 1470 additions & 2148 deletions
File tree
- .github/workflows
- docs
- _includes
- _partials
- _plugins
- _sass
- color_schemes
- custom
- assets
- css
- js
- config
- pages
- guides
- patterns
- principles
- tutorials
- helpers
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| 39 | + | |
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
| |||
50 | 56 | | |
51 | 57 | | |
52 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
53 | 65 | | |
54 | 66 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | 151 | | |
153 | 152 | | |
154 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
| |||
92 | 97 | | |
93 | 98 | | |
94 | 99 | | |
95 | | - | |
| 100 | + | |
96 | 101 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | | - | |
9 | 7 | | |
10 | 8 | | |
11 | | - | |
12 | 9 | | |
13 | | - | |
14 | | - | |
| 10 | + | |
15 | 11 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
This file was deleted.
0 commit comments