diff --git a/guide/2015602.md b/guide/2015602.md deleted file mode 100644 index 324a69f..0000000 --- a/guide/2015602.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: Guide ---- - -Assuming you have read the [[2014301]], use this portal to -understand how to do certain things in Rib. - -[[[z:zettels?tag=guide]]] diff --git a/guide/2014302.md b/guide/examples.md similarity index 100% rename from guide/2014302.md rename to guide/examples.md diff --git a/guide/guide.md b/guide/guide.md new file mode 100644 index 0000000..41cb20e --- /dev/null +++ b/guide/guide.md @@ -0,0 +1,6 @@ +# Guide + +Assuming you have read the [[tutorial]], use this portal to +understand how to do certain things in Rib. + +[[[z:zettels?tag=guide]]] diff --git a/guide/index.md b/guide/index.md index 1da1476..f6e549a 100644 --- a/guide/index.md +++ b/guide/index.md @@ -19,7 +19,7 @@ reinventing their capabilities. Time spent using rib is time spent learning them - Remain as simple as possible to use - Reproducible and a delightful workflow enabled by Nix, ghcid and fsnotify. -See [[[2015601]]] to get a feel for what your code may look like. +See [[[preview]]] to get a feel for what your code may look like. ## Getting Started @@ -30,7 +30,7 @@ repository, [**rib-sample**](https://github.com/srid/rib-sample), from Github. ## Next -* [[[2014301]]] -* [[[2015602]]] -* [[[2014302]]] +* [[[tutorial]]] +* [[[guide]]] +* [[[examples]]] diff --git a/guide/neuron.dhall b/guide/neuron.dhall index 2a4ffb0..9ebf0a4 100644 --- a/guide/neuron.dhall +++ b/guide/neuron.dhall @@ -1,11 +1,13 @@ -{ siteTitle = - "Rib" -, siteBaseUrl = - Some "https://rib.srid.ca" -, theme = - "green" -, editUrl = - Some "https://github.com/srid/rib/edit/master/guide/" -, minVersion = - "0.2" +{ siteTitle = "Rib" +, siteBaseUrl = Some "https://rib.srid.ca" +, theme = "green" +, editUrl = Some "https://github.com/srid/rib/edit/master/guide/" +, aliases = + [ "2014302:examples" + , "2015602:guide" + , "2014301:tutorial" + , "2015604:typed-routes" + , "2015603:syntax-highlighting" + , "2015601:preview" + ] } diff --git a/guide/2015601.md b/guide/preview.md similarity index 100% rename from guide/2015601.md rename to guide/preview.md diff --git a/guide/2015603.md b/guide/syntax-highlighting.md similarity index 100% rename from guide/2015603.md rename to guide/syntax-highlighting.md diff --git a/guide/2014301.md b/guide/tutorial.md similarity index 99% rename from guide/2014301.md rename to guide/tutorial.md index 1be74ea..74c360f 100644 --- a/guide/2014301.md +++ b/guide/tutorial.md @@ -19,7 +19,7 @@ content/ default.nix Main.hs README.md rib-sample.cabal The three key items here are: 1. `Main.hs`: Haskell source containing the DSL of the HTML/CSS of your site. - See [[2015601]]. + See [[preview]]. 2. `content/`: The source content (eg: Markdown sources and static files) 3. `dest/`: The target directory, excluded from the git repository, will contain _generated_ content (i.e., the HTML files, and copied over static content) diff --git a/guide/2015604.md b/guide/typed-routes.md similarity index 96% rename from guide/2015604.md rename to guide/typed-routes.md index a6c0449..2529747 100644 --- a/guide/2015604.md +++ b/guide/typed-routes.md @@ -7,8 +7,8 @@ tags: Rib includes an optional route system based on [GADT](https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/gadt.html)s than can be used to define safe and structured routes for your site. The sample repo -used in [[2014301]] already uses routes, and you can see the entire code in -[[2015601]] to see all of this would fit together in a static site +used in [[tutorial]] already uses routes, and you can see the entire code in +[[preview]] to see all of this would fit together in a static site generator.