From f11582b307ef43908fd0b12019f6b1284338be38 Mon Sep 17 00:00:00 2001 From: Arthit Suriyawongkul Date: Tue, 28 Oct 2025 22:25:43 +0000 Subject: [PATCH 1/2] Remove outdated tags_file config Signed-off-by: Arthit Suriyawongkul --- docs/{how-to-vex.mc => how-to-vex.md} | 0 mkdocs.yml | 8 +++----- 2 files changed, 3 insertions(+), 5 deletions(-) rename docs/{how-to-vex.mc => how-to-vex.md} (100%) diff --git a/docs/how-to-vex.mc b/docs/how-to-vex.md similarity index 100% rename from docs/how-to-vex.mc rename to docs/how-to-vex.md diff --git a/mkdocs.yml b/mkdocs.yml index 1d2bf4d..ce2d4fd 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,10 +1,10 @@ site_name: Using SPDX -site_description: Information on how to use the System Package Data Exchange specification +site_description: Information on how to use the System Package Data Exchange (SPDX) specification site_author: The Linux Foundation and its Contributors. site_url: https://spdx.github.io/using/ # set to the "root" of the site, to be combined with canonical_version repo_url: https://github.com/spdx/using/ edit_uri: "edit/main/docs" # set to an empty string to disable edit links; -copyright: Using SPDX Copyright © 2024, The Linux Foundation and its Contributors. +copyright: Using SPDX Copyright © 2024-2025, The Linux Foundation and its Contributors. use_directory_urls: true theme: name: material @@ -15,8 +15,7 @@ theme: plugins: - search - social -- tags: - tags_file: tags.md +- tags markdown_extensions: - admonition - abbr @@ -45,4 +44,3 @@ nav: - Using SPDX License List short identifiers in source files: license-id-in-source.md - Using SPDX to comply with norms, standards and regulation: comply-with-norms.md - Differences from previous editions: diffs-from-previous-editions.md -- Browse by tags: tags.md From e6baece046c56b1e03ff4168c0b4d2b506805740 Mon Sep 17 00:00:00 2001 From: Arthit Suriyawongkul Date: Tue, 28 Oct 2025 22:46:09 +0000 Subject: [PATCH 2/2] Add git-revision-date on page Signed-off-by: Arthit Suriyawongkul --- mkdocs.yml | 14 +++++++++++--- requirements.txt | 1 + 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index ce2d4fd..f9371ee 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,9 +1,9 @@ site_name: Using SPDX site_description: Information on how to use the System Package Data Exchange (SPDX) specification -site_author: The Linux Foundation and its Contributors. -site_url: https://spdx.github.io/using/ # set to the "root" of the site, to be combined with canonical_version +site_author: The Linux Foundation and its Contributors +site_url: https://spdx.github.io/using/ repo_url: https://github.com/spdx/using/ -edit_uri: "edit/main/docs" # set to an empty string to disable edit links; +edit_uri: "edit/main/docs" # set to an empty string to disable edit links copyright: Using SPDX Copyright © 2024-2025, The Linux Foundation and its Contributors. use_directory_urls: true theme: @@ -12,7 +12,14 @@ theme: logo: images/logo-white.svg features: - content.action.edit + - navigation.instant + - navigation.instant.progress + palette: + - scheme: default + primary: indigo + accent: indigo plugins: +- git-revision-date - search - social - tags @@ -44,3 +51,4 @@ nav: - Using SPDX License List short identifiers in source files: license-id-in-source.md - Using SPDX to comply with norms, standards and regulation: comply-with-norms.md - Differences from previous editions: diffs-from-previous-editions.md +- Browse by tags: tags.md diff --git a/requirements.txt b/requirements.txt index fd872f4..02f0e59 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ mkdocs==1.6.1 +mkdocs-git-revision-date-localized-plugin==1.4.7 mkdocs-material[imaging]==9.6.22