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: https://repo.jachan.dev/linux.git/commitdiff_plain/4e98799a7021b51d1e641a8150ef71ef90c756ab 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 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 #} + {# Create a local TOC the kernel way #}

Contents