docs: Use HTML comments for the kernel-toc SPDX line
authorJonathan Corbet <corbet@lwn.net>
Thu, 16 Feb 2023 23:06:44 +0000 (16:06 -0700)
committerJonathan Corbet <corbet@lwn.net>
Thu, 16 Feb 2023 23:06:44 +0000 (16:06 -0700)
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>
Documentation/sphinx/templates/kernel-toc.html

index 426312a..b58efa9 100644 (file)
@@ -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>