Skip to content

Commit 2169089

Browse files
committed
Fix docs warning: duplicate label rabbitmq
Since the file `service/rabbitmq.rst` is included by `service/index.rst` then it should be excluded from the top-level. Reference: https://sphinx-themed.readthedocs.io/en/latest/usage/configuration.html#confval-exclude_patterns
1 parent 5bc5217 commit 2169089

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@
7575

7676
# List of patterns, relative to source directory, that match files and
7777
# directories to ignore when looking for source files.
78-
exclude_patterns = ["setup/amqp.rst", "setup/install.rst"]
78+
exclude_patterns = ["setup/amqp.rst", "setup/install.rst",
79+
"service/rabbitmq.rst"]
7980

8081
# The reST default role (used for this markup: `text`) to use for all documents.
8182
#default_role = None

0 commit comments

Comments
 (0)