From: Stephen Burrows Date: Fri, 13 May 2011 17:22:11 +0000 (-0400) Subject: Moved templatetag docs into the respective modules and fleshed them out. Centralized... X-Git-Tag: philo-0.9~12^2~13 X-Git-Url: http://git.ithinksw.org/philo.git/commitdiff_plain/46997a51ed0ceb16ddbac712fbcb552a86cdc9e2 Moved templatetag docs into the respective modules and fleshed them out. Centralized adding of template tags to builtins. Added __all__ declarations to philo.models.*. Added a bit of documentation to Page.render_to_string about context variables. --- diff --git a/docs/models/entities.rst b/docs/models/entities.rst index d794c90..20a6e80 100644 --- a/docs/models/entities.rst +++ b/docs/models/entities.rst @@ -16,6 +16,7 @@ Attributes :members: .. automodule:: philo.models.base + :noindex: :members: attribute_value_limiter .. autoclass:: JSONValue diff --git a/docs/templatetags.rst b/docs/templatetags.rst index 60224eb..97f0c56 100644 --- a/docs/templatetags.rst +++ b/docs/templatetags.rst @@ -7,68 +7,25 @@ Collections +++++++++++ .. automodule:: philo.templatetags.collections - - .. templatetag:: membersof - - membersof - --------- - - Usage:: - - {% membersof with . as %} -.. automodule:: philo.templatetags.containers +Containers +++++++++++ - .. templatetag:: container - - container - --------- - - Usage:: - - {% container [[references .] as ] %} +.. automodule:: philo.templatetags.containers -.. automodule:: philo.templatetags.embed - .. templatetag:: embed - - embed - ----- - - The {% embed %} tag can be used in two ways. - - To set which template will be used to render a particular model:: - - {% embed . with