Skip to content

CI: job to build docs from HEAD and compare to docs/book#636

Merged
elshize merged 2 commits into
pisa-engine:mainfrom
lgrz:doc-627
May 6, 2026
Merged

CI: job to build docs from HEAD and compare to docs/book#636
elshize merged 2 commits into
pisa-engine:mainfrom
lgrz:doc-627

Conversation

@lgrz

@lgrz lgrz commented May 6, 2026

Copy link
Copy Markdown
Collaborator

Fixes #627 -- Check docs generation in CI.

Changes proposed in this pull request:

  • Add docs job to commit.yml workflow which reuses the binaries built from the test_cli job
  • Build docs/book

lgrz added 2 commits May 6, 2026 19:33
Build docs during CI to test if changes exist in `docs/src` that are
missing from `docs/book`.

Notes:

- mdbook requires `PISA_BUILD_TOOLS=ON`: the docs job uses the build
  files from `test_cli` job

- recursive diff the docs from the current build and those already
  checked in to HEAD under `docs/book`

- pin mdbook v0.4.52 and cmdrun v0.7.3 so that HTML source changes do
  not affect the diff job; here pin means the versions are hardcoded in
  `.github/workflows/commit.yml` and `docs/README.md`
@elshize elshize merged commit e88b09f into pisa-engine:main May 6, 2026
7 of 8 checks passed
@elshize

elshize commented May 6, 2026

Copy link
Copy Markdown
Member

Thanks @lgrz!

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.

Check docs generation in CI

2 participants