File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
22# -*- coding: utf-8 -*-
33
4- extensions = ['sphinx.ext.autodoc' , 'jaraco.packaging.sphinx' , 'rst.linker' ]
4+ extensions = [
5+ 'sphinx.ext.autodoc' ,
6+ 'jaraco.packaging.sphinx' ,
7+ ]
58
69master_doc = "index"
710
11+ # Link dates and other references in the changelog
12+ extensions += ['rst.linker' ]
813link_files = {
914 '../CHANGES.rst' : dict (
1015 using = dict (GH = 'https://github.com' ),
2530 )
2631}
2732
28- # Be strict about any broken references:
33+ # Be strict about any broken references
2934nitpicky = True
3035
3136# Include Python intersphinx mapping to prevent failures
3439intersphinx_mapping = {
3540 'python' : ('https://docs.python.org/3' , None ),
3641}
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 =
4646
4747docs =
4848 # upstream
49- sphinx
49+ sphinx >= 3.5
5050 jaraco.packaging >= 9
5151 rst.linker >= 1.9
5252
You can’t perform that action at this time.
0 commit comments