Skip to content

Commit fe7c85d

Browse files
committed
improve doc gen; update mathjax
1 parent 308c433 commit fe7c85d

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

project.clj

+7-4
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,16 @@
1111

1212
:resource-paths ["vendor"]
1313

14-
;;Needed for testing Latex equation formatting. You must download
15-
;;and install MathJax in you doc directory.
16-
:marginalia {:javascript ["mathjax/MathJax.js"]}
14+
;; updated to match the latest mathjax website information:
15+
:marginalia {:javascript ["https://polyfill.io/v3/polyfill.min.js?features=es6"
16+
"https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"]}
1717

1818
;; lein docs assumes the lein-marginalia repo is a sibling of this
19-
;; marginalia repo!
19+
;; marginalia repo -- and that there is a marginalia-gh-pages sibling
20+
;; which is marginalia checked out to the gh-pages branch:
2021
:aliases {"docs" ["run" "-m" "marginalia.main"
22+
"-d" "../marginalia-gh-pages"
23+
"-f" "index.html"
2124
"../lein-marginalia/src/leiningen/marg.clj"
2225
"src/marginalia/core.clj"
2326
"src/marginalia/html.clj"

0 commit comments

Comments
 (0)