brechtm / rinohtype

The Python document processor
http://www.mos6581.org/rinohtype
GNU Affero General Public License v3.0
506 stars 61 forks source link

Turn templates into resources #30

Open brechtm opened 8 years ago

brechtm commented 8 years ago

Just like style sheets and typefaces, templates could be uniquely identified by name and automatically installed from PyPI.

Not sure how to handle TemplateConfiguration. Should this also be a Resource?

brechtm commented 7 years ago

DocumentTemplate inherits from Resource since 0265d14bc2627c88ebc8bd75d3b8f406ce1b543c.

It would make sense for TemplateConfigurations to also be Resources, to allow for easy publishing of different article template configurations for example.