summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-01-21 13:27:26 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-01-21 13:27:26 +0100
commit95a9578ab7d3b5437c41372b41fe6db8983ae8bf (patch)
tree353c88d7be5598b1bd460d8bbf9f9d488c40f06b /openpgp-ffi
parentf33c190c8c66dd6017a1ac221a3238cd29f639e1 (diff)
Distribute highlight.js with our documentation.
- For C code fragments, we use the highlight.js highlighter to apply syntax highlighting. Previously, highlight.js was only used in the FFI documentation, and was loaded from a CDN. - We now distribute highlight.js with our documentation. This is done in the 'doc' make target. - This helps to protect the privacy of users viewing the documentation. - Unfortunately, highlighting no longer works when viewing the documentation locally in a browser using the file:// scheme.
Diffstat (limited to 'openpgp-ffi')
-rw-r--r--openpgp-ffi/rustdoc.head.html4
1 files changed, 0 insertions, 4 deletions
diff --git a/openpgp-ffi/rustdoc.head.html b/openpgp-ffi/rustdoc.head.html
deleted file mode 100644
index 5c4cb580..00000000
--- a/openpgp-ffi/rustdoc.head.html
+++ /dev/null
@@ -1,4 +0,0 @@
-<link rel="stylesheet"
- href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css">
-<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
-<script>hljs.initHighlightingOnLoad();</script>