diff --git a/README.md b/README.md index 5dbcf22..939077c 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docs.go b/docs.go index 2960569..00776d9 100644 --- a/docs.go +++ b/docs.go @@ -2,5 +2,5 @@ package spilltea import "embed" -//go:embed .github/docs +//go:embed docs var DocsFS embed.FS diff --git a/.github/docs/certificate.md b/docs/certificate.md similarity index 100% rename from .github/docs/certificate.md rename to docs/certificate.md diff --git a/.github/docs/history.md b/docs/history.md similarity index 100% rename from .github/docs/history.md rename to docs/history.md diff --git a/.github/docs/main.md b/docs/main.md similarity index 100% rename from .github/docs/main.md rename to docs/main.md diff --git a/.github/docs/plugins.md b/docs/plugins.md similarity index 100% rename from .github/docs/plugins.md rename to docs/plugins.md diff --git a/.github/docs/proxy.md b/docs/proxy.md similarity index 100% rename from .github/docs/proxy.md rename to docs/proxy.md diff --git a/internal/ui/docs/model.go b/internal/ui/docs/model.go index 621f281..50b2227 100644 --- a/internal/ui/docs/model.go +++ b/internal/ui/docs/model.go @@ -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) }