Skip to content

Commit 54e4401

Browse files
committed
start pdf customization
1 parent 34a46a6 commit 54e4401

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/mkdocs_pdf.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ jobs:
4040
mv mkdocs.yml_pdf mkdocs.yml
4141
mkdocs build
4242
#cp -vr site ../help_test
43+
44+
- name: Upload help artifact # creates zip file with website contents
45+
uses: actions/upload-pages-artifact@v3
46+
with:
47+
path: MDhelp
48+
name: MDhelp
49+
retention-days: 1
4350

4451
# - name: Get tutorials index from source code
4552
# run: |

MDhelp/mkdocs.yml_pdf

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

5959
plugins:
60-
- with-pdf
61-
# author: Brian H. Toby and Robert B. Von Dreele
62-
# enabled_if_env: ENABLE_PDF_EXPORT
60+
- with-pdf:
61+
author: Brian H. Toby and Robert B. Von Dreele
62+
enabled_if_env: ENABLE_PDF_EXPORT
63+
cover_title: GSAS-II Help information
64+
output_path: GSASII-help.pdf
6365
- i18n:
6466
docs_structure: suffix
6567
languages:

0 commit comments

Comments
 (0)