Skip to content
This repository was archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MoOx committed May 5, 2016
1 parent c588f42 commit b6021ca
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# 0.12.0 - 2016-05-05

## tl;dr;

**Don't be afraid by the length of this release notes. It's for the better.**
Expand All @@ -12,6 +14,9 @@ boilerplate:
single one ``webpack.config.babel.js``. Phenomic specific configuration can be
removed (eg: ``entry``) and is now injected via Phenomic itself.

[Example of update from phenomic 0.10 to 0.12](https://github.com/putaindecode/putaindecode.io/commit/6c830193a4f873790df3d10df9ef3e2e89bbd36b)


## Details

- Fixed: Meta description should not contains new lines
Expand Down Expand Up @@ -62,7 +67,7 @@ boilerplate:
- Removed: ``scripts/build.js`` in favor of ``scripts/phenomic.node.js``.
_The path can be specified via an option (via CLI or config)._
Note that this file will be builded as
``scripts/phenomic.node.bundled.js`` for performance.
``scripts/phenomic.node.bundle.js`` for performance.
(New boilerplate (git)ignores ``*.bundle.js`` files).
- Changed: ``scripts/index-client.js`` is now
``scripts/phenomic.browser.js``.
Expand Down
17 changes: 10 additions & 7 deletions docs/content/docs/usage/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,9 @@ export const makeConfig = (config = {}) => {
{
test: /\.md$/,
loader: "phenomic/lib/content-loader",
// you can also define options here, but functions will be ignored
// because how webpack works

// you can also define options here, but functions will be silently
// ignored because how webpack works
// query: {
// ...
// }
Expand All @@ -176,13 +177,15 @@ export const makeConfig = (config = {}) => {

phenomic: {
contentLoader: {

// the context where to read .md to
context: path.join(__dirname, config.source),
// renderer: (text) => {
// // here you can use whatever engine you want,
// // you just need to return some HTML
// retur html
// }

renderer: (text) => {
// here you can use whatever engine you want,
// you just need to return some HTML
return html
}

// RSS global options
feedsOptions: {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "phenomic",
"version": "0.11.0",
"version": "0.12.0",
"description": "Modern static website generator to create dynamic websites using React components.",
"keywords": [
"react",
Expand Down

0 comments on commit b6021ca

Please sign in to comment.