File tree 3 files changed +19
-0
lines changed
3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change
1
+ from pathlib import Path
2
+
3
+
1
4
extensions = ['sphinx.ext.autodoc' , 'jaraco.packaging.sphinx' , 'rst.linker' ]
2
5
3
6
master_doc = "index"
143
146
'python' : ('https://docs.python.org/3' , None ),
144
147
'python2' : ('https://docs.python.org/2' , None ),
145
148
}
149
+
150
+ # Add support for the unreleased "next-version" change notes
151
+ 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
Original file line number Diff line number Diff line change 5
5
History
6
6
*******
7
7
8
+ .. towncrier-draft-entries :: DRAFT, unreleased as on |today|
9
+
8
10
.. include :: ../CHANGES (links).rst
9
11
10
12
Credits
Original file line number Diff line number Diff line change 75
75
# local
76
76
pygments-github-lexers ==0.0.5
77
77
sphinx-inline-tabs
78
+ sphinxcontrib-towncrier
78
79
79
80
ssl =
80
81
wincertstore ==0.2; sys_platform=='win32'
You can’t perform that action at this time.
0 commit comments