[wwwdocs] Make codingconventions.html pass W3 validator.

Gerald Pfeifer gerald@pfeifer.com
Tue Jun 5 19:24:00 GMT 2012


Hi Lawrence,

On Mon, 4 Jun 2012, Lawrence Crowl wrote:
> The following source change enables coddingconventions.html to
> pass the HTML validator at validator.w3.org.

the web pages will be preprocessed before the are put on the server
(this transparently happens upon checkin) and as part of that

  <?xml version="1.0" encoding="ISO-8859-1"?>
  <!DOCTYPE html
            PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  >

are going to be prepended to any page, plus the standard CSS reference
and footer are added, for example.

Since you ran into this, I would like to document this better.  Would
http://gcc.gnu.org/projects/web.html be a good place, or do you have
a different suggestion?

Gerald



More information about the Gcc-patches mailing list