move docs to root

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-05-18 21:28:09 +02:00
parent 85c2806604
commit 6ea692754a
8 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ On startup, you choose:
## Plugin System
Spilltea supports plugins written in **Lua**. Plugins are loaded from `~/.config/spilltea/plugins/` by default and do not require recompilation or access to the source code.
For a full reference and examples, see the [plugin documentation](./.github/docs/plugins.md) or [plugin examples](./plugins/).
For a full reference and examples, see the [plugin documentation](./docs/plugins.md) or [plugin examples](./plugins/).
## Configuration
+1 -1
View File
@@ -2,5 +2,5 @@ package spilltea
import "embed"
//go:embed .github/docs
//go:embed docs
var DocsFS embed.FS
+1 -1
View File
@@ -19,7 +19,7 @@ import (
)
func readDoc(name string) string {
b, _ := spilltea.DocsFS.ReadFile(".github/docs/" + name)
b, _ := spilltea.DocsFS.ReadFile("./docs/" + name)
return string(b)
}