Skip to content

Build one ref (e.g. current version) to the top-level #134

@The-Ludwig

Description

@The-Ludwig

Problem Description

When building with sphinx-multiversion, each version is build into a subdirectory of the output flag.
I want to have one version (e.g. the current version / main branch) directly at the top level. This is currently not possible via the smv_outpudir format string.

Proposed Solution

My fork solved this by adding a new sphinx variable smv_toplevelref and if it is given,
then the outputdir of the ref with the same name will be manually set to an empty string.

I am happy to merge my fork and write additional documentation for the features, if this is wanted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:taskAn atomic feature / thing to be implemented

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions