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 = r'^tags/.*$'` does not work with tag "2.0" #84

Closed ducminhgd closed 2 years ago

ducminhgd commented 2 years ago

smv_released_pattern = r'^tags/.*$' does not work with tag like 2.0

{
    "2.0": {
    "name": "2.0",
    "version": "",
    "release": "",
    "is_released": false,
    "source": "tags",
    "creatordate": "2021-12-27 04:14:55 +0000",
    "basedir": "/tmp/tmpcs03xejr/4b135877bb1966e13d50e3a14e70722e921883ff",
    "sourcedir": "/tmp/tmpcs03xejr/4b135877bb1966e13d50e3a14e70722e921883ff/tdd/source",
    "outputdir": "/home/minhgdd/sphinx-example/tdd/build/2.0",
    "confdir": "/tmp/tmpcs03xejr/4b135877bb1966e13d50e3a14e70722e921883ff/tdd/source",
    "docnames": [
    ]
  }
}

is_released is still false

ducminhgd commented 2 years ago

Found solution in #66