Skip to content

BUG: “Check API Reference” button always redirects to the same endpoint #314

Open

Description

@callmegautam

Describe the bug

The “Check API Reference” button in the API docs always redirects to the same page, regardless of where I currently am.

Current behavior:
No matter which section of the documentation I’m viewing, clicking “Check API Reference” always sends me to:

https://freeapi.hashnode.space/api-guide/apireference/getARandomUser

This makes the button effectively useless because it doesn’t take me to a general API reference or to the correct section.

To Reproduce

  1. Open any API documentation page (not just “getARandomUser”).
  2. Click “Check API Reference” in the top-right.
  3. Observe that it always redirects to the same URL shown above.

Expected behavior

The button should either:

  • open the main API reference index, or
  • open the relevant API reference for the current section.

Right now it feels like the link is hardcoded to a single endpoint.

Screenshots

Image

OS

Window

OS Version

11

Client

Chrome

Additional context or Information

No response

Activity

  1. dhwanit10 commented on Dec 9, 2025

    @dhwanit10

    i think the "Check API Reference" button is irrelevent in the api docs, it is only for home page or landing page. I can Fix the issue by removing the btn in api docs pages

  2. callmegautam commented on Dec 11, 2025

    @callmegautam
    Author

    ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions