| 1 | Description: Use packaged copy of MathJax from libjs-mathjax |
| 2 | FontForge documentation uses sphinx.ext.mathjax which insert script links |
| 3 | to MathJax served on remote CDNs. |
| 4 | . |
| 5 | This patch, together with debian/fontforge-doc.links, replaces remote |
| 6 | scripts with MathJax from the libjs-mathjax package. |
| 7 | See https://bugs.debian.org/739300 for discussion. |
| 8 | . |
| 9 | Fixes Lintian privacy-breach-generic warnings. |
| 10 | Author: Anthony Fok <[email protected]> |
| 11 | Origin: vendor |
| 12 | Forwarded: not-needed |
| 13 | Last-Update: 2020-11-24 |
| 14 | --- |
| 15 | This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 16 | --- a/doc/sphinx/conf.py |
| 17 | +++ b/doc/sphinx/conf.py |
| 18 | @@ -68,6 +68,8 @@ |
| 19 | # Don't copy source rst files into the output |
| 20 | html_copy_source = False |
| 21 | |
| 22 | +mathjax_path = 'mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML' |
| 23 | + |
| 24 | # Set the main page |
| 25 | master_doc = 'index' |
| 26 |