Browse Source

add assets -> styles, consolidate md files

month_name
AJ ONeal 9 years ago
parent
commit
d98d514ca4
  1. 19
      BUGS.md
  2. 0
      DATA.md
  3. 51
      MIGRATE.md
  4. 52
      TODO.md
  5. 1
      desirae.js

19
BUGS.md

@ -1,19 +0,0 @@
BUGS
====
* index page /index/index.html
* rss feed missing
Usability
=========
* compile dev vs prod
* new posts
Feautres
========
* permalink url maker
* tags
* categories
* output to os.tmpdir (i.e. /tmp)

0
DESI.md → DATA.md

51
MIGRATE.md

@ -1,51 +0,0 @@
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]
```
All directories are ignored by default. If you want a directory to be interpreted as a collection of pages you need to specify it in the `collections` hash.
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.

52
TODO.md

@ -83,3 +83,55 @@ Overlays
For any config a widget uses, it should also check on post.fooconfig and theme.fooconfig to make sure that they don't override the foogizmo.config.fooconfig
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]
```
All directories are ignored by default. If you want a directory to be interpreted as a collection of pages you need to specify it in the `collections` hash.
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.

1
desirae.js

@ -775,6 +775,7 @@
, title: view.site.title
}
, styles: view.desi.styles.join('\n')
, assets: view.desi.styles.join('\n')
, widgets: {
comments: view.site.disqus_shortname &&
Mustache.render(view.desi.partials.disqus, { disqus: {

Loading…
Cancel
Save