Skip to content

Commit 0fa8fae

Browse files
committed
1st try: pdf build
1 parent ec9c139 commit 0fa8fae

File tree

2 files changed

+91
-4
lines changed

2 files changed

+91
-4
lines changed

.github/workflows/mkdocs_pdf.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
# - name: Sphinx setup
2222
# run: |
2323
# pip install sphinx sphinx_readable_theme
24-
- name: pandoc setup
25-
uses: pandoc/actions/setup@v1
24+
# - name: pandoc setup
25+
# uses: pandoc/actions/setup@v1
2626
- name: mkdocs setup
2727
run: |
2828
pip install mkdocs mkdocs-material python-markdown-math mkdocs-static-i18n
2929
pip install weasyprint
3030
pip install mkdocs-with-pdf
31-
pip install mkdocs-to-pdf
31+
#pip install mkdocs-to-pdf
3232
weasyprint --info
3333
3434
- name: Checkout
@@ -37,8 +37,9 @@ jobs:
3737
- name: convert MDhelp
3838
run: |
3939
cd MDhelp
40+
mv mkdocs_pdf.yml mkdocs.yml
4041
mkdocs build
41-
cp -vr site ../help_test
42+
#cp -vr site ../help_test
4243
4344
# - name: Get tutorials index from source code
4445
# run: |

MDhelp/mkdocs.yml_pdf

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
site_name: GSAS-II Help
2+
3+
nav:
4+
- Contents: index.md
5+
- Getting started: preface.md
6+
- GUI components: applicationwindow.md
7+
- Main menu: mainmenu.md
8+
- Data tree items:
9+
- Data tree overview: datatree.md
10+
- Universal items: commontreeitems.md
11+
- Phases:
12+
- Phase overview: phaseoverview.md
13+
- General tab: phasegeneral.md
14+
- Data tab: phasedata.md
15+
- Atoms tab: phaseatoms.md
16+
- Draw Options tab: phasedrawopts.md
17+
- Draw Atoms tab: phasedrawatoms.md
18+
- RB Models tab: phaseRB.md
19+
- Texture tab: phasetexture.md
20+
- Map Peaks tab: phasemappeaks.md
21+
- Pawley tab: phasepawley.md
22+
- Layers tab: phaselayers.md
23+
- Wave Data tab: phasewave.md
24+
- MC/SA tab: phasemcsa.md
25+
- RMC tab: phaseRMC.md
26+
- ISODISTORT tab: phaseisodistort.md
27+
- Dysnomia tab: phasedysnomia.md
28+
- Images (IMG): image.md
29+
- Powder (PWDR):
30+
- Overview: powder.md
31+
- Main PWDR entry: powderparent.md
32+
- Comments: powdercomments.md
33+
- Limits: powderlimits.md
34+
- Background: powderbkg.md
35+
- Instrument Parameters: powderinst.md
36+
- Sample Parameters: powdersample.md
37+
- Peak List: powderpeaks.md
38+
- Index Peak List: powderindexppeaks.md
39+
- Unit Cells List: powdercells.md
40+
- Reflection Lists: powderrefs.md
41+
- Single Crystal (HKLF): singlecrystal.md
42+
- PDF: pairdistribution.md
43+
- Small Angle (SASD): smallanglescattering.md
44+
- Reflectometry (REFD): reflectometry.md
45+
- Sequential results: sequential.md
46+
- Cluster Analysis: cluster.md
47+
48+
# - Powder peaks (PKS): powderpeak.md
49+
50+
51+
- Other info: others.md
52+
53+
54+
theme:
55+
name: material
56+
favicon: images/gsas2.png
57+
logo: images/gsas2.png
58+
59+
plugins:
60+
- with-pdf:
61+
author: Brian H. Toby and Robert B. Von Dreele
62+
enabled_if_env: ENABLE_PDF_EXPORT
63+
- i18n:
64+
docs_structure: suffix
65+
languages:
66+
- locale: en
67+
default: true
68+
name: English
69+
build: true
70+
# - locale: ja
71+
# name: 日本語
72+
# build: true
73+
74+
markdown_extensions:
75+
- def_list
76+
- admonition
77+
- mdx_math
78+
79+
extra_javascript:
80+
- https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML
81+
# - https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js # MathJax library from CDN
82+
83+
#local build settings from https://www.mkdocs.org/user-guide/deploying-your-docs/#local-files
84+
85+
site_url: ""
86+
use_directory_urls: false

0 commit comments

Comments
 (0)