Parcourir la Source

Update TODO notes in Hacking.

Brit Butler il y a 10 ans
Parent
commit
b3acf878e1
1 fichiers modifiés avec 7 ajouts et 28 suppressions
  1. 7 28
      docs/hacking.md

+ 7 - 28
docs/hacking.md

@@ -219,34 +219,13 @@ PAGE, a content type for static page support, is available as a plugin.
219 219
 
220 220
 ## Areas for Improvement
221 221
 
222
-### Unified Routing
223
-
224
-Right now, the templates break if you use a custom routing scheme
225
-in your config. This is flatly ridiculous. The templates should be
226
-updated to use a url field stored on each object which will store
227
-the path of the object. This can be done transparently to users,
228
-though must be handled with care and may involve refactoring
229
-in the document protocol. Test carefully. If we cheat by hardcoding
230
-the sitemap and/or feeds, that's probably okay for the moment.
231
-
232
-Turns out this is even messier than I thought. Links are built from
233
-scratch in the templates *all over the place*. Tags in posts,
234
-taglinks and monthlinks in indexes, and prev/next links in numeric
235
-indexes. I'm also doing two `find-all` calls in the base `render`
236
-method for index. So I should profile and/or memoize that if needed.
237
-
238
-We should also not have a **slug** _and_ **path** slot due to this.
239
-Currently, we track uniqueness in the site by using a hashtable
240
-keyed on `page-url`, i.e. relative paths. The paths are mostly
241
-constructed from slugs. Sometimes we use the slugs for sorting
242
-or other purposes. We should be able to build the paths at instance
243
-creation time and scrap the slugs altogether. Note that this will
244
-require changes to how we sort `NUMERIC-INDEX`.
245
-
246
-### Finish up Basic Deploy
247
-
248
-The deploy method has been simplified and a git-hook plugin added.
249
-Documentation and testing for the other deploy plugins is next.
222
+### Minor Cleanups/Tasks
223
+
224
+* Try to get tag-index urls out of the tags. Post templates use them.
225
+* Profile/memoize find-all calls in **INDEX** `render` method.
226
+* Test basic deploy, ensure links from refactor work.
227
+* Lots of docs updates for next release. At a minimum, we have broken
228
+  custom themes. Config/plugin changes are definitely necessary too.
250 229
 
251 230
 ### Deprecate :repo config option?
252 231