diff options
author | Aylur <[email protected]> | 2024-09-01 15:23:08 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-09-01 15:23:08 +0200 |
commit | 6c4753b5e14a50c617e326d97d270ff51156a183 (patch) | |
tree | 560ffd167d6b4f1da04e545990666c447c15e35b /docs/README.md | |
parent | 27c25b0e6070f291b33107a0bbfe5086b6d3f119 (diff) |
initial docs
Diffstat (limited to 'docs/README.md')
-rw-r--r-- | docs/README.md | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..77144d5 --- /dev/null +++ b/docs/README.md @@ -0,0 +1,30 @@ +# Astal Docs + +[](https://starlight.astro.build) + +This directory contains the Astal documentation website. Hosted at [aylur.github.io/astal](https://aylur.github.io/astal/) + +## Commands + +| Command | Action | +| :---------------- | :------------------------------------------ | +| `npm install` | Installs dependencies | +| `npm run dev` | Starts local dev server at `localhost:4321` | +| `npm run build` | Build your production site to `./dist/` | +| `npm run preview` | Preview your build locally | + +## Add your creation to the landing page + +1. Add your image as a webp to `public/showcase` +2. Add it to `src/content/showcases.ts` + - `src` should be `/astal/showcase/your-name-optional-title.webp` + - `url` should point to the source code of the showcased widget + - `author` your name + +``` +. +├── public/showcase +│ └── your-name-optional-title.webp # 1. add image +└── src/content/ + └── showcases.ts # 2. add information +``` |