sphinx-contrib/multiversion

Having a "latest" branch instead of "master" or "main"

Opened this issue · 0 comments

When I had docs in a dedicated repo, I could name the branches whatever I want. In keeping with Read The Docs conventions, I used "latest" as the default branch. This worked great.

Now I'm moving the docs to an existing repo and I can't dictate that the default branch be called "latest". They use "main" as the default branch.

Is there as way I can tell sphinx-multiversion that even though the branch is called "main" it should be treated as if it's called "latest"?

Or any other creative solutions? Thanks!