Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable MathJax plugin for 40ants-doc documentation. #53

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"))