summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny Pfannschmidt <opensource@ronnypfannschmidt.de>2018-04-12 08:33:40 +0200
committerGitHub <noreply@github.com>2018-04-12 08:33:40 +0200
commit4c66f1581edf92382b89b0c8e7cb85e655624c38 (patch)
tree12c47da5bb5e2dada2171c1cd2faea1cfbd6ef55
parentb93a511c70c48668d9178eeb00fa9f575003a8bd (diff)
downloadsetuptools-scm-RonnyPfannschmidt-patch-1.tar.gz
enhance documentation for sphinx usageRonnyPfannschmidt-patch-1
follow-up to #221
-rw-r--r--README.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 91c02b1..3cb7d74 100644
--- a/README.rst
+++ b/README.rst
@@ -80,6 +80,7 @@ instead use ``pkg_resources`` after editable/real installation:
.. code:: python
+ # contents of docs/conf.py
from pkg_resources import get_distribution
release = get_distribution('myproject').version
# for example take major/minor