Skip to content

Commit e1c3d70

Browse files
committed
try out .deb chrome
1 parent 2faf38e commit e1c3d70

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/mkdocs_pdf.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,10 @@ jobs:
4242
4343
- name: test newly-installed chrome
4444
run: |
45-
ls /usr/bin
4645
which google-chrome-stable
4746
google-chrome-stable --version
47+
/usr/bin/google-chrome-stable --headless --disable-gpu --dump-dom https://google.com
4848
49-
- name: quit
50-
run: |
51-
exit
52-
5349
# - name: Setup chromium
5450
# uses: browser-actions/setup-chrome@v1
5551
# id: setup-chrome
@@ -87,7 +83,7 @@ jobs:
8783
- name: convert MDhelp
8884
run: |
8985
cd MDhelp
90-
mkdocs build
86+
#mkdocs build
9187
mv mkdocs.yml_pdf mkdocs.yml
9288
ENABLE_PDF_EXPORT=1 mkdocs build
9389
# mv site/GSASII-help.pdf ...

MDhelp/mkdocs.yml_pdf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ plugins:
6969
# exclude_pages:
7070
# - Contents
7171
# - index.md
72-
# render_js: true
73-
# headless_chrome_path: /usr/bin/chromium-browser
74-
relaxedjs_path: /usr/local/bin/relaxed
72+
render_js: true
73+
headless_chrome_path: /usr/bin/google-chrome-stable
74+
# relaxedjs_path: /usr/local/bin/relaxed
7575

7676
- i18n:
7777
docs_structure: suffix

0 commit comments

Comments
 (0)