Hi Ximin,

On Tue, Oct 18, 2016 at 01:42:56AM +0200, Ximin Luo wrote:
> SageMath generates docs with search indexes like this:
>
>     jQuery(function() { Search.loadIndex("../searchindex.js"); });
>
> This is not recognised by dh_sphinxdoc. If you change
>
> 192: my $loads_searchindex = $search =~ m/\QjQuery(function() { 
> Search.loadIndex("searchindex.js"); });\E/;
>
> to 
>
> 192: my $loads_searchindex = $search =~ m/\QjQuery(function() { 
> Search.loadIndex("\E([^\/]*\/)?\Qsearchindex.js"); });\E/;
>
> it will fix the problem.

Thanks for catching this. According to the template, the path can be
arbitrary, so I went further and disabled the path check at all (left
only the check for loadIndex(...) call).

Do you want me to do a new upload now, or this can wait?

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to