Skip to content

Docs display incorrect next steps link on some pages #113

@techne98

Description

@techne98

Is this a bug, or an enhancement, or a suggestion for a new doc section?

Enhancement

Describe the issue in detail. More details will help address the issue better.

Some pages, such as Introduction to Bittensor and Staking/delegation overview display the incorrect links to the next page. They instead link back to themselves. Example:

Image

This seems to be to do with the way sidebar.js works. For example, setting:

link: { type: "doc", id: "learn/introduction" },

Makes the header clickable, but then the pagination thinks this is the next page when included in the list of items:

"learn/introduction",

Solutions

I'm not sure what the desired behaviour is here - having the header stay clickable, or remove the clickable header and have the pagination work like some of the other sections.

I'll submit a draft PR, and let me know what you think is best.

Thanks,

Jack

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions