Skip to content

Commit

Permalink
Accomodate for the required data-content_root for search
Browse files Browse the repository at this point in the history
Search with dirhtml builds are broken when using Furo with Sphinx
7.2.{0,1,2}.

More details can be found in
sphinx-doc/sphinx#11608 (comment)
  • Loading branch information
pradyunsg committed Aug 18, 2023
1 parent 0d38bc6 commit 364b261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/furo/theme/furo/base.html
@@ -1,5 +1,5 @@
<!doctype html>
<html class="no-js"{% if language is not none %} lang="{{ language }}"{% endif %}>
<html class="no-js"{% if language is not none %} lang="{{ language }}"{% endif %} data-content_root="{{ content_root }}">
<head>
{%- block site_meta -%}
<meta charset="utf-8"/>
Expand Down

0 comments on commit 364b261

Please sign in to comment.