Skip to content

docs: migrate from Jupyter Book to Docusaurus#57

Merged
chrislupp merged 4 commits into
developfrom
feature/docs_refresh
Apr 8, 2026
Merged

docs: migrate from Jupyter Book to Docusaurus#57
chrislupp merged 4 commits into
developfrom
feature/docs_refresh

Conversation

@chrislupp
Copy link
Copy Markdown
Collaborator

Summary

  • Port the existing Jupyter Book documentation to a Docusaurus site under docs/, mirroring the layout, theming, and configuration used by Delphi (dark-mode default, KaTeX math, custom hero with an animated client/server SVG and Python paraboloid snippet).
  • Replace the old peaceiris/actions-gh-pages jupyter-book deploy job with the GitHub Pages artifact pipeline (actions/configure-pages + upload-pages-artifact + deploy-pages), triggered on develop for docs/**.
  • Add .github/workflows/release.yaml mirroring Delphi's release workflow: PR-label-driven version bumps, signed commits, pyproject.toml version update, CHANGELOG.md rewrite, docusaurus docs:version snapshot for stable releases, GitHub Release creation, and auto-merge main back to develop.
  • Reformat CHANGELOG.md to Keep-a-Changelog so the release workflow's sed/awk drives the [Unreleased] rewrite and comparison links.

Test plan

  • cd docs && npm ci && npm run build succeeds locally (verified during development).
  • After merge, the Deploy Docs workflow runs on develop and publishes to GitHub Pages.
  • Confirm GitHub Pages source is set to "GitHub Actions" in repo settings.
  • Add a RELEASE_TOKEN repo secret (PAT with repo + workflow scope) before the first release PR.
  • Create the PR labels used by release.yaml: release, prerelease, major, minor, patch, alpha, beta, rc.
  • Decide when to delete the legacy doc/ Jupyter Book directory (left in place by this PR).

Notes

  • The first stable release PR merged to main will produce versioned_docs/version-<X.Y.Z>/, versioned_sidebars/, versions.json, and flip lastVersion automatically — no manual snapshot is committed in this PR.
  • docusaurus.config.ts and the release workflow currently reference chrislupp/Philote-Python; the actual remote is MDO-Standards/Philote-Python. Update the org/URL fields if you want the edit links and release workflow URLs to point at the canonical repo.

Port the existing documentation from Jupyter Book to a Docusaurus site
under docs/, mirroring the layout and theming used by Delphi. Replace the
gh-pages-based deploy job with the GitHub Pages artifact pipeline, and
add a release workflow that handles version bumps, changelog updates,
and Docusaurus version snapshots on labeled PRs into main.

CHANGELOG is reformatted to Keep-a-Changelog so the release workflow's
sed/awk drives the [Unreleased] header rewrite and comparison links.
Update Docusaurus config (url, organizationName, edit/footer links),
release workflow REPO variable, and CHANGELOG comparison links to use
the canonical MDO-Standards org instead of chrislupp.

Also expand the Unreleased CHANGELOG entry with the docs migration,
deploy workflow swap, and release workflow additions.
The Sellar example set input defaults on the inner `cycle` subgroup,
but `obj_cmp` promoted `x` and `z` to the top level with different
defaults; newer OpenMDAO releases reject this during `final_setup`.
Move the defaults to the top-level `SellarMDA` group so the promoted
values agree.

Also update `test_implicit_discipline_apply_linear_not_implemented`
to pass the current six-argument signature; the stale three-argument
call was raising `TypeError` before the `NotImplementedError`
assertion could fire.
@chrislupp chrislupp self-assigned this Apr 8, 2026
@chrislupp chrislupp added bug Something isn't working documentation Improvements or additions to documentation labels Apr 8, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@chrislupp chrislupp added this to the Version 0.8.0 milestone Apr 8, 2026
@chrislupp chrislupp merged commit f041801 into develop Apr 8, 2026
8 checks passed
@chrislupp chrislupp deleted the feature/docs_refresh branch April 8, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant