dh_sphinxdoc fails to parse search.html generated file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sphinx |
Fix Released
|
Unknown
|
|||
sphinx (Ubuntu) |
New
|
Undecided
|
Miriam España Acebal |
Bug Description
Since sphinx (7.3.7-1), when introduced the following change
+ * dh_sphinxdoc: Support loading searchindex.js with defer="defer"
implemented in this way:
diff -Nru sphinx-
--- sphinx-
+++ sphinx-
@@ -290,7 +290,7 @@
}
}
defined $documentation_
- my $loads_searchindex = $search =~ m{<script(?: type="text/
+ my $loads_searchindex = $search =~ m{<script(?: type="text/
unless ($loads_
{
# old style, used before Sphinx 2.0
if a generated search.html file has only defer when loading searchindex.js, e. g.:
<script type="text/
dh_sphinxdoc fails with:
dh_sphinxdoc: error: <doc_path>
It has been seen in the mako package, preventing its build [1]
Changed in sphinx: | |
status: | Unknown → New |
Changed in sphinx: | |
status: | New → Unknown |
Changed in sphinx: | |
status: | Unknown → Fix Committed |
Changed in sphinx: | |
status: | Fix Committed → Fix Released |
I'm submitting a fix for the regex expression in Salsa.