Skip to content

Commit d9a5d22

Browse files
author
Kyle Kloberdanz
committed
(Debian packaging) Fix lintian warning by using local mathjax package instead of CDN
1 parent e2c6965 commit d9a5d22

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

debian/control

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ Package: libmongoc-doc
5757
Section: doc
5858
Architecture: all
5959
Build-Profiles: <!pkg.mongo-c-driver.no-libmongocrypt>
60-
Depends: ${misc:Depends}
60+
Depends: libjs-mathjax,
61+
${misc:Depends}
6162
Description: MongoDB C client library - documentation
6263
libmongoc is the officially supported MongoDB client library for C
6364
applications.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Description: (Debian packaging) Fix lintian warning by using local mathjax package instead of CDN
2+
Author: Kyle Kloberdanz <[email protected]>
3+
Forwarded: not-needed
4+
--- a/src/libmongoc/doc/conf.py
5+
+++ b/src/libmongoc/doc/conf.py
6+
@@ -14,6 +14,8 @@ extensions = [
7+
'sphinx.ext.intersphinx',
8+
]
9+
10+
+mathjax_path = "file:///usr/share/javascript/mathjax/MathJax.js"
11+
+
12+
# General information about the project.
13+
project = 'libmongoc'
14+
copyright = '2017-present, MongoDB, Inc'

debian/patches/series

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0001_local_mathjax.diff

0 commit comments

Comments
 (0)