Skip to content

Commit 5fdb0d6

Browse files
committed
try ReLaXedJS in mkdocs
1 parent 5403d7d commit 5fdb0d6

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

.github/workflows/mkdocs_pdf.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ jobs:
2828
- name: find relaxedjs
2929
run: |
3030
which relaxed
31-
which relaxedjs
32-
exit
33-
34-
- name: stop
35-
run: |
36-
exit
3731
3832
# - name: Setup chromium
3933
# uses: browser-actions/setup-chrome@v1
@@ -73,8 +67,8 @@ jobs:
7367
run: |
7468
cd MDhelp
7569
mkdocs build
76-
#mv mkdocs.yml_pdf mkdocs.yml
77-
# ENABLE_PDF_EXPORT=1 mkdocs build
70+
mv mkdocs.yml_pdf mkdocs.yml
71+
ENABLE_PDF_EXPORT=1 mkdocs build
7872
# mv site/GSASII-help.pdf ...
7973
#cp -vr site ../help_test
8074

MDhelp/mkdocs.yml_pdf

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,12 @@ plugins:
6666
copyright: From https://advancedphotonsource.github.io/GSAS-II-tutorials/help/
6767
#back_cover: true
6868
output_path: GSASII-help.pdf
69-
exclude_pages:
69+
# exclude_pages:
7070
# - Contents
71-
- index.md
72-
render_js: true
73-
headless_chrome_path: /usr/bin/chromium-browser
71+
# - index.md
72+
# render_js: true
73+
# headless_chrome_path: /usr/bin/chromium-browser
74+
relaxedjs_path: /usr/local/bin/relaxed
7475

7576
- i18n:
7677
docs_structure: suffix

0 commit comments

Comments
 (0)