Move docs to Gitea wiki; point README links at wiki
CI / test (push) Successful in 21s
CI / docker (push) Skipped

This commit is contained in:
fen
2026-09-09 18:52:41 -05:00
parent 5afe81f34c
commit e17ea4f8c2
10 changed files with 5 additions and 662 deletions
+5 -5
View File
@@ -24,8 +24,8 @@ a web UI for sharing text and small files
| | |
|---|---|
| ![Editor in midnight](docs/palette-previews/midnight-new.png) | ![Paste view in pastel-peach](docs/palette-previews/pastel-peach-paste.png) |
| ![History in pastel-lavender](docs/palette-previews/pastel-lavender-history.png) | ![Saved in pastel-cloud](docs/palette-previews/pastel-cloud-mine.png) |
| ![Editor in midnight](https://git.archfox.org/poslop/palette/wiki/raw/palette-previews%2Fmidnight-new.png) | ![Paste view in pastel-peach](https://git.archfox.org/poslop/palette/wiki/raw/palette-previews%2Fpastel-peach-paste.png) |
| ![History in pastel-lavender](https://git.archfox.org/poslop/palette/wiki/raw/palette-previews%2Fpastel-lavender-history.png) | ![Saved in pastel-cloud](https://git.archfox.org/poslop/palette/wiki/raw/palette-previews%2Fpastel-cloud-mine.png) |
## Get Started
@@ -66,17 +66,17 @@ go build -o palette .
An `/admin` page exists for runtime settings, protected by a key set at
install (`PALETTE_ADMIN_KEY` env var) and resettable locally — see
[docs/API.md](docs/API.md) and [docs/design/](docs/design/) for details.
[API](https://git.archfox.org/poslop/palette/wiki/API) and the [design docs](https://git.archfox.org/poslop/palette/wiki/Home) in the wiki for details.
## API
Full REST API: [docs/API.md](docs/API.md). One example:
Full REST API: [wiki/API](https://git.archfox.org/poslop/palette/wiki/API). One example:
```bash
curl -X POST http://localhost:8080/api/pastes -d '{"content":"hello"}'
```
Design docs: [docs/design/](docs/design/).
Design docs: [wiki/design](https://git.archfox.org/poslop/palette/wiki/design/attachments-storage) (e2e encryption, attachments & storage, cookie preferences).