Skip to content

Conversation

@roberth
Copy link
Member

@roberth roberth commented Dec 2, 2025

This backport includes:

  • Remove mdbook-linkcheck dependency and configuration (was blocking upgrades to mdbook 0.5.0+)
  • Update substitute.py and anchors.jq to handle 'items' (mdbook 0.5.x) in addition to 'sections' (mdbook 0.4.x)

Note: The second commit from the original PR (lowdown override fix) was not applicable to 2.30 as that code doesn't exist in this branch.

Fixes NixOS#14628

- Remove mdbook-linkcheck dependency and configuration (was blocking
  upgrades to mdbook 0.5.0+, configured with warning-policy = "ignore"
  due to false positives, and redundant with lychee-based link checking)
- Update substitute.py and anchors.jq to handle 'items' (mdbook 0.5.x)
  in addition to 'sections' (mdbook 0.4.x), as per mdbook 0.5.0
  changelog: "Book::sections was renamed to Book::items"
  https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#05-migration-guide
@roberth roberth requested a review from edolstra as a code owner December 2, 2025 19:11
@roberth roberth added backport 2.28-maintenance Automatically creates a PR against the branch backport 2.29-maintenance Automatically creates a PR against the branch labels Dec 2, 2025
@edolstra edolstra merged commit 5cbd785 into NixOS:2.30-maintenance Dec 3, 2025
13 checks passed
This was referenced Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.28-maintenance Automatically creates a PR against the branch backport 2.29-maintenance Automatically creates a PR against the branch documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants