Skip to content

Single page flavor #47

@rquinio

Description

@rquinio

It would be nice if there was a "single page" flavor of each project documentation (i.e https://smallrye.io/docs/smallrye-config/single.html, https://smallrye.io/docs/smallrye-metrics/3.0.0/single.html, ...) to:

  • search for something when not knowing which section it relates to (it's possible to use an external search engine, but not very convenient) - happened to me today !
  • navigate between sections easily, without opening multiple browsers tabs

Implementation ideas

It could potentially be achieved with single.adoc pages, equivalent to the existing root nav.adoc pages, but where xref:section.adoc are replaced by include::section.adoc[leveloffset=+1] and inclusion of index.adoc
The trick is that such page needs to be navigated via the contents panel that uses anchors (on the right), which would have to replace the multi-page nav (on the left) when on that specific single.html page... I don't know if that's possible via Antora templates.

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