There is no markup equivalent for any of the <s/> or <del/> HTML tags, so this
is the only thing I came up with and it looks like it works.
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
- <body>
- <h1>404 page not found</h1>
-
- <p>
- Someone appears to have eaten the <del>penguin</del>
- page you were looking for. You might want to try
- </p>
- <ul>
- <li>going back to the <a href="https://libvirt.org/">home page</a> to find
- a collection of links to interesting pages on this site</li>
- <li>using the search box at the top right corner of the screen to
- locate the content on this site or mailing list archives</li>
- </ul>
-
- </body>
-</html>
--- /dev/null
+==================
+404 page not found
+==================
+
+.. role:: del
+ :class: del
+
+.. contents::
+
+Someone appears to have eaten the :del:`penguin` page you were looking
+for. You might want to try
+
+* going back to the `home page <https://libvirt.org/>`_ to find a collection
+ of links to interesting pages on this site
+* using the search box at the top right corner of the screen to
+ locate the content on this site or mailing list archives
#contents p.topic-title {
display: none;
}
+
+span.del {
+ text-decoration: line-through;
+}
html_xslt_gen += {
'name': '404',
- 'source': 'docs' / '404.html.in',
+ 'file': docs_rst2html5_gen.process('404.rst'),
+ 'source': 'docs' / '404.rst',
'href_base': '/',
}