Skip to content

Commit 7800087

Browse files
b-gentcarlescufi
authored andcommitted
doc: revert a change in doc extension
Attempt to fix the doc build by reverting latest change. Signed-off-by: Bartosz Gentkowski <[email protected]>
1 parent 0d13dc5 commit 7800087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/_extensions/page_filter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def page_filter_install(
199199
if visitor.found_filter_dropdown:
200200
app.add_css_file("page_filter.css")
201201
app.add_js_file("page_filter.mjs", type="module")
202-
script = app.builder.get_script_files()[-1]
202+
script = app.builder.script_files[-1]
203203

204204
page_depth = len(Path(pagename).parents) - 1
205205
body = f"import setupFiltering from './{page_depth * '../'}{script.filename}'; "

0 commit comments

Comments
 (0)