Skip to content

Commit 59a0270

Browse files
committed
tweak PDF
1 parent c02fbe5 commit 59a0270

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.github/workflows/mkdocs_pdf.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@ jobs:
4040
mv mkdocs.yml_pdf mkdocs.yml
4141
mkdocs build
4242
ENABLE_PDF_EXPORT=1 mkdocs build
43+
# mv site/GSASII-help.pdf ...
4344
#cp -vr site ../help_test
4445
4546
- name: Upload help artifact # creates zip file with website contents
4647
uses: actions/upload-pages-artifact@v3
4748
with:
48-
path: MDhelp
49+
path: MDhelp/site
4950
name: MDhelp
5051
retention-days: 1
5152

.github/workflows/test_builddocsite.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
- name: Sphinx setup
3030
run: |
3131
pip install sphinx sphinx_readable_theme
32+
pip install mkdocs-with-pdf
3233
- name: pandoc setup
3334
uses: pandoc/actions/setup@v1
3435
- name: mkdocs setup

MDhelp/mkdocs.yml_pdf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,14 @@ plugins:
6161
author: Brian H. Toby and Robert B. Von Dreele
6262
enabled_if_env: ENABLE_PDF_EXPORT
6363
cover_title: GSAS-II Help information
64+
cover_subtitle: a compilation of HTML pages
65+
copyright: this material is available at https://advancedphotonsource.github.io/GSAS-II-tutorials/help/
66+
back_cover: true
6467
output_path: GSASII-help.pdf
68+
exclude_pages:
69+
- 'index.md'
70+
render_js: true
71+
6572
- i18n:
6673
docs_structure: suffix
6774
languages:

0 commit comments

Comments
 (0)