docs: strip .editable
suffix from version.
This shows up in CI builds as well, since those use `pip install -e`.
This commit is contained in:
parent
c00e770f01
commit
e356ee2cac
|
@ -4,7 +4,7 @@ sys.path.insert(0, os.path.abspath("."))
|
||||||
import amaranth
|
import amaranth
|
||||||
|
|
||||||
project = "Amaranth HDL toolchain"
|
project = "Amaranth HDL toolchain"
|
||||||
version = amaranth.__version__
|
version = amaranth.__version__.replace(".editable", "")
|
||||||
release = version.split("+")[0]
|
release = version.split("+")[0]
|
||||||
copyright = "2020—2023, Amaranth HDL developers"
|
copyright = "2020—2023, Amaranth HDL developers"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue