posit-dev / posit-dev/open-source-website

Clicking on TOC headings does not append `#` to URL

Open Beginner friendly
#187 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
55
Forks
24
Avg merge
1d 21h
Merged PRs (30d)
17

Description

Clicking on a header in the TOC navigates to the right section, but doesn't append the id to the URL. This makes it hard to share the "navigated to" link without additionally clicking on the anchor next to the header in the body.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue on a page with a table of contents and inspect how TOC headings navigate to their sections. Done means clicking a TOC heading both moves to the correct section and appends that section's id as a URL fragment, so the resulting link can be shared.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.