File tree 4 files changed +41
-9
lines changed
4 files changed +41
-9
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish mkdocs to gh-pages
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ permissions :
7
+ contents : write
8
+ jobs :
9
+ deploy :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ with :
14
+ fetch-depth : 0
15
+ - name : Configure Git Credentials
16
+ run : |
17
+ git config user.name github-actions[bot]
18
+ git config user.email 41898282+github-actions[bot]@users.noreply.github.com
19
+ - uses : actions/setup-python@v5
20
+ with :
21
+ python-version : 3.x
22
+ - run : sudo apt-get install libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev pngquant
23
+ - run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
24
+ - uses : actions/cache@v4
25
+ with :
26
+ key : mkdocs-material-${{ env.cache_id }}
27
+ path : .cache
28
+ restore-keys : |
29
+ mkdocs-material-
30
+ - run : pip install mkdocs-material
31
+ - run : pip3 install mkdocs-git-revision-date-localized-plugin mkdocs-git-authors-plugin "mkdocs-material[imaging]"
32
+ - run : mkdocs gh-deploy --force
Original file line number Diff line number Diff line change 1
- # learn_more
1
+ # learn-more
2
2
Learn more section of website
Original file line number Diff line number Diff line change 1
1
# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json
2
- site_name : Voi Swarm
3
- site_description : Create and run a Voi Network Participation Node
4
- site_url : https://voinetwork.github.io/voi-swarm /
5
- repo_url : https://github.com/VoiNetwork/voi-swarm
2
+ site_name : Learn More
3
+ site_description : Learn More about Voi
4
+ site_url : https://voinetwork.github.io/learn-more /
5
+ repo_url : https://github.com/VoiNetwork/learn-more
6
6
edit_uri : edit/main/docs/
7
7
8
8
theme :
@@ -81,10 +81,10 @@ markdown_extensions:
81
81
82
82
plugins :
83
83
- search
84
- - social :
85
- cards_layout : default/variant
86
- cards_layout_options :
87
- background_color : " #702AE2"
84
+ # - social:
85
+ # cards_layout: default/variant
86
+ # cards_layout_options:
87
+ # background_color: "#702AE2"
88
88
- git-revision-date-localized :
89
89
enabled : true
90
90
enable_creation_date : true
You can’t perform that action at this time.
0 commit comments