Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
Documentation/sphinx/templates/kernel-toc.html
··· 1 - {# SPDX-License-Identifier: GPL-2.0 #} 1 + <!-- SPDX-License-Identifier: GPL-2.0 --> 2 2 {# Create a local TOC the kernel way #} 3 3 <p> 4 4 <h3 class="kernel-toc-contents">Contents</h3>