Create MIGRATE.md

This commit is contained in:
AJ ONeal 2015-01-03 22:52:40 -07:00
parent 3e9431ff2c
commit 0d8474c26a
1 changed files with 49 additions and 0 deletions

49
MIGRATE.md Normal file
View File

@ -0,0 +1,49 @@
Migrating from Ruhoh
====================
There are only a few things in Ruhoh that could only be done in ruby or were otherwise difficult to work around.
config.yml
----------
Instead of having special names for some properties (`_root`)
and `use` sub attributes for others (`twitter` theme, posts directory),
I opted to move related stuff together.
```
RuhohSpec 2.6 -> NuhohSpec 3.0
production_url -> production.canonical_url, development.canonical_url
base_path -> production.base_path, development.base_path
compiled_path -> development.compiled_path
twitter -> themes.twitter
twitter.use = theme -> themes.default = twitter
_root -> root
posts -> collections.posts
asset_pipeline [REMOVED (ruby only)]
widgets [NO CHANGE]
```
data.yml
--------
No changes
config.ru
---------
REMOVED (ruby only)
themes layout
-------------
TODO
`twitter/default.html` has stuff like `{{# data.navigation?to__root }}{{> page_list }}{{/ data.navigation?to__root }}`
that appears to be ruby-only syntax that will need to be changed.