File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,27 +13,6 @@ permissions:
1313 contents : read
1414
1515jobs :
16- create-zoomin-doc-bundle :
17- name : Create zoomin documentation bundle
18- runs-on : ubuntu-latest
19- steps :
20- - uses : actions/checkout@v4
21-
22- - name : Copy documentation properties
23- run : cp zoomin/* .
24-
25- - name : Create zip file
26- run : |
27- zip -r asset-tracker-template.zip \
28- docs/* mkdocs.yml custom.properties tags.yml
29-
30- - name : Upload documentation artifact
31- uses : actions/upload-artifact@v4
32- with :
33- name : asset-tracker-template
34- path : asset-tracker-template.zip
35- retention-days : 7
36-
3716 create-ft-bundle :
3817 name : Create ft documentation bundle
3918 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1616 name : Create documentation bundle
1717 uses : ' ./.github/workflows/create-doc-bundle.yml'
1818
19- publish-docs-prod :
20- name : Publish documentation to prod
21- needs : create-doc-bundle
22- runs-on : ubuntu-latest
23- steps :
24- - name : Get bundle
25- uses : actions/download-artifact@v4
26- with :
27- name : asset-tracker-template
28- - name : Upload documentation
29- run : |
30- # trust server
31- mkdir -p ~/.ssh
32- ssh-keyscan upload-v1.zoominsoftware.io >> ~/.ssh/known_hosts
33-
34- # prepare key
35- echo "${{ secrets.ZOOMIN_KEY }}" > zoomin_key
36- chmod 600 zoomin_key
37-
38- # upload bundle:
39- sftp -v -i zoomin_key nordic@upload-v1.zoominsoftware.io <<EOF
40- cd /docs-be.nordicsemi.com/markdown/incoming
41- put asset-tracker-template.zip
42- quit
43- EOF
44-
45- publish-docs-dev :
46- name : Publish documentation to dev
47- needs : create-doc-bundle
48- runs-on : ubuntu-latest
49- steps :
50- - name : Get bundle
51- uses : actions/download-artifact@v4
52- with :
53- name : asset-tracker-template
54- - name : Upload documentation
55- run : |
56- # trust server
57- mkdir -p ~/.ssh
58- ssh-keyscan upload-v1.zoominsoftware.io >> ~/.ssh/known_hosts
59-
60- # prepare key
61- echo "${{ secrets.ZOOMIN_KEY }}" > zoomin_key
62- chmod 600 zoomin_key
63-
64- # upload bundle:
65- sftp -v -i zoomin_key nordic@upload-v1.zoominsoftware.io <<EOF
66- cd /nordic-be-dev.zoominsoftware.io/markdown/incoming
67- put asset-tracker-template.zip
68- quit
69- EOF
70-
7119 publish-docs-ft-dev :
7220 name : Publish documentation to ft dev
7321 needs : create-doc-bundle
Original file line number Diff line number Diff line change @@ -32,6 +32,13 @@ copyright:
3232markdown_extensions :
3333 - pymdownx.arithmatex :
3434 generic : true
35+ - pymdownx.highlight :
36+ linenums_style : pymdownx-inline
37+ pygments_lang_class : true
38+ - pymdownx.superfences :
39+ custom_fences :
40+ - name : mermaid
41+ class : mermaid
3542 - abbr
3643 - admonition
3744 - attr_list
@@ -62,7 +69,7 @@ ft_metadata:
6269 - " Asset Tracker Template"
6370
6471ft_options :
65- copy_button_on_content_code : false
72+ copy_button_on_content_code : true
6673 nav_mapping : first_heading_as_page
6774
6875nav :
You can’t perform that action at this time.
0 commit comments