summaryrefslogtreecommitdiff
path: root/Documentation/sphinx
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2023-02-16 16:06:44 -0700
committerJonathan Corbet <corbet@lwn.net>2023-02-16 16:06:44 -0700
commit4e98799a7021b51d1e641a8150ef71ef90c756ab (patch)
tree6066f171d8f2599cc9e3cb23641a4597460335ae /Documentation/sphinx
parentc404f5d4f0993e9d75a4de5a91280e9cb2419281 (diff)
docs: Use HTML comments for the kernel-toc SPDX line
This line was initially placed in {# jinja2 comments #}, but that led to an "invalid token" complaint from spdxcheck.py. Rather than fix the script for a usage we'll likely never see anywhere else, just switch to an HTML comment, which spdxcheck.py thinks is fine. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/sphinx')
-rw-r--r--Documentation/sphinx/templates/kernel-toc.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/sphinx/templates/kernel-toc.html b/Documentation/sphinx/templates/kernel-toc.html
index 426312af8a8e..b58efa99df52 100644
--- a/Documentation/sphinx/templates/kernel-toc.html
+++ b/Documentation/sphinx/templates/kernel-toc.html
@@ -1,4 +1,4 @@
-{# 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>