Skip to content

Have a way of linking to the current version of a documentation page in the topnav bar #308

Open

Description

@Cadair

This was originally brought up here: astropy/astropy-sphinx-theme#48 (comment)

Currently we have the following situation:

  • Navigate to docs.sunpy.org/en/latest
  • Go to the Documentation > sunpy option in the top navbar
  • You are now at docs.sunpy.org/en/stable

It must be possible to have the sunpy docs sphinx build know what the root of the current documentation page is and have it substitute the link in the navbar, I just don't know how.

Activity

  1. pllim commented on Jan 26, 2026

    @pllim
    Contributor

    Would putting a "(stable)" on the menu items bring clarity? Like

    • astropy (stable)

    Or maybe top menu

    • Documentation (stable)
  2. Cadair commented on Jan 26, 2026

    @Cadair
    SponsorMemberAuthor

    We could do that in the astropy theme if we wanted

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions