Skip to content

🐛 Navigation links in the API page are broken #889

Open
@CodeWithOz

Description

@CodeWithOz

Describe the bug
The links in the parse-server API page are broken. Clicking on them changes the page hash but doesn't scroll to the associated section.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the webpage
  2. Scroll down to the nav links below the sponsors
  3. Click on any of the links, none work.

Expected behavior
Clicking on the link should scroll to the associated section.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
One solution is to simply add the id attribute to all the headings so that the browser handles the scrolling without any additional config. For example for the "Using Environment Variables" link, the hash changes to #using-environment-variables, so the associated <h2> in the page should have id="using-environment-variables". This should be done for all the nav links.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bounty:$10Fix this issue and receive a bounty under the Parse Bounty Program.type:bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions