diff options
author | Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> | 2022-04-08 13:59:09 +0200 |
---|---|---|
committer | Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> | 2022-04-08 13:32:58 +0000 |
commit | 8973104f1f758d47f7b9cec2609327878dcf7dde (patch) | |
tree | 6194c3ec85e19fef7ae5a25602bf0a942a736c51 | |
parent | 6cbdefd9fbbbd1343998d449cc12ae4b5961af9c (diff) |
Doc: Enable sphinx_copybutton extension for PySide too
In addition, do not disable the copy_empty_lines config
in the Shiboken project.
Change-Id: I453c3df05d820052bc187d28a60d4e870b2c62f4
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
-rw-r--r-- | sources/pyside6/doc/conf.py.in | 4 | ||||
-rw-r--r-- | sources/shiboken6/doc/conf.py.in | 3 |
2 files changed, 1 insertions, 6 deletions
diff --git a/sources/pyside6/doc/conf.py.in b/sources/pyside6/doc/conf.py.in index f9ceaf86f..52049cf77 100644 --- a/sources/pyside6/doc/conf.py.in +++ b/sources/pyside6/doc/conf.py.in @@ -32,8 +32,7 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.ifconfig', 'sphinx.ext.coverage', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.graphviz', 'inheritance_diagram', 'pysideinclude', 'sphinx.ext.viewcode', - 'sphinx_panels', - ] + 'sphinx_panels', 'sphinx_copybutton'] output_format='@DOC_OUTPUT_FORMAT@' @@ -213,4 +212,3 @@ if @SKIP_SPHINX_WARNINGS@: # -- Options for qthelp output --------------------------------------------------- qthelp_theme = 'pysidedocs_qthelp' - diff --git a/sources/shiboken6/doc/conf.py.in b/sources/shiboken6/doc/conf.py.in index 38d551b0f..f47be598a 100644 --- a/sources/shiboken6/doc/conf.py.in +++ b/sources/shiboken6/doc/conf.py.in @@ -184,6 +184,3 @@ html_show_sourcelink = False # -- Options for qthelp output -------------------------------------------------- qthelp_theme = 'pysidedocs_qthelp' - -# copybutton config -copybutton_copy_empty_lines = False |