diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-02-23 10:06:43 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-02-23 10:40:16 +0000 |
commit | 32a2eb95758f7beb13b54053bfa97c9bc973b9f0 (patch) | |
tree | 42676efa782c8d3a94e25abbf23c9a4361200b93 /sources | |
parent | e9b2f12b631ae443781f38aef3d33b706eba111d (diff) |
sphinx: Remove deprecated config keys
Remove
- html_add_permalinks: the key has been changed to str and has a default.
- html_use_smartypants: Replaced by smartquotes and defaults to true.
Fixes warnings:
WARNING: The config value `html_add_permalinks' has type `bool', defaults to `str'.
WARNING: html_use_smartypants option is deprecated. Smart quotes are on by default; if you want to disable them, use the smartquotes option.
Task-number: PYSIDE-363
Change-Id: I85092597a860f58cc012220edbf0c03749326432
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'sources')
-rw-r--r-- | sources/pyside2/doc/conf.py.in | 6 | ||||
-rw-r--r-- | sources/shiboken2/ApiExtractor/doc/conf.py.in | 2 | ||||
-rw-r--r-- | sources/shiboken2/doc/conf.py.in | 6 |
3 files changed, 0 insertions, 14 deletions
diff --git a/sources/pyside2/doc/conf.py.in b/sources/pyside2/doc/conf.py.in index 3fd1781b5..c0ae45fd3 100644 --- a/sources/pyside2/doc/conf.py.in +++ b/sources/pyside2/doc/conf.py.in @@ -132,10 +132,6 @@ html_theme_path = ['@CMAKE_CURRENT_SOURCE_DIR@/_themes'] # using the given strftime format. #html_last_updated_fmt = '%b %d, %Y' -# If true, SmartyPants will be used to convert quotes and dashes to -# typographically correct entities. -html_use_smartypants = True - # Custom sidebar templates, maps document names to template names. #html_sidebars = { '' : ''} @@ -155,8 +151,6 @@ html_split_index = False # If true, links to the reST sources are added to the pages. html_show_sourcelink = False -html_add_permalinks = True - # If true, an OpenSearch description file will be output, and all pages will # contain a <link> tag referring to it. The value of this option must be the # base URL from which the finished HTML is served. diff --git a/sources/shiboken2/ApiExtractor/doc/conf.py.in b/sources/shiboken2/ApiExtractor/doc/conf.py.in index 70750c899..3a42707ad 100644 --- a/sources/shiboken2/ApiExtractor/doc/conf.py.in +++ b/sources/shiboken2/ApiExtractor/doc/conf.py.in @@ -151,8 +151,6 @@ html_split_index = False # If true, links to the reST sources are added to the pages. html_show_sourcelink = False -html_add_permalinks = True; - # If true, an OpenSearch description file will be output, and all pages will # contain a <link> tag referring to it. The value of this option must be the # base URL from which the finished HTML is served. diff --git a/sources/shiboken2/doc/conf.py.in b/sources/shiboken2/doc/conf.py.in index ed61d2695..5dc7b868d 100644 --- a/sources/shiboken2/doc/conf.py.in +++ b/sources/shiboken2/doc/conf.py.in @@ -131,10 +131,6 @@ html_theme_path = ['@CMAKE_CURRENT_SOURCE_DIR@/_themes'] # using the given strftime format. #html_last_updated_fmt = '%b %d, %Y' -# If true, SmartyPants will be used to convert quotes and dashes to -# typographically correct entities. -html_use_smartypants = True - # Custom sidebar templates, maps document names to template names. #html_sidebars = { '' : ''} @@ -154,8 +150,6 @@ html_split_index = False # If true, links to the reST sources are added to the pages. html_show_sourcelink = False -html_add_permalinks = True - # If true, an OpenSearch description file will be output, and all pages will # contain a <link> tag referring to it. The value of this option must be the # base URL from which the finished HTML is served. |