Browse Source

Update NEWS and remove user-defined routing item from docs.

Brit Butler 11 years ago
parent
commit
e26ed4398c
2 changed files with 8 additions and 14 deletions
  1. 8 2
      NEWS.md
  2. 0 12
      docs/hacking.md

+ 8 - 2
NEWS.md

1
 ## Changes for 0.9.4 (2013-05-05):
1
 ## Changes for 0.9.4 (2013-05-05):
2
 
2
 
3
+* **SITE-BREAKING CHANGE**: Coleslaw now supports user-defined routing.
4
+  Instead of hard-coding the paths various content types are stored at,
5
+  they must be specified in the configuration file (.coleslawrc). Just
6
+  copy the `:routing` key from the [example][single_site.rc] to get
7
+  the old behavior.
3
 * Coleslaw no longer expects a particular repo layout. Use whatever
8
 * Coleslaw no longer expects a particular repo layout. Use whatever
4
   directory hierarchy you like.
9
   directory hierarchy you like.
5
 
10
 
69
 
74
 
70
 * Initial release.
75
 * Initial release.
71
 
76
 
72
-[hacking_guide]: https://github.com/redline6561/coleslaw/blob/master/docs/hacking.md
73
-[theming_guide]: https://github.com/redline6561/coleslaw/blob/master/docs/themes.md
77
+[hacking_guide]:  https://github.com/redline6561/coleslaw/blob/master/docs/hacking.md
78
+[theming_guide]:  https://github.com/redline6561/coleslaw/blob/master/docs/themes.md
79
+[single_site.rc]: https://github.com/redline6561/coleslaw/blob/master/examples/single-site.coleslawrc

+ 0 - 12
docs/hacking.md

176
 function. There may be other areas where it was assumed tags/dates
176
 function. There may be other areas where it was assumed tags/dates
177
 will always be present.
177
 will always be present.
178
 
178
 
179
-### User-Defined Routing
180
-
181
-There is no reason *coleslaw* should be in charge of the site layout or
182
-should care. If all objects only used the *slug* slot in their `page-url`
183
-methods, there could be a :routing argument in the config containing
184
-a plist of `(:class "~{format string~}")` pairs. A default method could
185
-check the :class key under `(routing *config*)` if no specialized
186
-`page-url` was defined. This would have the additional benefit of
187
-localizing all the site routing in one place. New Content Types would
188
-probably `pushnew` a plist onto the config key in their `enable` function.
189
-This has been implemented on the branch `user-defined-routing`.
190
-
191
 ### New Content Type: Pages!
179
 ### New Content Type: Pages!
192
 
180
 
193
 Many users have requested a content type PAGE, for static pages. It
181
 Many users have requested a content type PAGE, for static pages. It