Skip to content

Commit 2e91daf

Browse files
committed
try to-pdf
1 parent 643882c commit 2e91daf

File tree

2 files changed

+6
-17
lines changed

2 files changed

+6
-17
lines changed

.github/workflows/mkdocs_pdf.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,6 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818

19-
# - name: Install chrome
20-
# uses: browser-actions/setup-chrome@v2
21-
# id: setup-chrome
22-
- name: test chrome
23-
run: |
24-
#${{ steps.setup-chrome.outputs.chrome-path }} --version
25-
#chrome --version
26-
chromium --version
27-
#which chrome
28-
which chromium
29-
which chromium-browser
30-
#chromium-browser --headless --no-sandbox http://example.org/
3119
- name: Python setup
3220
uses: actions/setup-python@v3
3321
# - name: Sphinx setup
@@ -39,8 +27,8 @@ jobs:
3927
run: |
4028
pip install mkdocs mkdocs-material python-markdown-math mkdocs-static-i18n
4129
#pip install weasyprint
42-
pip install mkdocs-with-pdf
43-
#pip install mkdocs-to-pdf
30+
#pip install mkdocs-with-pdf
31+
pip install mkdocs-to-pdf
4432
#weasyprint --info
4533
4634
- name: Checkout

MDhelp/mkdocs.yml_pdf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ theme:
5757
logo: images/gsas2.png
5858

5959
plugins:
60-
- with-pdf:
60+
#- with-pdf:
61+
- to-pdf:
6162
author: Brian H. Toby and Robert B. Von Dreele
6263
enabled_if_env: ENABLE_PDF_EXPORT
6364
cover_title: GSAS-II Help information
@@ -68,8 +69,8 @@ plugins:
6869
# exclude_pages:
6970
# - Contents
7071
# - index.md
71-
render_js: true
72-
headless_chrome_path: /usr/bin/chromium-browser
72+
# render_js: true
73+
# headless_chrome_path: /usr/bin/chromium-browser
7374

7475
- i18n:
7576
docs_structure: suffix

0 commit comments

Comments
 (0)