Skip to content

Commit 9d782b5

Browse files
fix mgmt docs generating sources for more than the targeted package (#34058)
1 parent bdcf39b commit 9d782b5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/sphinx/generate_doc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,7 @@ def generate_doc(config_path: str, output_directory: str = "./ref/", package_roo
132132
namespaces = [n for pack in config.values() for n in pack.get("namespaces", {})]
133133

134134
for namespace in namespaces:
135-
if project_pattern and not any(namespace.startswith(p) for p in project_pattern):
136-
_LOGGER.info("Skip project %s", namespace)
135+
if project_pattern and not namespace.startswith(project_pattern):
137136
continue
138137

139138
_LOGGER.info("Working on %s", namespace)

0 commit comments

Comments
 (0)