Skip to content

Commit e0083cf

Browse files
committed
Add MkDocs configuration and GitHub Actions workflow for site deployment
1 parent 4c9852c commit e0083cf

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/mkdocs.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Deploy MkDocs site to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
- name: Set up Python
15+
uses: actions/setup-python@v5
16+
with:
17+
python-version: '3.x'
18+
- name: Install dependencies
19+
run: pip install mkdocs
20+
- name: Build and Deploy
21+
run: |
22+
mkdocs gh-deploy --force

mkdocs.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
site_name: ClonifyLabs Docs
2+
nav:
3+
- Home: index.md
4+
- Document: document.md
5+
- Document2: document2.md
6+
- SRD: SRD.md
7+
- srd: srd.md
8+
- Diagram Example: diagram-example.md

0 commit comments

Comments
 (0)