]> Git Repo - linux.git/commitdiff
docs: Use HTML comments for the kernel-toc SPDX line
authorJonathan Corbet <[email protected]>
Thu, 16 Feb 2023 23:06:44 +0000 (16:06 -0700)
committerJonathan Corbet <[email protected]>
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 <[email protected]>
Documentation/sphinx/templates/kernel-toc.html

index 426312af8a8e7dd349f4764a2f3aa2ac5baa3605..b58efa99df527d3d870d9572e6ee7f18912fe99f 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>
This page took 0.056411 seconds and 4 git commands to generate.