pinnwand
pinnwand copied to clipboard
Version numbers on documentation are wrong
The version number is not correctly determined by sphinx in a build, see https://pinnwand.readthedocs.io/en/v1.2.1/
[For a record of what i suggested on irc]
You can parse pyproject.toml in conf.py by including a requirements file next to conf.py with toml, import toml in conf.py, and just read the value. ...Or play games with regex, which is always fun. The takeaway though is that conf.py is python, read the docs runs it, and read the docs supports building in a virtualenv.