Skip to content

Commit eb283b6

Browse files
committed
Fix changelog
1 parent 9eed6dd commit eb283b6

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

docs/substitutions/env.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ Options
1717
You can pass 2 positional options to this substitution:
1818

1919
- Env variable name (case sensitive)
20-
- Default value if env variable is not set (optional)
20+
- Default value (optional)
2121

22-
- no default value meaus that variable will be replaced with literal ``"UNKNOWN"``
22+
Used if environment variable is not set.
23+
24+
- no value or empty string means that variable will be replaced with string value ``UNKNOWN``
2325
- ``some value`` - any plain text
2426
- ``{ccount}`` - any other substitution is supported
25-
- ``{env:MISSINGVAR:{ccount}}`` - nested too
26-
- ``IGNORE`` - same as empty string
27+
- ``{env:MISSINGVAR:{ccount}}`` - nested substitutions are allowed too
28+
- ``IGNORE`` - return empty string

requirements-doc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
changelog
12
furo
2-
git+https://github.com/dolfinus/changelog.git@custom_section_classes
33
numpydoc
44
sphinx
55
sphinx-autodoc-typehints

0 commit comments

Comments
 (0)