Skip to content

Commit

Permalink
Enable MathJax plugin for 40ants-doc documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
svetlyak40wt committed Aug 29, 2024
1 parent fe74f81 commit 90cb942
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
16 changes: 13 additions & 3 deletions full/doc.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@
#:defautodoc)
(:import-from #:40ants-doc/locatives/asdf-system
#:asdf-system-documentation-title)
(:import-from #:40ants-doc-full/plugins/mathjax
#:mathjax)
(:import-from #:40ants-doc-full/plugins/highlightjs
#:highlightjs)
(:export #:@index
#:@readme
#:@changelog))
Expand Down Expand Up @@ -745,6 +749,12 @@ See full list of changes in the 40ANTS-DOC/CHANGELOG::@CHANGELOG section.
;; unnecessary dependencies here:
(uiop:symbol-call :ql :quickload
:40ants-doc-theme-40ants)
(list :theme
(find-symbol "40ANTS-THEME"
(find-package "40ANTS-DOC-THEME-40ANTS"))))
(let ((theme (find-symbol "40ANTS-THEME"
(find-package "40ANTS-DOC-THEME-40ANTS"))))
(unless theme
(error "Unable to find 40ANTS-DOC-THEME-40ANTS::40ANTS-THEME symbol"))

(list :theme
(make-instance theme
:plugins (list (highlightjs)
(mathjax))))))
6 changes: 3 additions & 3 deletions qlfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
("quicklisp" .
(:class qlot/source/dist:source-dist
:initargs (:distribution "http://beta.quicklisp.org/dist/quicklisp.txt" :%version :latest)
:initargs (:distribution "https://beta.quicklisp.org/dist/quicklisp.txt" :%version :latest)
:version "2023-10-21"))
("ultralisp" .
(:class qlot/source/dist:source-dist
:initargs (:distribution "http://dist.ultralisp.org" :%version :latest)
:version "20240715082001"))
:initargs (:distribution "https://dist.ultralisp.org" :%version :latest)
:version "20240829155500"))

0 comments on commit 90cb942

Please sign in to comment.