File tree 1 file changed +2
-13
lines changed
1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change 1
- from pathlib import Path
2
-
3
-
4
1
extensions = ['sphinx.ext.autodoc' , 'jaraco.packaging.sphinx' , 'rst.linker' ]
5
2
6
3
master_doc = "index"
149
146
150
147
# Add support for the unreleased "next-version" change notes
151
148
extensions += ['sphinxcontrib.towncrier' ]
152
-
153
-
154
- # -- Options for towncrier_draft extension --------------------------------------------
155
-
156
- PROJECT_ROOT_DIR = Path (__file__ ).parents [1 ].resolve ()
157
-
158
- towncrier_draft_autoversion_mode = "draft" # or: 'sphinx-release', 'sphinx-version'
159
- towncrier_draft_include_empty = True
160
- towncrier_draft_working_directory = PROJECT_ROOT_DIR
161
- # Not yet supported: towncrier_draft_config_path = 'pyproject.toml' # relative to cwd
149
+ # Extension needs a path from here to the towncrier config.
150
+ towncrier_draft_working_directory = '..'
You can’t perform that action at this time.
0 commit comments