Skip to content

docs: build scylla-3.11.5.x and scylla-4.19.2.x with MyST - #1156

Merged
dkropachev merged 2 commits into
scylladb:scylla-4.xfrom
nikagra:docs-myst-top-branches
Sep 28, 2026
Merged

dkropachev merged 2 commits into
scylladb:scylla-4.xfrom
nikagra:docs-myst-top-branches

Conversation

@nikagra

@nikagra nikagra commented Sep 28, 2026

Copy link
Copy Markdown

Depends on: nothing
Blocks: nothing; fixes the live navigation of /stable/ and /scylla-3.11.5.x/ as soon as it publishes

scylla-3.11.5.x and scylla-4.19.2.x now only fast-forward from scylla-3.x and scylla-4.x, whose manuals use MyST {eval-rst} toctrees. This branch's conf.py still builds both with recommonmark, which renders every toctree as a code block, so both versions are live with no navigation. Every version is built with this branch's conf.py, so this is the one place to switch them.

  • rewrite relative links to directories and to README.md so they point at index.md (or index.rst for an rST target) before MyST parses a page; MyST resolves links against the staged tree, where every README.md is index.md
  • skip the rewrite for recommonmark versions, and leave the sources unchanged, so the links stay correct on GitHub
  • build scylla-3.11.5.x and scylla-4.19.2.x with MyST

Verified:

Not covered: links whose anchor misses its target (such as #Jackson against the jackson id). The recommonmark versions have the same 17, so they come from the sources.

Fixes #1132

🤖 Generated with Claude Code

nikagra and others added 2 commits September 28, 2026 15:39
MyST resolves links against the staged tree, where every README.md is
index.md, so `../configuration/` renders as a dead `#../configuration/`
fragment. Rewrite directory and README.md targets to index.md (index.rst
where the target is rST) before parsing. Recommonmark versions and the
sources are unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Both now only fast-forward from scylla-3.x and scylla-4.x, whose manuals
use `{eval-rst}` toctrees. Recommonmark renders those as code blocks, so
both versions publish with no navigation.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 55 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: QUIET

Plan: Advanced

Run ID: 70a5e87f-70d4-4836-9dd4-dba543790a6d

📥 Commits

Reviewing files that changed from the base of the PR and between 7f892fb and d84ca08.

📒 Files selected for processing (1)
  • docs/source/conf.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dkropachev
dkropachev merged commit 4b3dbf6 into scylladb:scylla-4.x Sep 28, 2026
6 checks passed
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.

docs: MyST renders every in-body relative link as a dead fragment

2 participants