Skip to content

Commit 15b960e

Browse files
committed
work on reference to chrome and exclude pages
1 parent 99f9739 commit 15b960e

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/mkdocs_pdf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
run: |
4848
cd MDhelp
4949
mv mkdocs.yml_pdf mkdocs.yml
50-
mkdocs build
51-
ENABLE_PDF_EXPORT=1 mkdocs build
50+
#mkdocs build
51+
ENABLE_PDF_EXPORT=1 chromium-browser=`which chrome` mkdocs build
5252
# mv site/GSASII-help.pdf ...
5353
#cp -vr site ../help_test
5454

MDhelp/mkdocs.yml_pdf

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,13 @@ plugins:
6363
cover_title: GSAS-II Help information
6464
cover_subtitle: A compilation of HTML pages as a PDF document
6565
copyright: From https://advancedphotonsource.github.io/GSAS-II-tutorials/help/
66-
back_cover: true
66+
#back_cover: true
6767
output_path: GSASII-help.pdf
6868
exclude_pages:
69-
- index.md
70-
#render_js: true
69+
- Contents
70+
# - index.md
71+
render_js: true
72+
headless_chrome_path: /opt/hostedtoolcache/setup-chrome/chrome/stable/x64/
7173

7274
- i18n:
7375
docs_structure: suffix

0 commit comments

Comments
 (0)