Skip to content

Configurable next links #96

Open
Open
@jroper

Description

@jroper

Paradox currently supports the ability to render next links, which I presume is calculated from the structure extracted from the index containers.

We have a new requirement on Lagom to be able to control the next links, for example, we support both Maven and sbt for building, and we want the next link after the page that describes the prerequisites to actually be two links, one to the Maven page, one to the sbt page, and then, if Maven comes first in the index, it's next page should not be the sbt page, but the page after that.

There's a few ways this could be provided, we could create a new directive, eg @navref, that allows specifying this:

@navref:[Prerequisites](prerequisites.md) { next=sbt.md,maven.md }

Alternatively we could perhaps hijack the title text, allowing the inclusion of metadata in there, eg:

[Prerequisites](prerequisites.md ";next=sbt.md,maven.md")

In that case, the end of the title text is delineated by ;.

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