File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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:
You can’t perform that action at this time.
0 commit comments