From fc3a46f24b33f8d2edc6c5295157ce341ab58778 Mon Sep 17 00:00:00 2001 From: Kyle Kloberdanz Date: Wed, 8 Nov 2023 13:14:23 -0600 Subject: [PATCH] fix debian package build --- build/sphinx/mongoc_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/sphinx/mongoc_common.py b/build/sphinx/mongoc_common.py index 528eb509b8..77ca72ea28 100644 --- a/build/sphinx/mongoc_common.py +++ b/build/sphinx/mongoc_common.py @@ -143,7 +143,7 @@ def generate_html_redirs(app: Sphinx, page: str, templatename: str, context: dic return if page == "index" or page.endswith(".index"): return - path = app.project.doc2path(page, basedir=False) + path = app.project.doc2path(page, absolute=True) out_index_html = Path(builder.get_outfilename(page)) slug = out_index_html.parent.name redirect_file = out_index_html.parent.parent / f"{slug}.html"