summaryrefslogtreecommitdiffstats
path: root/examples/code/snippets
diff options
context:
space:
mode:
authornfagerlund <nick.fagerlund@gmail.com>2011-05-20 18:38:13 -0700
committerMatt Robinson <matt@puppetlabs.com>2011-05-26 16:04:42 -0700
commit4662f4d0aa57a8792b824338e82e89ca4ddb0960 (patch)
tree9452ac9b4a4b0f411d8c71ad3bd88e8730dfd27c /examples/code/snippets
parent331d8128288f8c7bb3645149ff452372c0866429 (diff)
downloadpuppet-4662f4d0aa57a8792b824338e82e89ca4ddb0960.tar.gz
puppet-4662f4d0aa57a8792b824338e82e89ca4ddb0960.tar.xz
puppet-4662f4d0aa57a8792b824338e82e89ca4ddb0960.zip
(#7564) Finish templates
This is a rebase of the following commits: * (#7563) Add a template for manpages In order to generate manpages in a reasonably maintainable way, we need to format text from the Faces help API for use with Ronn (https://github.com/rtomayko/ronn/). This commit adds a man template to the help templates folder; it has been verified to generate Ronn-friendly input text. It isn't currently called by any applications, but can be demonstrated by exchanging it for face.erb. * (#7634) Change ERB trim mode used in the Faces help API <%= something -%> tags (note the minus) are unavoidably necessary at at least one point in the Faces help templates. ERB objects instantiated with the % trim mode will blow up horribly whenever one of these tags appears. This commit changes the trim mode to `-` and refactors all help templates accordingly. * (#7563) Refactor short help templates This commit attempts to bring the short face and action help templates closer to the goals of fitting cleanly on one screen, fitting the prevailing *nix aesthetic, and being useful without overwhelming the user.
Diffstat (limited to 'examples/code/snippets')
0 files changed, 0 insertions, 0 deletions