File tree Expand file tree Collapse file tree 4 files changed +21
-27
lines changed Expand file tree Collapse file tree 4 files changed +21
-27
lines changed Original file line number Diff line number Diff line change 3838 name : docs
3939 path : upload
4040 if-no-files-found : error
41- - name : Post comment with preview URL
42- run : |
43- curl -L -X POST \
44- -H "Accept: application/vnd.github+json" \
45- -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
46- "https://api.github.com/repos/bcumming/kb-poc/issues/${{ github.event.pull_request.number }}/comments" \
47- -d '{
48- "body": "preview available: https://docs.tds.cscs.ch/${{ github.event.pull_request.number }}"
49- }'
Original file line number Diff line number Diff line change 2424 ls -alh
2525 PR_NBR=$(cat pr_number.txt)
2626 curl --data-binary @site.tar.gz -H "Authorization: Bearer ${{ secrets.UPLOAD_TOKEN }}" https://docs.tds.cscs.ch/upload?path=$PR_NBR
27+ - name : Post comment with preview URL
28+ run : |
29+ curl -L -X POST \
30+ -H "Accept: application/vnd.github+json" \
31+ -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
32+ "https://api.github.com/repos/eth-cscs/cscs-docs/issues/${{ github.event.pull_request.number }}/comments" \
33+ -d '{
34+ "body": "preview available: https://docs.tds.cscs.ch/${{ github.event.pull_request.number }}"
35+ }'
Original file line number Diff line number Diff line change 1- site_name : CSCS Knowledge Base
2- # TODO: change to match target deployment
3- # site_url: https://eth-cscs.github.io/
1+ site_name : CSCS Documentation
2+ # TODO: change to https://docs.cscs.ch when the time comes
3+ site_url : https://eth-cscs.github.io/
44
55# provide a link to the docs in top RHS corner
66repo_url : https://github.com/eth-cscs/cscs-docs
77# provide a link to "edit this page" to each page
88edit_uri : edit/main/docs/
9-
9+ extra_css :
10+ - stylesheets/extra.css
11+ plugins :
12+ - search :
13+ pipeline :
14+ - trimmer
15+ - autorefs
1016nav :
1117 - Welcome : index.md
1218 - ' Alps ' :
5561theme :
5662 name : material
5763 language : en
58- # custom_dir: docs/.overrides
5964 features :
6065 - content.code.copy
6166 # add an "edit this page" icon on each page
@@ -92,18 +97,10 @@ theme:
9297 toggle :
9398 icon : material/brightness-4
9499 name : Switch to light mode
95-
96100 logo : assets/cscs-logo.png
97101 font :
98102 text : Roboto
99103 code : Roboto Mono
100-
101- plugins :
102- - search :
103- pipeline :
104- - trimmer
105- - autorefs
106-
107104markdown_extensions :
108105 - admonition
109106 - def_list
@@ -140,6 +137,3 @@ markdown_extensions:
140137# - javascripts/mathjax.js
141138# - https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js
142139
143- extra_css :
144- - stylesheets/extra.css
145-
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ The source CSCS documentation [docs.cscs.ch](httpa://docs.cscs.ch)
1313
1414Clone this repository on your PC/laptop, then view the documentation in a browser run ` ./serve ` :
1515``` bash
16- > git clone
[email protected] :
${githubusername} /
kb .git
17- > cd kb
16+ > git clone
[email protected] :
${githubusername} /
cscs-docs .git
17+ > cd cscs-docs
1818> ./serve
1919...
2020INFO - [08:33:34] Serving on http://127.0.0.1:8000/
You can’t perform that action at this time.
0 commit comments