bitprophet / releases

A powerful Sphinx changelog-generating extension.
http://releases.readthedocs.io/
BSD 2-Clause "Simplified" License
176 stars 41 forks source link

Report version number to Sphinx #60

Closed MinchinWeb closed 7 years ago

MinchinWeb commented 8 years ago

In particular, the version number will show up in the Sphinx log. So instead of:

# Sphinx version: 1.3
[...]
# Loaded extensions:
#   alabaster (0.7.9) from c:\tmp\releases-multiple\env\lib\site-packages\alabaster\__init__.py
#   releases (unknown version) from c:\tmp\releases-multiple\env\lib\site-packages\releases\__init__.py
[...]

you get:

# Sphinx version: 1.3
[...]
# Loaded extensions:
#   alabaster (0.7.9) from c:\tmp\releases-multiple\env\lib\site-packages\alabaster\__init__.py
#   releases (1.2.1) from c:\tmp\releases-multiple\env\lib\site-packages\releases\__init__.py
[...]
bitprophet commented 8 years ago

Thanks! Would you believe I've been working with Sphinx and sphinx extensions for years and had no idea this was a thing? 🙃

MinchinWeb commented 8 years ago

It makes you wonder what other little, but useful, features are hiding just under the surface...

bitprophet commented 7 years ago

Hilariously, now that I revisit this I see somebody must have introduced me to this Sphinx feature in passing beforehand, because...it's in Alabaster too... 🙃