Skip to content

fix(docs): correct broken anchor links in README and contributor guides - #5839

Open
maithili39 wants to merge 1 commit into
canonical:mainfrom
maithili39:fix/docs-broken-anchor-links
Open

maithili39 wants to merge 1 commit into
canonical:mainfrom
maithili39:fix/docs-broken-anchor-links

Conversation

@maithili39

Copy link
Copy Markdown

Four table-of-contents links in the repo's own documentation point at anchors that don't exist, so clicking them on GitHub silently does nothing.

  • README.md links to #including-vanilla-in-your-project-via-npm, but the heading is "Including Vanilla in your project via NPM or yarn", which slugifies to #including-vanilla-in-your-project-via-npm-or-yarn. I updated the link text to match the heading as well.
  • guides/release-process.md's own contents list links to #react-components; the heading "Releasing React Components" slugifies to #releasing-react-components.
  • CONTRIBUTING.md links to #deploy-vanillaframeworkio and #react-components in guides/release-process.md; those headings are #deploying-vanillaframeworkio and #releasing-react-components.

Docs only, no Sass or template changes. prettier -c passes on all three files.

Related but deliberately left out: guides/hacking.md's contents list links to #via-dotrun and #via-docker, but "Running the project" is a single section with no such subheadings. That needs a maintainer's call on whether to add the headings or drop the entries, and #5701 is already editing that file. Happy to follow up separately.

Four in-repo anchor links pointed at headings that don't exist, so they
silently do nothing when clicked on GitHub:

- README.md's table of contents linked to
  #including-vanilla-in-your-project-via-npm, but the heading is
  "Including Vanilla in your project via NPM or yarn". The link text is
  updated to match the heading as well.
- guides/release-process.md's own table of contents linked to
  #react-components instead of #releasing-react-components.
- CONTRIBUTING.md linked to #deploy-vanillaframeworkio and
  #react-components in guides/release-process.md, whose headings slugify
  to #deploying-vanillaframeworkio and #releasing-react-components.
@webteam-app

Copy link
Copy Markdown

maithili39 is not a collaborator of the repo

This branch has not been deployed

No deployments
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.

2 participants