Skip to content

Commit 6f1845e

Browse files
committed
Add comprehensive docs/ with Zensical site generator
- 7 documentation pages: getting-started, api-reference, skill-signing, trust-bundles, deployment, troubleshooting, index - Zensical config (zensical.toml) and GitHub Actions workflow for Pages - Updated context7.json with docs/ folder references
1 parent 67e462a commit 6f1845e

10 files changed

Lines changed: 2260 additions & 1 deletion

File tree

.github/workflows/docs.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Documentation
2+
on:
3+
push:
4+
branches:
5+
- main
6+
paths:
7+
- 'docs/**'
8+
- 'zensical.toml'
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
jobs:
14+
deploy:
15+
environment:
16+
name: github-pages
17+
url: ${{ steps.deployment.outputs.page_url }}
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/configure-pages@v5
21+
- uses: actions/checkout@v5
22+
- uses: actions/setup-python@v5
23+
with:
24+
python-version: 3.x
25+
- run: pip install zensical
26+
- run: zensical build --clean
27+
- uses: actions/upload-pages-artifact@v4
28+
with:
29+
path: site
30+
- uses: actions/deploy-pages@v4
31+
id: deployment

context7.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,14 @@
1111
"python/README.md",
1212
"javascript/README.md",
1313
"rust/README.md",
14-
"go/README.md"
14+
"go/README.md",
15+
"docs/index.md",
16+
"docs/getting-started.md",
17+
"docs/api-reference.md",
18+
"docs/skill-signing.md",
19+
"docs/trust-bundles.md",
20+
"docs/deployment.md",
21+
"docs/troubleshooting.md"
1522
],
1623
"excludeFolders": [
1724
"**/node_modules",

0 commit comments

Comments
 (0)