File tree 7 files changed +238
-21
lines changed
7 files changed +238
-21
lines changed Original file line number Diff line number Diff line change
1
+ root = true
2
+
3
+ [* ]
4
+ charset = utf-8
5
+ end_of_line = lf
6
+ trim_trailing_whitespace = true
7
+ insert_final_newline = true
8
+
9
+ [* .{yml,yaml} ]
10
+ indent_style = space
11
+ indent_size = 2
12
+
13
+ [* .{md,txt} ]
14
+ indent_style = space
15
+ trim_trailing_whitespace = false
16
+
17
+ [Makefile ]
18
+ indent_style = tab
19
+
20
+ [CNAME ]
21
+ insert_final_newline = false
Original file line number Diff line number Diff line change 20
20
- run : pip install mkdocs-material
21
21
- run : mkdocs build
22
22
- name : Upload artifact
23
- uses : actions/upload -pages-artifact@v1
23
+ uses : JamesIves/github -pages-deploy-action@v4
24
24
with :
25
- path : ./site/
26
- deploy :
27
- if : github.event.repository.fork == false
28
- needs : build
29
- permissions :
30
- pages : write
31
- id-token : write
32
- environment :
33
- name : github-pages
34
- url : ${{ steps.deployment.outputs.page_url }}
35
- runs-on : ubuntu-latest
36
- steps :
37
- - name : Deploy to GitHub Pages
38
- id : deployment
39
- uses : actions/deploy-pages@v1
40
-
25
+ folder : site
26
+ clean-exclude : pr-preview/
Original file line number Diff line number Diff line change
1
+ name : Lint
2
+ on :
3
+ pull_request :
4
+ types : [opened, synchronize, reopened]
5
+ permissions :
6
+ contents : read
7
+
8
+ jobs :
9
+ editorconfig :
10
+ name : Editorconfig
11
+ runs-on : ubuntu-20.04
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+ - uses : editorconfig-checker/action-editorconfig-checker@v2
15
+ - run : editorconfig-checker
Original file line number Diff line number Diff line change
1
+ name : Deploy PR previews
2
+
3
+ on :
4
+ pull_request :
5
+ types :
6
+ - opened
7
+ - reopened
8
+ - synchronize
9
+ - closed
10
+
11
+ concurrency : preview-${{ github.ref }}
12
+
13
+ jobs :
14
+ build :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v2
18
+ - uses : actions/setup-python@v2
19
+ with :
20
+ python-version : 3.x
21
+ - run : pip install mkdocs-material mkdocs-git-revision-date-localized-plugin
22
+ - run : mkdocs build
23
+ - name : Deploy preview
24
+ uses : rossjrw/pr-preview-action@v1
25
+ with :
26
+ source-dir : ./site/
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -23,3 +23,7 @@ On other systems you can use pip to install the dependencies:
23
23
pip3 install mkdocs mkdocs-material mkdocs-git-revision-date-localized-plugin
24
24
```
25
25
Then you can use ` mkdocs serve ` to start a local development server that updates the content automatically.
26
+
27
+ # License
28
+
29
+ Content is available under the [ Creative Commons Attribution License 4.0] ( https://raw.githubusercontent.com/denog/routing-guide/main/LICENSE.md ) , unless otherwise stated
Original file line number Diff line number Diff line change 1
1
site_name : DENOG Routing Guide
2
+ repo_url : https://github.com/denog/routing-guide
3
+ edit_uri : edit/main/docs/
2
4
extra_css :
3
5
- stylesheets/extra.css
4
6
theme :
5
7
name : material
6
8
font : false
9
+ features :
10
+ - content.action.edit
11
+ - content.action.view
12
+ - content.code.copy
13
+ icon :
14
+ edit : material/pencil
15
+ view : material/eye
7
16
palette :
8
17
# Palette toggle for light mode
9
18
- scheme : default
10
19
primary : ' yellow'
11
20
accent : ' yellow'
12
21
toggle :
13
- icon : material/brightness-7
22
+ icon : material/brightness-7
14
23
name : Switch to dark mode
15
24
# Palette toggle for dark mode
16
25
- scheme : slate
19
28
toggle :
20
29
icon : material/brightness-4
21
30
name : Switch to light mode
22
- features :
23
- - content.code.copy
24
- copyright : Copyright © DENOG e.V. <br/><a href="https://www.denog.de/de/impressum.html">Imprint</a>
25
31
markdown_extensions :
26
32
# - pymdownx.emoji
27
33
# emoji_index: !!python/name:material.extensions.emoji.twemoji
@@ -45,3 +51,4 @@ plugins:
45
51
extra :
46
52
status :
47
53
<identifier> : <description>
54
+ copyright : Licensed under the <a href="https://raw.githubusercontent.com/denog/routing-guide/main/LICENSE.md">Creative Commons Attribution License 4.0</a>, unless otherwise stated | <a href="https://www.denog.de/de/impressum.html">Imprint</a>
You can’t perform that action at this time.
0 commit comments