From 67e4f0f1d038bdb181e8e3d38a82ca1b0b2f6ce9 Mon Sep 17 00:00:00 2001 From: Tim Potze Date: Fri, 22 May 2026 00:11:00 +0200 Subject: [PATCH] Fix page not found in subdirectories --- 404.html | 207 ++++++++++++++++++++++++++++++++++++++++++++++++++ 404.md | 92 ---------------------- docfx.json | 8 +- sampsharp-src | 2 +- 4 files changed, 215 insertions(+), 94 deletions(-) create mode 100644 404.html delete mode 100644 404.md diff --git a/404.html b/404.html new file mode 100644 index 0000000..af99ff1 --- /dev/null +++ b/404.html @@ -0,0 +1,207 @@ + + + + + Page Not Found | SampSharp + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
+ +
+ +
+ +
+
+

404

+

Page Not Found

+

+ Sorry, we couldn't find the page you're looking for. It may have + been moved or no longer exists. +

+ +
+
+
+ + +
+ +
+ +
+
+ +
+ + + + diff --git a/404.md b/404.md deleted file mode 100644 index 3bddf45..0000000 --- a/404.md +++ /dev/null @@ -1,92 +0,0 @@ ---- -title: Page Not Found -_disableContribution: true -_disableAfaf: true ---- - - - -
- -
- -#

404

- -

Page Not Found

- -

Sorry, we couldn't find the page you're looking for. It may have been moved or no longer exists.

- - - -
- -
diff --git a/docfx.json b/docfx.json index dc3b75e..6340e1a 100644 --- a/docfx.json +++ b/docfx.json @@ -24,7 +24,7 @@ ], "resource": [ { - "files": ["docs/**/images/**", "assets/**"] + "files": ["docs/**/images/**", "assets/**", "404.html"] } ], "fileMetadata": { @@ -32,6 +32,11 @@ "docs/legacy/**": true } }, + "sitemap": { + "baseUrl": "https://sampsharp.net", + "priority": 0.5, + "changefreq": "weekly" + }, "globalMetadata": { "_appTitle": "SampSharp", "_appName": "SampSharp", @@ -39,6 +44,7 @@ "_appFaviconPath": "assets/sampsharp.png", "_appFooter": "SampSharp - Copyright © 2015 - 2026 Tim Potze", "_enableSearch": true, + "_rel": "/", "pdf": false, "_gitContribute": { "repo": "https://github.com/sampsharp/docs", diff --git a/sampsharp-src b/sampsharp-src index b826511..e626daa 160000 --- a/sampsharp-src +++ b/sampsharp-src @@ -1 +1 @@ -Subproject commit b826511cf6bcd744ca0630d1c37082abaf8a91f8 +Subproject commit e626daa05f04809480e641ccb18412850e398a96