Skip to content

Commit

Permalink
0.6.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsagnes committed Feb 26, 2017
1 parent ce08af6 commit 9a4e711
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.0-dev
0.6.0
2 changes: 1 addition & 1 deletion src/doc/library-generated.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ The site derivation.
[source, nix]
.Code
----
generateSite { pageList = [ pages.index ]; }
mkSite { pageList = [ pages.index ]; }
----

Expand Down
4 changes: 2 additions & 2 deletions src/doc/release-notes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:sectnums!:

[[v0.6.0]]
=== Styx 0.6.0 - 2017/XX/XX
=== Styx 0.6.0 - 2017/02/26

==== Highlights:

Expand Down Expand Up @@ -35,7 +35,7 @@ Generic templates theme:

* Substitutions in data files have been removed in favor embedded nix. (substitutions can still be used in static files)
* `themes.load` function arguments were renamed:
** `template.extraEnv` renamed to `extraEnv`.
** `templates.extraEnv` renamed to `extraEnv`.
** `conf.extraConf` renamed to `extraConf`.
* `loadDir` and `loadFile` functions arguments have changed.
* `mkMultiTail` function have been removed in favor of `mkPageList`.
Expand Down
6 changes: 0 additions & 6 deletions src/doc/styx-themes-generated.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4637,12 +4637,6 @@ rec {
};
/*-----------------------------------------------------------------------------
generateSite arguments preparation
-----------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------
Site rendering
Expand Down
2 changes: 1 addition & 1 deletion src/lib/generation.nix
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ rec {

examples = [ (mkExample {
literalCode = ''
generateSite { pageList = [ pages.index ]; }
mkSite { pageList = [ pages.index ]; }
'';
}) ];

Expand Down
4 changes: 2 additions & 2 deletions src/scaffold/sample-data/posts/2016-09-19-blog-tutorial.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -363,14 +363,14 @@ In `site.nix` find:

[source, nix]
----
pagesList = lib.pagesToList { inherit pages; };
pageList = lib.pagesToList { inherit pages; };
----

Let's add the default layout here:

[source, nix]
----
pagesList = lib.pagesToList { inherit pages; default = { layout = templates.layout; }; };
pageList = lib.pagesToList { inherit pages; default = { layout = templates.layout; }; };
----

And remove all the `layout` declarations using `templates.layout` of our pages:
Expand Down
2 changes: 1 addition & 1 deletion themes/orbit
Submodule orbit updated 1 files
+0 −6 example/site.nix

0 comments on commit 9a4e711

Please sign in to comment.