From 6214b7bc87627f01ce5e776d136002fa5402544e Mon Sep 17 00:00:00 2001 From: Hayleigh Thompson Date: Wed, 21 Feb 2024 13:58:05 +0000 Subject: :wrench: Add external pages to generated docs. --- gleam.toml | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) (limited to 'gleam.toml') diff --git a/gleam.toml b/gleam.toml index 3f58079..8fc70f7 100644 --- a/gleam.toml +++ b/gleam.toml @@ -1,14 +1,16 @@ name = "lustre" version = "3.1.3" +gleam = ">= 0.33.0" description = "An Elm-inspired framework for building single page applications and server-rendered components in Gleam!" -licences = ["MIT"] repository = { type = "github", user = "lustre-labs", repo = "lustre" } +licences = ["MIT"] + links = [ { title = "Website", href = "https://lustre.build" }, + { title = "Examples", href = "https://github.com/lustre-labs/lustre/tree/main/examples" }, { title = "Sponsor", href = "https://github.com/sponsors/hayleigh-dot-dev" }, ] -gleam = ">= 0.33.0" internal_modules = [ "lustre/cli", @@ -17,6 +19,26 @@ internal_modules = [ "lustre/internals/*", ] +[documentation] +pages = [ + { title = "CLI reference", path = "#", source = "" }, + { title = " ", path = "#", source = "" }, + { title = "Quickstart guide", path = "guide/01-quickstart.html", source = "./docs/guide/01-quickstart.md" }, + { title = "Managing state", path = "#", source = "" }, + { title = "Side effects", path = "#", source = "" }, + { title = "Server-side rendering", path = "#", source = "" }, + { title = "Components", path = "#", source = "" }, + { title = "Server components", path = "#", source = "" }, + { title = " ", path = "#", source = "" }, + { title = "Using with Wisp", path = "#", source = "" }, + { title = "Using with Glen", path = "#", source = "" }, + { title = "Using with Mist", path = "#", source = "" }, + { title = " ", path = "#", source = "" }, + { title = "For Elm developers", path = "#", source = "" }, + { title = "For React developers", path = "#", source = "" }, + { title = "For LiveView developers", path = "#", source = "" }, +] + [dependencies] argv = "~> 1.0" filepath = "~> 0.1" -- cgit v1.2.3