Skip to content

Commit fef727f

Browse files
committed
Remove seemingly unneeded settings.
1 parent baf4e6c commit fef727f

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

docs/conf.py

+2-13
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
from pathlib import Path
2-
3-
41
extensions = ['sphinx.ext.autodoc', 'jaraco.packaging.sphinx', 'rst.linker']
52

63
master_doc = "index"
@@ -149,13 +146,5 @@
149146

150147
# Add support for the unreleased "next-version" change notes
151148
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 = '..'

0 commit comments

Comments
 (0)