-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Labels
type:proposala feature suggestiona feature suggestion
Description
I'd like to get the version and release for a sphinx project without a full build.
My quick one-off solution is
cd docs && python -c "import conf; print(conf.version); print(conf.release)"
Of course this has a number of implicit assumptions.
Questions:
- Is there a better out-of-the-box way of doing this?
- Would it be reasonable to implement a
sphinx configcommand in the context of Providesphinxcommand and integrate sphinx commands #5618? Then one could dosphinx config release- somewhat in analogy togit config user.name, but limited to read-only and for a start only for a predefined set of values.
Metadata
Metadata
Assignees
Labels
type:proposala feature suggestiona feature suggestion