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

'smv_released_pattern' examples should start with 'refs/' #66

Open LewisGaul opened 3 years ago

LewisGaul commented 3 years ago

The example regex patterns for smv_released_pattern start with ^tags/, ^heads/ and ^remotes/, however this appears to be missing the required refs/ at the start. I was seeing everything failing to match until I made it ^refs/tags/.*$.

See https://holzhaus.github.io/sphinx-multiversion/master/configuration.html.

Thanks for the tool :)

tonywhittam commented 2 years ago

Thanks @LewisGaul. I was having this issue and confirm that it works exactly the way you said.