doc/directives.html in masterview-0.2.4 vs doc/directives.html in masterview-0.2.5

- old
+ new

@@ -84,9 +84,21 @@ This keyword notation avoids the need to replicate the template's own file name or it's relative path within the Rails <code>app/views</code> directory in the directive markup in the template. </p> +<h3>Default generation (output)</h3> +<p> +Typically MasterView template files will contain mv:generate or mv:gen_partial directives +to tell MasterView where to output the rendered rhtml. However if none are found in the template +file, MasterView will automatically add in a mv:generate="{template_path}" to the body tag +if found otherwise the root element. Additionally if MasterView was adding this to the body tag, +it will add in a mv:omit_tag="" which will prevent the body tag from being included in the generated +output. If you wish to disable this default generate mechanism, set the +config.default_parser_options[:default_generate] = false in your masterview settings or +environments files. +</p> + <h2>Directives Summary</h2> <table class="toc" summary="summary of directives, grouped by functional area"> <tbody> <tr class="subheader"> \ No newline at end of file