Skip to content

Commit 6447041

Browse files
committed
docs(site): add GitHub Pages publishing with MkDocs
1 parent 57afde9 commit 6447041

4 files changed

Lines changed: 101 additions & 0 deletions

File tree

.github/workflows/docs.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Docs
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [main]
7+
paths:
8+
- "docs/**"
9+
- "mkdocs.yml"
10+
- ".github/workflows/docs.yml"
11+
12+
permissions:
13+
contents: read
14+
pages: write
15+
id-token: write
16+
17+
concurrency:
18+
group: pages
19+
cancel-in-progress: true
20+
21+
jobs:
22+
deploy:
23+
environment:
24+
name: github-pages
25+
url: ${{ steps.deployment.outputs.page_url }}
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v4
30+
31+
- name: Setup Python
32+
uses: actions/setup-python@v5
33+
with:
34+
python-version: "3.x"
35+
36+
- name: Install MkDocs
37+
run: pip install mkdocs mkdocs-material
38+
39+
- name: Build docs site
40+
run: mkdocs build --strict
41+
42+
- name: Setup Pages
43+
uses: actions/configure-pages@v5
44+
45+
- name: Upload Pages artifact
46+
uses: actions/upload-pages-artifact@v3
47+
with:
48+
path: site
49+
50+
- name: Deploy to GitHub Pages
51+
id: deployment
52+
uses: actions/deploy-pages@v4

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,11 @@ See:
1313
- `docs/command-reference.md`
1414
- `docs/okdev-design.md`
1515
- `docs/okdev-implementation-plan.md`
16+
17+
## GitHub Pages Docs
18+
19+
Docs are published from `docs/` via GitHub Actions + MkDocs.
20+
21+
- Workflow: `.github/workflows/docs.yml`
22+
- Source config: `mkdocs.yml`
23+
- Expected URL: `https://acmore.github.io/okdev/`

docs/index.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# okdev
2+
3+
Lightweight Kubernetes-native dev environments for AI infra engineering.
4+
5+
## What You Get
6+
7+
- PodSpec-first config via `.okdev.yaml`
8+
- Multi-session support per repo/branch/user
9+
- Shell/SSH access, sync, and port forwarding
10+
- Cross-machine reattach with cluster-native session identity
11+
- Optional Syncthing sync engine
12+
13+
## Read the Docs
14+
15+
- [Quickstart](quickstart.md)
16+
- [Command Reference](command-reference.md)
17+
- [Design](okdev-design.md)
18+
- [Implementation Plan](okdev-implementation-plan.md)
19+
- [Troubleshooting](troubleshooting.md)

mkdocs.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
site_name: okdev
2+
site_description: Lightweight Kubernetes-native dev environments for AI infra engineering
3+
repo_url: https://github.com/acmore/okdev
4+
repo_name: acmore/okdev
5+
theme:
6+
name: material
7+
features:
8+
- navigation.sections
9+
- navigation.expand
10+
- content.code.copy
11+
markdown_extensions:
12+
- admonition
13+
- tables
14+
- toc:
15+
permalink: true
16+
nav:
17+
- Home: index.md
18+
- Quickstart: quickstart.md
19+
- Command Reference: command-reference.md
20+
- Design: okdev-design.md
21+
- Implementation Plan: okdev-implementation-plan.md
22+
- Troubleshooting: troubleshooting.md

0 commit comments

Comments
 (0)