summaryrefslogtreecommitdiffstats
path: root/doc/sphinx/conf.py
diff options
context:
space:
mode:
authorMichal Nowikowski <godfryd@isc.org>2019-07-19 09:41:56 +0200
committerMichal Nowikowski <godfryd@isc.org>2019-07-30 10:45:13 +0200
commit1987b6d5cd353f3abfdd7018350aad59af81a04c (patch)
tree939a0f2ffda73c13eba5510fbc5af7ca6fc87951 /doc/sphinx/conf.py
parentfixed warning (diff)
downloadkea-1987b6d5cd353f3abfdd7018350aad59af81a04c.tar.xz
kea-1987b6d5cd353f3abfdd7018350aad59af81a04c.zip
fixed duplicate label warning by excluding files being included
Diffstat (limited to 'doc/sphinx/conf.py')
-rw-r--r--doc/sphinx/conf.py16
1 files changed, 12 insertions, 4 deletions
diff --git a/doc/sphinx/conf.py b/doc/sphinx/conf.py
index e0f36928ee..852a54e16c 100644
--- a/doc/sphinx/conf.py
+++ b/doc/sphinx/conf.py
@@ -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