Skip to content

Commit 8228800

Browse files
committed
fix doc
1 parent ee21301 commit 8228800

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

llvm/docs/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,11 @@ def process_rst(name):
283283
file=sys.stderr,
284284
)
285285
# Split the name out of the title.
286-
name, description = title.split(" - ", 1)
286+
try:
287+
name, description = title.split(" - ", 1)
288+
except:
289+
raise ValueError(title)
290+
287291
man_pages.append(
288292
(file_subpath.replace(".rst", ""), name, description, man_page_authors, 1)
289293
)

0 commit comments

Comments
 (0)