]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
fixed duplicate label warning by excluding files being included
authorMichal Nowikowski <godfryd@isc.org>
Fri, 19 Jul 2019 07:41:56 +0000 (09:41 +0200)
committerMichal Nowikowski <godfryd@isc.org>
Tue, 30 Jul 2019 08:45:13 +0000 (10:45 +0200)
doc/sphinx/Makefile.am
doc/sphinx/conf.py

index c9f2ed06f92fd2808de40e24e1054f960f6c4830..113b52abba9f9527da95f028fbd0b3cd8217ff5d 100644 (file)
@@ -8,6 +8,7 @@ sphinxopts=
 sphinxopts+=-v
 sphinxopts+=-E
 sphinxopts+=-a
+sphinxopts+=-W
 sphinxopts+=-j auto
 sphinxopts+=-c "${abs_srcdir}"
 
index e0f36928eea3cca56e07beebe661b20a7c4c685b..852a54e16c7aff3d700cdf010c4c7164d8b002d3 100644 (file)
@@ -32,9 +32,6 @@ with open(config_ac_path) as f:
             parts = line.split(',')
             release = parts[1]
 version = release
-print("=" * 30)
-print(release)
-print("=" * 30)
 
 # -- General configuration ---------------------------------------------------
 
@@ -71,7 +68,18 @@ language = None
 # List of patterns, relative to source directory, that match files and
 # directories to ignore when looking for source files.
 # This pattern also affects html_static_path and html_extra_path.
-exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
+exclude_patterns = [
+    '_build', 'Thumbs.db', '.DS_Store',
+    # included files need to be excluded to avoid duplicate labels
+    'arm/hooks-class-cmds.rst',
+    'arm/hooks-cb-cmds.rst',
+    'arm/hooks-ha.rst',
+    'arm/hooks-host-cache.rst',
+    'arm/hooks-lease-cmds.rst',
+    'arm/hooks-radius.rst',
+    'arm/hooks-stat-cmds.rst',
+    'arm/hammer.rst',
+]
 
 # The name of the Pygments (syntax highlighting) style to use.
 pygments_style = None