File tree 6 files changed +116
-0
lines changed
6 files changed +116
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : validate-docs
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+
7
+ jobs :
8
+ validate :
9
+ runs-on : ubuntu-latest
10
+
11
+ steps :
12
+ - name : Checkout
13
+ uses : actions/checkout@v2
14
+
15
+ - name : Install Taskfile
16
+ uses : arduino/setup-task@v1
17
+ with :
18
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
19
+ version : 3.x
20
+
21
+ - name : Setup Go
22
+ uses : actions/setup-go@v2
23
+
24
+ - name : Setup Python
25
+ uses : actions/setup-python@v1
26
+ with :
27
+ python-version : " 3.8"
28
+ architecture : " x64"
29
+
30
+ - name : Cache dependencies
31
+ uses : actions/cache@v2
32
+ with :
33
+ path : ~/.cache/pip
34
+ key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements_docs.txt') }}
35
+ restore-keys : |
36
+ ${{ runner.os }}-pip-
37
+
38
+ - name : Install Python dependencies
39
+ run : |
40
+ python3 -m pip install --upgrade pip
41
+ python3 -m pip install -r ./requirements_docs.txt
42
+
43
+ - name : Build docs website
44
+ # Ensure the docs build is sane, these docs won't be published
45
+ run : task docs:build
Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ tasks:
26
26
cmds :
27
27
- npx {{ .PRETTIER }} --write "**/*.md"
28
28
29
+ docs:build :
30
+ desc : Build documentation website contents
31
+ cmds :
32
+ - mkdocs build -s
33
+
29
34
build :
30
35
desc : Build the project
31
36
cmds :
Original file line number Diff line number Diff line change
1
+ ../README.md
Original file line number Diff line number Diff line change
1
+ # Project information
2
+ site_name : Arduino Firmware Uploader
3
+ site_description : A firmware uploader/updater for Arduino Boards.
4
+ site_url : https://arduino.github.io/arduino-firmware-uploader/
5
+
6
+ # Repository
7
+ repo_name : arduino/FirmwareUploader
8
+ repo_url : https://github.com/arduino/FirmwareUploader
9
+ edit_uri : " "
10
+
11
+ # Copyright
12
+ copyright : Copyright 2021 ARDUINO SA (http://www.arduino.cc/)
13
+
14
+ # Theme
15
+ theme :
16
+ name : material
17
+ logo : img/icon_mac_light.png
18
+ palette :
19
+ primary : teal
20
+ accent : orange
21
+
22
+ # Extensions
23
+ markdown_extensions :
24
+ - markdown.extensions.admonition
25
+ - markdown.extensions.codehilite :
26
+ guess_lang : false
27
+ - markdown.extensions.def_list
28
+ - markdown.extensions.footnotes
29
+ - markdown.extensions.meta
30
+ - markdown.extensions.toc :
31
+ permalink : true
32
+ - pymdownx.arithmatex
33
+ - pymdownx.betterem :
34
+ smart_enable : all
35
+ - pymdownx.caret
36
+ - pymdownx.critic
37
+ - pymdownx.details
38
+ - pymdownx.emoji :
39
+ emoji_index : !!python/name:pymdownx.emoji.twemoji
40
+ emoji_generator : !!python/name:pymdownx.emoji.to_svg
41
+ - pymdownx.inlinehilite
42
+ - pymdownx.keys
43
+ - pymdownx.magiclink :
44
+ repo_url_shorthand : true
45
+ user : arduino
46
+ repo : FirmwareUploader
47
+ - pymdownx.mark
48
+ - pymdownx.smartsymbols
49
+ - pymdownx.superfences
50
+ - pymdownx.tasklist :
51
+ custom_checkbox : true
52
+ - pymdownx.tilde
53
+ - mdx_truly_sane_lists :
54
+ nested_indent : 2
55
+ truly_sane : true
56
+
57
+ # Navigation
58
+ nav :
59
+ - Documentation Home : README.md
Original file line number Diff line number Diff line change
1
+ mkdocs<1.2
2
+ mkdocs-material<5
3
+ mike==0.5.1
4
+ gitpython
5
+ click<7.2
6
+ mdx_truly_sane_lists==1.2
You can’t perform that action at this time.
0 commit comments