From 49388f09ad2a8734f8fe8b3d2fc33c97e68726c3 Mon Sep 17 00:00:00 2001 From: Arthit Suriyawongkul Date: Tue, 23 Jun 2026 06:04:19 +0100 Subject: [PATCH] Add 404 page Signed-off-by: Arthit Suriyawongkul --- .github/workflows/docs.yaml | 5 +++++ www/404.html | 40 +++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 www/404.html diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index e1a4fbe..e0b4dbd 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -105,6 +105,11 @@ jobs: echo '' > pages/index.html fi + # File not found (404) page from repo. + if [[ -f www/404.html ]]; then + cp www/404.html pages/404.html + fi + - name: Setup Pages uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0 diff --git a/www/404.html b/www/404.html new file mode 100644 index 0000000..c062355 --- /dev/null +++ b/www/404.html @@ -0,0 +1,40 @@ + + + + + + + 404 Not Found — spdx-python-model + + + + + + +

404 — Page Not Found

+

The page you requested does not exist.

+

Go back to the spdx-python-model home page.

+ + +