Thread (3 messages) 3 messages, 1 author, 2023-05-04
STALE1148d

[PATCH 2/2] doc: manpage: remove ancient workaround

From: Felipe Contreras <hidden>
Date: 2023-05-04 03:55:51
Subsystem: documentation, the rest · Maintainers: Jonathan Corbet, Linus Torvalds

This was added in 9b6f84d2c2 (asciidoc: add minor workaround to add an
empty line after code blocks, 2008-10-30) in order to deal with a bug in
docbook-xsl 1.72, but it was fixed in 1.74 in 2008.

No functional changes.

Signed-off-by: Felipe Contreras <redacted>
---
 Documentation/asciidoc.conf | 21 ---------------------
 1 file changed, 21 deletions(-)
diff --git a/Documentation/asciidoc.conf b/Documentation/asciidoc.conf
index 60f76f43ed..7e3de98cd7 100644
--- a/Documentation/asciidoc.conf
+++ b/Documentation/asciidoc.conf
@@ -30,27 +30,6 @@ ifdef::backend-docbook[]
 {0#</citerefentry>}
 endif::backend-docbook[]
 
-ifdef::backend-docbook[]
-ifdef::doctype-manpage[]
-# The following two small workarounds insert a simple paragraph after screen
-[listingblock]
-<example><title>{title}</title>
-<literallayout class="monospaced">
-|
-</literallayout><simpara></simpara>
-{title#}</example>
-
-[verseblock]
-<formalpara{id? id="{id}"}><title>{title}</title><para>
-{title%}<literallayout{id? id="{id}"}>
-{title#}<literallayout>
-|
-</literallayout>
-{title#}</para></formalpara>
-{title%}<simpara></simpara>
-endif::doctype-manpage[]
-endif::backend-docbook[]
-
 ifdef::backend-xhtml11[]
 [attributes]
 git-relative-html-prefix=
-- 
2.40.0+fc1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help