10 Commits

Author SHA1 Message Date
Allan Odgaard
aeec0874b3 Fix warning about invalid ERB trim mode
We don’t care about the trim mode as nobody is reading the generated HTML, but we have to supply something, previously we enabled everything, which is now giving an error despite the documentation saying that trim mode can be “one or more of the following modifiers”:

	%  enables Ruby code processing for lines beginning with %
	<> omit newline for lines starting with <% and ending in %>
	>  omit newline for lines ending in %>
	-  omit blank lines ending in -%>

It would seem that ‘<>’ is mutually exclusive with ‘-’ so now we pass ‘%-’ for trim mode.
2019-12-26 23:20:48 +07:00
Joachim Mårtensson
2df7620b8d Add Ruby 2.0 support for build scripts 2014-08-03 09:05:33 +02:00
Brad Choate
e94408b0c4 Support a "--warn" switch for gen_html.
Default is to suppress any warnings for unassociated GitHub profiles.
2014-07-22 12:13:35 -07:00
Brad Choate
6753f4e3d6 Evaluate embedded ruby in markdown files
This is when generating HTML for the release notes, manual, and, where we actually need this, list of contributions.

Long-term we should probably switch to template tags as we are effectively adding code to the (otherwise declarative) build graph, which means we don’t have any way to tell if the generated HTML is up-to-date or not (as that would require analyzing the embedded ruby code).
2012-11-12 14:34:22 +07:00
Brad Choate
a1a73e8593 Don’t output markdown headers when generating HTML 2012-11-12 14:30:39 +07:00
Allan Odgaard
2b2b0b016d Make all second level headings article 2012-09-14 17:14:54 +02:00
Allan Odgaard
e4fcd7987f Update release notes styling
Thanks to Khadgar (irc nick) for this!
2012-08-28 12:54:26 +02:00
Allan Odgaard
7e186a8283 Documentation: Wrap keys in a keyEquivalent class 2012-08-27 19:29:50 +02:00
Aaron Brethorst
0462b4a18b Hardcode Ruby scripts to use the Apple-provided version of MRI 1.8 since rdoc/usage is missing in 1.9 2012-08-09 10:04:23 -07:00
Allan Odgaard
9894969e67 Initial commit 2012-08-09 16:25:56 +02:00