Skip to content

Commit 15b1143

Browse files
authored
Merge pull request #76 from raiderrobert/fix/docs-cleanup
fix: docs cleanup — linked cards, README 404, simplify templates
2 parents aa255a7 + d0d6de4 commit 15b1143

2 files changed

Lines changed: 9 additions & 19 deletions

File tree

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,12 @@ diecut new ./my-template --output my-project
3232
diecut list
3333
```
3434

35-
### Available starter templates
35+
### Starter templates
3636

37-
See [diecut-templates](https://github.com/raiderrobert/diecut-templates) for the full list.
37+
[diecut-templates](https://github.com/raiderrobert/diecut-templates) has ready-to-use templates:
3838

3939
```bash
40-
diecut new gh:raiderrobert/diecut-templates/python-pkg # Python package (src layout, hatchling)
41-
diecut new gh:raiderrobert/diecut-templates/rust-cli # Rust CLI application
42-
diecut new gh:raiderrobert/diecut-templates/static-site # Static HTML site
40+
diecut new gh:raiderrobert/diecut-templates/python-pkg --output my-project
4341
```
4442

4543
## Documentation
@@ -50,7 +48,7 @@ Full documentation: **[diecut docs](https://diecut.dev/)**
5048
- [Using Templates](https://diecut.dev/using-templates/) — sources, overrides, abbreviations
5149
- [Creating Templates](https://diecut.dev/creating-templates/) — build your own templates
5250
- [Commands Reference](https://diecut.dev/reference/commands/) — all CLI commands and options
53-
- [diecut.toml Reference](https://diecut.dev/diecut/reference/diecut-toml/) — complete config file reference
51+
- [diecut.toml Reference](https://diecut.dev/reference/diecut-toml/) — complete config file reference
5452

5553
## Contributing
5654

docs/src/content/docs/index.mdx

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,13 @@ hero:
1515
variant: minimal
1616
---
1717

18-
import { Card, CardGrid } from '@astrojs/starlight/components';
18+
import { LinkCard, CardGrid } from '@astrojs/starlight/components';
1919

2020
<CardGrid>
21-
<Card title="Single binary" icon="rocket">
22-
No Python, no Node, no runtime dependencies. Download one file and go.
23-
</Card>
24-
<Card title="Easy to make" icon="pencil">
25-
A diecut.toml and a folder — that's a template. You just made one.
26-
</Card>
27-
<Card title="Multi-template repos" icon="puzzle">
28-
One repo, many templates. Use subpaths to pick the one you want.
29-
</Card>
30-
<Card title="Any Git host" icon="external">
31-
GitHub, GitLab, Bitbucket, Sourcehut — or any Git URL.
32-
</Card>
21+
<LinkCard title="Single binary" description="No Python, no Node, no runtime dependencies. Download one file and go." href="/getting-started/" />
22+
<LinkCard title="Easy to make" description="A diecut.toml and a folder — that's a template. You just made one." href="/creating-templates/" />
23+
<LinkCard title="Multi-template repos" description="One repo, many templates. Use subpaths to pick the one you want." href="/using-templates/" />
24+
<LinkCard title="Any Git host" description="GitHub, GitLab, Bitbucket, Sourcehut — or any Git URL." href="/using-templates/" />
3325
</CardGrid>
3426

3527
## Why diecut?

0 commit comments

Comments
 (0)