diff options
author | nfagerlund <nick.fagerlund@gmail.com> | 2011-05-20 18:38:13 -0700 |
---|---|---|
committer | nfagerlund <nick.fagerlund@gmail.com> | 2011-05-26 10:07:40 -0700 |
commit | 74aff59532e83453df7e90dedd42226811e9d19c (patch) | |
tree | 472322202e462e30dd4d5776016b295ddcab0119 /lib/puppet/interface/documentation.rb | |
parent | 30263333cd30e40468d02e5cc77a0253415cf3e2 (diff) | |
download | puppet-74aff59532e83453df7e90dedd42226811e9d19c.tar.gz puppet-74aff59532e83453df7e90dedd42226811e9d19c.tar.xz puppet-74aff59532e83453df7e90dedd42226811e9d19c.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 'lib/puppet/interface/documentation.rb')
0 files changed, 0 insertions, 0 deletions