Skip to content

Commit af22cc4

Browse files
authored
Merge pull request #305 from txn2/github-project-improvements
Add CHANGELOG.md and mkdocs documentation site
2 parents 4528292 + a9ff5aa commit af22cc4

File tree

4 files changed

+109
-1
lines changed

4 files changed

+109
-1
lines changed

.github/workflows/docs.yml

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

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ dist
66
vendor
77
dist/
88
kubefwd
9-
RELEASE_*
9+
RELEASE_*
10+
site/

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Changelog
2+
3+
All notable changes to kubefwd are documented in [GitHub Releases](https://github.com/txn2/kubefwd/releases).
4+
5+
Each release includes:
6+
- Highlights and summary
7+
- New features
8+
- Improvements
9+
- Bug fixes
10+
- Breaking changes (when applicable)
11+
12+
## Release History
13+
14+
See [all releases](https://github.com/txn2/kubefwd/releases) for detailed changelogs.

mkdocs.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
site_name: kubefwd
2+
site_url: https://txn2.github.io/kubefwd
3+
site_description: Bulk port forwarding Kubernetes services for local development
4+
repo_url: https://github.com/txn2/kubefwd
5+
repo_name: txn2/kubefwd
6+
7+
theme:
8+
name: material
9+
palette:
10+
- scheme: default
11+
primary: indigo
12+
accent: indigo
13+
toggle:
14+
icon: material/brightness-7
15+
name: Switch to dark mode
16+
- scheme: slate
17+
primary: indigo
18+
accent: indigo
19+
toggle:
20+
icon: material/brightness-4
21+
name: Switch to light mode
22+
features:
23+
- navigation.instant
24+
- navigation.tracking
25+
- navigation.sections
26+
- search.highlight
27+
- content.code.copy
28+
29+
nav:
30+
- Home: index.md
31+
- Getting Started: getting-started.md
32+
- TUI Guide: tui-guide.md
33+
- Configuration: configuration.md
34+
- Advanced Usage: advanced-usage.md
35+
- Architecture: architecture.md
36+
- Troubleshooting: troubleshooting.md
37+
- Comparison: comparison.md
38+
39+
markdown_extensions:
40+
- pymdownx.highlight:
41+
anchor_linenums: true
42+
- pymdownx.superfences
43+
- admonition
44+
- toc:
45+
permalink: true
46+
47+
plugins:
48+
- search

0 commit comments

Comments
 (0)