This is an automated email from the ASF dual-hosted git repository.
rbowen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/httpd-site.git
The following commit(s) were added to refs/heads/main by this push:
new 18c5972 Update base.html to reflect that we're publishing HTML5 now rather than xhtml, so that the validators are happy.
18c5972 is described below
commit 18c5972415171b1a5f841222faa27b289d861454
Author: Rich Bowen <[email protected]>
AuthorDate: Sun May 31 12:09:19 2026 -0400
Update base.html to reflect that we're publishing HTML5 now rather than
xhtml, so that the validators are happy.
---
content/docs-project/docsformat.md | 7 +++++++
theme/apache/templates/base.html | 9 ++++-----
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/content/docs-project/docsformat.md b/content/docs-project/docsformat.md
index 35ecde5..b34cd00 100644
--- a/content/docs-project/docsformat.md
+++ b/content/docs-project/docsformat.md
@@ -81,6 +81,13 @@ correct, and the generated HTML:
><code>./build.sh validate-xml<br></br>./build.sh validate-xhtml</code>
+The `validate-xhtml` target uses the W3C Nu HTML Checker. If you don't
+already have it, download `vnu.jar` into the `build/` directory:
+
+><code>curl -L -o vnu.jar https://github.com/validator/validator/releases/download/latest/vnu.jar</code>
+
+See [https://github.com/validator/validator](https://github.com/validator/validator) for details.
+
# Special Files #
When adding a new module, the transformation process tries to generate an
diff --git a/theme/apache/templates/base.html b/theme/apache/templates/base.html
index 3d90373..2a22e08 100644
--- a/theme/apache/templates/base.html
+++ b/theme/apache/templates/base.html
@@ -1,8 +1,7 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html lang="en">
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="/css/apsite.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<meta name="author" content="Documentation Group" /><meta name="email" content="[email protected]" />
@@ -32,7 +31,7 @@ h1:hover > .headerlink, h2:hover > .headerlink, h3:hover > .headerlink, h4:hover
</div>
<div id="site-wrapper">
<div id="apmenu">
- <script type="text/javascript" src="https://www.apachecon.com/event-images/snippet.js"></script>
+ <script src="https://www.apachecon.com/event-images/snippet.js"></script>
<p style="margin-top: -10px;">
<!-- Apachecon! -->
<a class="acevent" data-format="wide" data-mode="light" data-width="160"></a>
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.