mike: make a link back to the single-page version

mike: make a link back to the single-page version

http://dev.w3.org/cvsweb/html5/spec/spec.html?r1=1.1&r2=1.2&f=h

===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- spec.html 18 Jul 2009 10:03:49 -0000 1.1
+++ spec.html 18 Jul 2009 12:41:27 -0000 1.2
@@ -197,7 +197,7 @@
     <dt>Editors:</dt>
     <dd><a href="mailto:ian@hixie.ch">Ian Hickson</a>, Google, Inc.</dd>
     <dd>David Hyatt, Apple, Inc.</dd>
-   </dl><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
+   </dl><p style="margin-bottom: 10px">The content of this document is also available as a <a href="Overview.html">single HTML file</a>.</p><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2009 <a href="http://www.w3.org/"><abbr title="World Wide
    Web Consortium">W3C</abbr></a><sup>&#174;</sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts
    Institute of Technology">MIT</abbr></a>, <a href="http://www.ercim.org/"><abbr title="European Research

Index: Makefile
===================================================================
RCS file: /sources/public/html5/spec/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Makefile 18 Jul 2009 10:20:59 -0000 1.4
+++ Makefile 18 Jul 2009 12:41:27 -0000 1.5
@@ -28,7 +28,10 @@
    | $(TEE) $(TEEFLAGS) \
    | $(GREP) $(GREPFLAGS) '<h2>' \
    | cut -c8- \
-   | $(PERL) $(PERLFLAGS) -pe "s/(^[^ ]+)\s*\n/\1.html\n/" > $@
+   | $(PERL) $(PERLFLAGS) -pe "s/(^[^ ]+)\s*\n/\1.html\n/" \
+   | > $@
+
+   $(PERL) $(PERLFLAGS) -pi -e 's|<p class="copyright">|<p style="margin-bottom: 10px">The content of this document is also available as a <a href="Overview.html">single HTML file</a>.</p><p class="copyright">|' spec.html
 
 toc-status.html: annotations.xml spec.xml tocmix.xsl
  $(XSLTPROC) --novalid --output $@ \

Received on Saturday, 18 July 2009 12:43:25 UTC