|
1 | 1 | # create a documentation web site for GSAS-II from four sources |
2 | | -# * HTML tutorials are simply copied |
3 | | -# * markdown tutorials (in ./MDtutorials) are formatted with pandoc and are copied over |
4 | | -# * sphinx is used to generate HTML from files in ./webdocs |
5 | | -# * the tutorials.html file and the */data/index.html files are |
6 | | -# created by running scripts/makeGitTutorial |
7 | | -# * the help pages are created from the .md file in the MDhelp directory |
8 | | -# * this triggers a process that also creates the help files and places |
9 | | -# the .html files into the GSAS-II sources |
| 2 | +# 1. HTML tutorials are simply copied |
| 3 | +# 2. markdown tutorials (in ./MDtutorials) are formatted with pandoc and are copied over |
| 4 | +# * the tutorials.html file and the */data/index.html files are |
| 5 | +# created by running scripts/makeGitTutorial.py |
| 6 | +# 3. sphinx is used to generate HTML from files in ./webdocs |
| 7 | +# 4. the help pages are created from the .md file in the MDhelp directory |
10 | 8 |
|
11 | 9 | name: build GSAS-II web site w/MD Help |
12 | 10 |
|
|
26 | 24 | build: # Build web pages |
27 | 25 | runs-on: ubuntu-latest |
28 | 26 | steps: |
29 | | - |
30 | | - - name: Trigger remote workflow to update help files in GSAS-II repo |
31 | | - # see below for info on setting this up |
32 | | - run: | |
33 | | - # config var follows |
34 | | - repo_owner="AdvancedPhotonSource" |
35 | | - |
36 | | - curl -L \ |
37 | | - -X POST \ |
38 | | - -H "Accept: application/vnd.github+json" \ |
39 | | - -H "Authorization: Bearer ${{ secrets.G2TUT_2_G2_4HELP }}" \ |
40 | | - -H "X-GitHub-Api-Version: 2022-11-28" \ |
41 | | - https://api.github.com/repos/$repo_owner/GSAS-II/dispatches \ |
42 | | - -d '{"event_type": "remote build", "client_payload": {"service": "remote build", "unit": false, "integration": true}}' |
43 | | - |
44 | 27 | - name: Python setup |
45 | 28 | uses: actions/setup-python@v3 |
46 | 29 | - name: Sphinx setup |
|
0 commit comments