Skip to content

Commit 119582c

Browse files
committed
add publish workflow and fix docs
1 parent 97e2533 commit 119582c

2 files changed

Lines changed: 29 additions & 8 deletions

File tree

.github/workflows/publish.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
release:
5+
types: [published]
6+
workflow_dispatch:
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
- name: Setup uv
15+
uses: astral-sh/setup-uv@v3
16+
with:
17+
version: "latest"
18+
- name: Build package
19+
run: uv build
20+
- name: Publish to PyPI
21+
run: uv publish --trusted-publishing=always

docs/index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,36 +85,36 @@ fib_10 = myproject.fibonacci(10) # Returns 55
8585

8686
<div class="grid cards" markdown>
8787

88-
- :material-rocket-launch:{ .lg .middle } **Getting Started**
88+
- 🚀 **Getting Started**
8989

9090
---
9191

9292
Install ZigX and create your first project
9393

94-
[:octicons-arrow-right-24: Installation](getting-started/installation.md)
94+
[ Installation](getting-started/installation.md)
9595

96-
- :material-book-open-variant:{ .lg .middle } **User Guide**
96+
- 📖 **User Guide**
9797

9898
---
9999

100100
Learn how to write Zig code and build Python extensions
101101

102-
[:octicons-arrow-right-24: User Guide](guide/writing-zig.md)
102+
[ User Guide](guide/writing-zig.md)
103103

104-
- :material-code-tags:{ .lg .middle } **Examples**
104+
- 💻 **Examples**
105105

106106
---
107107

108108
Explore example projects and use cases
109109

110-
[:octicons-arrow-right-24: Examples](examples/basic.md)
110+
[ Examples](examples/basic.md)
111111

112-
- :material-api:{ .lg .middle } **Reference**
112+
- 🔧 **Reference**
113113

114114
---
115115

116116
CLI commands, configuration, and API reference
117117

118-
[:octicons-arrow-right-24: Reference](reference/cli.md)
118+
[ Reference](reference/cli.md)
119119

120120
</div>

0 commit comments

Comments
 (0)