bazel-contrib / bazel-contrib/bazel-docs

Incorrect anchors on some TOC

Open
#450 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
7
Forks
12
Avg merge
20h 49m
Merged PRs (30d)
31

Description

On this page:

https://preview.bazel.build/reference/be/common-definitions

clicking the first TOC entry:

Image

goes nowhere with the url

```
https://preview.bazel.build/reference/be/common-definitions#sh-tokenization
```

clicking it on the rhs navigation:

Image

correctly links to the right url:

```
https://preview.bazel.build/reference/be/common-definitions#bourne-shell-tokenization
```

somehow on the existing docs this works https://bazel.build/reference/be/common-definitions#sh-tokenization, i guess we should probably just fix the source, but maybe we can also validate missing anchors?

Contributor guide

Open the contributing guide

Research direction

Start from the preview page at reference/be/common-definitions and compare the TOC link for “sh-tokenization” with the working RHS navigation link for “bourne-shell-tokenization.” Locate the source that generates this page and determine why the anchors differ; done means the TOC link reaches the intended section, with missing-anchor validation handled only if the existing source supports it.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.