Skip to content

"Version" based on the highest (version) tag #10785

Open
@buhtz

Description

What's the problem this feature will solve?

Using RTD with a repository following the OneFlow branching model where there is only one branch. The latest commit in that branch reflects the latest development state (possible unstable) and the highest v* tag is the latest stable version.

Describe the solution you'd like

The "stable" version on RTD should not follow a specific branch or a specific tag. But it should look for the highest tag based on a pattern like v*.
For example you can get the highest tag (without a pattern ) on bash via git with git -C $REP_URL describe --tag --abbrev=0

Additional context

Keep in mind this is useful for repos having only one branch but having the need of the two (usual) docu version stable and latest/unstable.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions