]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
docs: sphinx: remove SPDX/copyright comments from HTML output
authorVegard Nossum <vegard.nossum@oracle.com>
Sat, 30 Aug 2025 17:08:08 +0000 (19:08 +0200)
committerJonathan Corbet <corbet@lwn.net>
Wed, 3 Sep 2025 21:50:51 +0000 (15:50 -0600)
Use Jinja2 comments instead of HTML comments for the SPDX and copyright
lines. This prevents them from appearing in the HTML output, which was
never the intention; the HTML output has its own copyright line at the
bottom of the document.

Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20250830170808.3911151-1-vegard.nossum@oracle.com
Documentation/sphinx/templates/kernel-toc.html
Documentation/sphinx/templates/translations.html

index 41f1efbe64bb2898f1770deb128630b316a68a08..b84969bd31c4fa2432420199bdf242545029e299 100644 (file)
@@ -1,4 +1,5 @@
-<!-- SPDX-License-Identifier: GPL-2.0 -->
+{# SPDX-License-Identifier: GPL-2.0 #}
+
 {# Create a local TOC the kernel way #}
 <p>
 <h3 class="kernel-toc-contents">Contents</h3>
index 8df5d42d8dcd8810219957691ba1020db3772212..351586f419386deea1f60a8cda647a7c1231a997 100644 (file)
@@ -1,5 +1,5 @@
-<!-- SPDX-License-Identifier: GPL-2.0 -->
-<!-- Copyright © 2023, Oracle and/or its affiliates. -->
+{# SPDX-License-Identifier: GPL-2.0 #}
+{# Copyright © 2023, Oracle and/or its affiliates. #}
 
 {# Create a language menu for translations #}
 {% if languages|length > 0: %}