Make everything documents #190

Closed
balupton opened this Issue Apr 25, 2012 · 1 comment

1 participant

@balupton
DocPad member

This is planned for DocPad v5.2, which would entail giving everything a document class.

This will enable us to accomplish:

  • differential rendering (only re-render the files that have changed)
  • easier adoption of DocPad when migrating from existing websites
  • query-engine for other files (already possible in v5.1 - providing everything is inside the documents directory)

What may be needed:

  • get rid of the partial and layout classes, and opt for a type attribute inside documents. E.g. type: "layout" would go inside a layout's meta data.
    • this will enable advanced stuff like having multiple types of documents, querying by type, and default attributes for types
@balupton
DocPad member

Released alongside DocPad v5.2

@balupton balupton closed this May 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment