Skip to content

Migrate docs to Zensical#434

Draft
leonlan wants to merge 9 commits into
mainfrom
zensical-migration-spike
Draft

Migrate docs to Zensical#434
leonlan wants to merge 9 commits into
mainfrom
zensical-migration-spike

Conversation

@leonlan

@leonlan leonlan commented May 31, 2026

Copy link
Copy Markdown
Member

Summary

  • Replace the Sphinx/nbsphinx documentation stack with Zensical, mkdocstrings, and nbconvert.
  • Convert prose and API documentation from reST to Markdown.
  • Execute repository example notebooks into generated Markdown before building docs.
  • Update ReadTheDocs to build Zensical output and copy it into the RTD HTML output directory.
  • Convert source docstring markup that mkdocstrings renders from Sphinx/reST to Markdown/math syntax.

Impact

This keeps the executed-notebook guarantee from the old nbsphinx setup while moving static rendering and API generation to the Zensical/MkDocs ecosystem.

Validation

  • cd docs && uv run make clean && uv run make html
  • cd docs && uv run zensical build --strict --clean
  • uv run ruff check docs/build_examples.py pyjobshop/ProblemData.py pyjobshop/Solution.py
  • uv run pytest tests/ -q -k "objective or ProblemData" --solvers ortools (163 passed, 1 skipped, 67 deselected)

Note: the same pytest selector without --solvers ortools fails locally because CP Optimizer/docplex is not installed.

@codecov

codecov Bot commented May 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
pyjobshop/ProblemData.py 98.82% <ø> (ø)
pyjobshop/Result.py 100.00% <100.00%> (ø)
pyjobshop/Solution.py 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@leonlan leonlan changed the title [codex] Migrate docs to Zensical Migrate docs to Zensical May 31, 2026
@leonlan leonlan marked this pull request as ready for review May 31, 2026 08:39
@leonlan leonlan marked this pull request as draft May 31, 2026 08:39
leonlan added 7 commits May 31, 2026 10:41
- Move build_examples.py to scripts/ and anchor paths to repo root
- Drop dead .doc-* CSS overrides, keep the API overview card grid
- Remove redundant matplotlib and unused ruff docs deps; dedupe jupyter via include-group
- Restore full Gantt chart figure alt text
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