From: Jonathan Corbet Date: Thu, 16 Feb 2023 23:06:44 +0000 (-0700) Subject: docs: Use HTML comments for the kernel-toc SPDX line X-Git-Tag: v6.3-rc1~151^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4e98799a7021b51d1e641a8150ef71ef90c756ab;p=thirdparty%2Fkernel%2Flinux.git 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 --- diff --git a/Documentation/sphinx/templates/kernel-toc.html b/Documentation/sphinx/templates/kernel-toc.html index 426312af8a8e7..b58efa99df527 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 #} + {# Create a local TOC the kernel way #}

Contents