2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-01 14:35:29 +00:00

fixed duplicate label warning by excluding files being included

This commit is contained in:
Michal Nowikowski
2019-07-19 09:41:56 +02:00
parent bc53a642b5
commit 1987b6d5cd
2 changed files with 13 additions and 4 deletions

View 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