Docs: Fix broken internal anchor links#16893
Draft
thswlsqls wants to merge 1 commit into
Draft
Conversation
Several internal doc links pointed to anchors that do not exist on the target pages, so clicking them loaded the page but did not jump to the section. - branching.md, index.md: spark-procedures/spark-queries anchors did not match the actual header slugs (#expire_snapshots, time-travel section). - nessie.md: flink.md Python API anchor did not exist. - flink-ddl.md, flink-writes.md: dropped the stray slash in ".md/#anchor" links so they match every other cross-page link. Sibling links already use the correct slugs (e.g. spark-structured-streaming.md links #expire_snapshots). Generated-by: Claude Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Several internal doc links pointed to anchors that do not exist on the target page, so clicking them loaded the page but did not scroll to the section.
branching.md:spark-procedures.md#expire-snapshots→#expire_snapshots(header### \expire_snapshots`` keeps the underscore).branching.md,index.md:spark-queries.md#time-travelhad no such anchor →#time-travel-queries-with-sql(section### Time travel Queries with SQL).nessie.md:flink.md#preparation-when-using-flinks-python-apidid not exist →#flinks-python-api(section## Flink's Python API).flink-ddl.md,flink-writes.md: dropped a stray slash in*.md/#anchorlinks to match every other cross-page link.Sibling links already use the correct slugs (e.g.
spark-structured-streaming.mdlinksspark-procedures.md#expire_snapshots), confirming these are typos.Testing done
slugify, so the default toc slugify keeps underscores and turns spaces into hyphens.AI Disclosure