Holzhaus / sphinx-multiversion

Sphinx extension for building self-hosted versioned docs.
https://holzhaus.github.io/sphinx-multiversion/
BSD 2-Clause "Simplified" License
148 stars 65 forks source link

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

Open pdurbin opened 3 years ago

pdurbin commented 3 years ago

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!