Hello,

I'm still working on the package python-xrayutilities for debian.

I've come to a point where the package can be built but when generating the doc,
lintian comes with a bunch of privacy-generic-breach tags like this :
____________________________________________________________________________________________________________________________________________________________________
W: python-xrayutilities-doc: privacy-breach-generic 
usr/share/doc/python-xrayutilities/html/_modules/index.html [<script 
async="async" type="text/javascript" 
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=tex-ams-mml_htmlormml";>]
 
(https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=tex-ams-mml_htmlormml)
____________________________________________________________________________________________________________________________________________________________________


I have tried to add in debian/rules this :
___________________________________________________________________________________________________________________________
override_dh_installdocs:
        ln -s /usr/share/javascript/mathjax/MathJax.js 
$(CURDIR)/doc/build/html/_static/MathJax.js
        find doc/build/html -name "*.html" -exec sed -i 
"s|https://cdn.mathjax.org/mathjax/latest/MathJax.js|_static/MathJax.js|" {} \;
        dh_installdocs -ppython-xrayutilities-doc doc/build/html
___________________________________________________________________________________________________________________________


But it does not seem to work.

Cheers,

Alex

Reply via email to