Skip to content

Commit 8eb822d

Browse files
committed
Make Sphinx usage example clearer
1 parent c39489f commit 8eb822d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ except PackageNotFoundError:
122122

123123
``` {.python file=docs/.entangled/sphinx_conf.py}
124124
from importlib.metadata import version as get_version
125-
release: str = get_version('setuptools_scm')
125+
release: str = get_version("package-name")
126126
# for example take major/minor
127127
version: str = ".".join(release.split('.')[:2])
128128
```

0 commit comments

Comments
 (0)