Skip to content

Commit 1a2f8ba

Browse files
committed
Initial commit: xcompose-stem
0 parents  commit 1a2f8ba

22 files changed

+29268
-0
lines changed

.github/workflows/deploy-pages.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Deploy Documentation to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
workflow_dispatch: # Allow manual trigger
7+
8+
# Sets permissions for GitHub Pages deployment
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
# Allow only one concurrent deployment
15+
concurrency:
16+
group: "pages"
17+
cancel-in-progress: false
18+
19+
jobs:
20+
deploy:
21+
runs-on: ubuntu-latest
22+
23+
environment:
24+
name: github-pages
25+
url: ${{ steps.deployment.outputs.page_url }}
26+
27+
steps:
28+
- name: Checkout repository
29+
uses: actions/checkout@v3
30+
31+
- name: Set up Python
32+
uses: actions/setup-python@v4
33+
with:
34+
python-version: '3.x'
35+
36+
- name: Generate documentation
37+
run: make docs
38+
39+
- name: Setup Pages
40+
uses: actions/configure-pages@v4
41+
42+
- name: Upload artifact
43+
uses: actions/upload-pages-artifact@v3
44+
with:
45+
path: 'docs'
46+
47+
- name: Deploy to GitHub Pages
48+
id: deployment
49+
uses: actions/deploy-pages@v4

.github/workflows/validate.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Validate XCompose
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
pull_request:
7+
branches: [ main, master ]
8+
9+
jobs:
10+
validate:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: '3.x'
20+
21+
- name: Validate XCompose syntax
22+
run: make validate
23+
24+
- name: Run design audit
25+
run: make test
26+
27+
- name: Check documentation is up to date
28+
run: make check-docs
29+
30+
- name: Summary
31+
if: success()
32+
run: |
33+
echo "✅ All validations passed!"
34+
echo "✅ XCompose file is valid"
35+
echo "✅ Design quality checks passed"
36+
echo "✅ Documentation is up to date"

.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Python
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
*.so
6+
.Python
7+
8+
# IDEs
9+
.vscode/
10+
.idea/
11+
*.swp
12+
*.swo
13+
*~
14+
15+
# OS
16+
.DS_Store
17+
Thumbs.db
18+
19+
# Temporary files
20+
*.tmp
21+
*.bak
22+
*.backup
23+
24+
# Claude Code
25+
.claude/

0 commit comments

Comments
 (0)