We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5390e9 commit 1b4cddcCopy full SHA for 1b4cddc
README.rst
@@ -35,12 +35,13 @@ To use setuptools_scm just modify your project's setup.py file like this:
35
Programmatic usage
36
------------------
37
38
-In oder to use setuptools_scm for sphinx config
+In order to use setuptools_scm for sphinx config, assuming the sphinx conf
39
+is one directory deeper than the project's root, use::
40
41
.. code:: python
42
43
from setuptools_scm import get_version
- version = get_version()
44
+ version = get_version(root='..', relative_to=__file__)
45
46
47
Notable Plugins
0 commit comments