Commit Graph

8 Commits

Author SHA1 Message Date
Eric Paris
8886a9940d Rewrite how the munger works
The basic idea is that in the main mungedocs we run the entirefile and
create an annotated set of lines about that file. All mungers then act
on a struct mungeLines instead of on a bytes array. Making use of the
metadata where appropriete. Helper functions exist to make updating a
'macro block' extremely easy.
2015-07-30 20:41:30 -04:00
Eric Paris
4cbca2e63c Make munger begin/end less generic
Just force the beginMungeTag() endMungeTag() macros on users, by hiding
it under the covers. It really simplies things for users.
2015-07-30 20:41:30 -04:00
Daniel Smith
86ecc4f966 fix unversioned test 2015-07-17 11:59:13 -07:00
Tim Hockin
542e13d2d3 Better scary message 2015-07-17 09:28:49 -07:00
Tim Hockin
6277801f82 Change warning.png to not go through a redirect 2015-07-14 17:28:10 -07:00
Tim Hockin
c4953c6287 Add an image to unversioned warnings 2015-07-14 15:28:59 -07:00
Tim Hockin
ad8f8731b6 Use a common set of tag prefixes for munges
All munges now start with `<!-- BEGIN MUNGE:` and end with `<!-- END MUNGE:`.
This lets me (in a followup) filter them better to normalize contents during
verification of generated docs.
2015-07-13 11:23:07 -07:00
Tim Hockin
8fceb754d8 Add 'warning: is unversioned' header to all docs
Mungedocs will keep this updated in head, and it will get stricken from
releases.
2015-07-13 11:23:07 -07:00