mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-12-22 20:36:01 +01:00
Fix GH workflow
This commit is contained in:
parent
7e3d259c9d
commit
352679919e
6
.github/workflows/gh-pages.yml
vendored
6
.github/workflows/gh-pages.yml
vendored
@ -20,6 +20,12 @@ jobs:
|
||||
- name: install dependencies
|
||||
run: sudo apt-get install emacs26
|
||||
|
||||
- name: install htmlize
|
||||
run: git clone https://github.com/hniksic/emacs-htmlize && cp emacs-htmlize/htmlize.el src/
|
||||
|
||||
- name: install htmlize
|
||||
run: git clone https://github.com/hniksic/emacs-htmlize
|
||||
|
||||
- name: make
|
||||
run: make -C src/ doc
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
;; https://emacs.stackexchange.com/questions/38437/org-mode-batch-export-missing-syntax-highlighting
|
||||
|
||||
(package-initialize)
|
||||
(require 'htmlize)
|
||||
(require 'font-lock)
|
||||
(require 'subr-x) ;; for `when-let'
|
||||
|
||||
|
@ -1,7 +1,12 @@
|
||||
#!/bin/bash
|
||||
INPUT=$1
|
||||
|
||||
if [[ -f ../docs/htmlize.el ]]
|
||||
then
|
||||
emacs --batch --load ../docs/htmlize.el --load ../docs/config.el $INPUT -f org-html-export-to-html
|
||||
else
|
||||
emacs --batch --load ../docs/config.el $INPUT -f org-html-export-to-html
|
||||
fi
|
||||
|
||||
mv index.html ../docs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user