aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2019-10-24 15:03:03 +0200
committerVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2019-10-28 11:57:05 +0200
commit4f0bf044feeba04a9f552b3bf9a510ff8d0c8a9c (patch)
treeb25b279325351a6e5a00f3716675e7e1ec25b14f
parent7317f708fa00c328fb289d40630b6f517ddae98f (diff)
Doc: Use the exclude_patterns instead of exclude_trees
The extras directory should be ignored by sphinx, otherwise we'll have duplicate module pages. The exclude_trees sphinx config is deprecated since the v1.0 release. The alternative for it is the exclude_patterns. Change-Id: I2fa8a0c3d8080bc838397091dfad950a97aa697e Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
-rw-r--r--sources/pyside2/doc/conf.py.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside2/doc/conf.py.in b/sources/pyside2/doc/conf.py.in
index 33f408354..e197b1ac7 100644
--- a/sources/pyside2/doc/conf.py.in
+++ b/sources/pyside2/doc/conf.py.in
@@ -75,7 +75,7 @@ release = '@BINDING_API_VERSION_FULL@'
# List of directories, relative to source directory, that shouldn't be searched
# for source files.
-exclude_trees = ['_build', 'extras']
+exclude_patterns = ['_build', 'extras']
# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None