Commit b4f0ae6 1 parent 27c5534 commit b4f0ae6 Copy full SHA for b4f0ae6
File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python3
2
2
# -*- coding: utf-8 -*-
3
3
4
- extensions = ['sphinx.ext.autodoc' , 'jaraco.packaging.sphinx' , 'rst.linker' ]
4
+ extensions = [
5
+ 'sphinx.ext.autodoc' ,
6
+ 'jaraco.packaging.sphinx' ,
7
+ ]
5
8
6
9
master_doc = "index"
7
10
11
+ # Link dates and other references in the changelog
12
+ extensions += ['rst.linker' ]
8
13
link_files = {
9
14
'../CHANGES.rst' : dict (
10
15
using = dict (GH = 'https://github.com' ),
25
30
)
26
31
}
27
32
28
- # Be strict about any broken references:
33
+ # Be strict about any broken references
29
34
nitpicky = True
30
35
31
36
# Include Python intersphinx mapping to prevent failures
34
39
intersphinx_mapping = {
35
40
'python' : ('https://docs.python.org/3' , None ),
36
41
}
42
+
43
+ # Preserve authored syntax for defaults
44
+ autodoc_preserve_defaults = True
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ testing =
46
46
47
47
docs =
48
48
# upstream
49
- sphinx
49
+ sphinx >= 3.5
50
50
jaraco.packaging >= 9
51
51
rst.linker >= 1.9
52
52
You can’t perform that action at this time.
0 commit comments