From fd9433fbd31fc8f183460922d3b8f840500c29f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Fr=C3=B6hlich?= Date: Tue, 16 Apr 2024 14:21:22 +0200 Subject: [PATCH] Add rosdoc2 files to exclude patterns (#273) (cherry picked from commit d7a8e15c1451692514b8d7be76649ab4734f855e) --- conf.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/conf.py b/conf.py index 4b7f2c0069..9c70c65745 100644 --- a/conf.py +++ b/conf.py @@ -67,7 +67,11 @@ # 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", "**/CHANGELOG.rst", "**/README.rst"] +# exclude index.rst files for metapackages for rosdoc2 +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", + "**/CHANGELOG.rst", "**/README.rst", + "doc/ros2_control/ros2_control/**.rst", + "doc/ros2_controllers/ros2_controllers/**.rst"] # The name of the Pygments (syntax highlighting) style to use. pygments_style = "sphinx"