File tree Expand file tree Collapse file tree 4 files changed +47
-0
lines changed Expand file tree Collapse file tree 4 files changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ci
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ - main
7
+ permissions :
8
+ contents : write
9
+ jobs :
10
+ deploy :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+ - name : Configure Git Credentials
15
+ run : |
16
+ git config user.name github-actions[bot]
17
+ git config user.email 41898282+github-actions[bot]@users.noreply.github.com
18
+ - uses : actions/setup-python@v5
19
+ with :
20
+ python-version : 3.x
21
+ - run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
22
+ - uses : actions/cache@v4
23
+ with :
24
+ key : mkdocs-material-${{ env.cache_id }}
25
+ path : .cache
26
+ restore-keys : |
27
+ mkdocs-material-
28
+ - run : pip install mkdocs-material
29
+ - run : mkdocs gh-deploy --force
Original file line number Diff line number Diff line change
1
+ # Welcome to MkDocs
2
+
3
+ For full documentation visit [ mkdocs.org] ( https://www.mkdocs.org ) .
4
+
5
+ ## Commands
6
+
7
+ * ` mkdocs new [dir-name] ` - Create a new project.
8
+ * ` mkdocs serve ` - Start the live-reloading docs server.
9
+ * ` mkdocs build ` - Build the documentation site.
10
+ * ` mkdocs -h ` - Print help message and exit.
11
+
12
+ ## Project layout
13
+
14
+ mkdocs.yml # The configuration file.
15
+ docs/
16
+ index.md # The documentation homepage.
17
+ ... # Other markdown pages, images and other files.
Original file line number Diff line number Diff line change
1
+ site_name : My Docs
You can’t perform that action at this time.
0 commit comments