Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
snippets:batou:start [2017/02/03 09:35] – Topic and subsection frlansnippets:batou:start [2018/05/16 14:31] – improve snippet a little frlan
Line 1: Line 1:
 ====== Collection of Snippets for batou ====== ====== Collection of Snippets for batou ======
 +
 +[[http://batou.readthedocs.io/en/stable/|Batou]] is a toolkit for deploying (web-)applications.
  
 ===== Templating ===== ===== Templating =====
 +
 I'd recommend to put it into default-section as when working with batou, you will need to template a huge number of different filetypes but most likely all by using Jinja-style-templating. I'd recommend to put it into default-section as when working with batou, you will need to template a huge number of different filetypes but most likely all by using Jinja-style-templating.
  
 <code> <code>
 [Default] [Default]
 +cc=class %cursor%(batou.component.Component):\n\n\tdef configure(self):\n\t\t%cursor%
 com={{component.%cursor%}} com={{component.%cursor%}}
 comparent={{component.parent.%cursor%}} comparent={{component.parent.%cursor%}}
Line 11: Line 15:
 comwork={{component.workdir}} comwork={{component.workdir}}
 </code> </code>
 +
 +
 +{{tag>snippet batou}}
Print/export