Skip to content

Commit

Permalink
Remove seemingly unneeded settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed May 9, 2021
1 parent baf4e6c commit fef727f
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
from pathlib import Path


extensions = ['sphinx.ext.autodoc', 'jaraco.packaging.sphinx', 'rst.linker']

master_doc = "index"
Expand Down Expand Up @@ -149,13 +146,5 @@

# Add support for the unreleased "next-version" change notes
extensions += ['sphinxcontrib.towncrier']


# -- Options for towncrier_draft extension --------------------------------------------

PROJECT_ROOT_DIR = Path(__file__).parents[1].resolve()

towncrier_draft_autoversion_mode = "draft" # or: 'sphinx-release', 'sphinx-version'
towncrier_draft_include_empty = True
towncrier_draft_working_directory = PROJECT_ROOT_DIR
# Not yet supported: towncrier_draft_config_path = 'pyproject.toml' # relative to cwd
# Extension needs a path from here to the towncrier config.
towncrier_draft_working_directory = '..'

0 comments on commit fef727f

Please sign in to comment.