Skip to content

Commit 9be4d4f

Browse files
committed
fix debian package build (#1470)
CDRIVER-4773
1 parent 265c102 commit 9be4d4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/sphinx/mongoc_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def generate_html_redirs(app: Sphinx, page: str, templatename: str, context: dic
143143
return
144144
if page == "index" or page.endswith(".index"):
145145
return
146-
path = app.project.doc2path(page, basedir=False)
146+
path = app.project.doc2path(page, absolute=True)
147147
out_index_html = Path(builder.get_outfilename(page))
148148
slug = out_index_html.parent.name
149149
redirect_file = out_index_html.parent.parent / f"{slug}.html"

0 commit comments

Comments
 (0)