From 6a78a4c7d8c235228f17d6095d77d33f399c7f9d Mon Sep 17 00:00:00 2001 From: Artyom Bologov Date: Sat, 25 Jul 2026 21:17:20 +0200 Subject: [PATCH] Try fixing CI (#857) This is an attempt to try fixing CI errors, as seen in 38dd33d Woodpecker run. Might not be complete, but the only thing missing is Apple Authenticator link fix, which is flaky. Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/857 Reviewed-by: Robert Wolff --- .cspell.json | 3 ++- content/codeberg-pages/migrating-from-pages-v2.md | 2 +- content/codeberg-pages/troubleshooting.md | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.cspell.json b/.cspell.json index f08db37..8e29dee 100644 --- a/.cspell.json +++ b/.cspell.json @@ -125,7 +125,8 @@ "Merch", "merch", "freewear", - "gedankenstuecke" + "gedankenstuecke", + "Zstd" ], "ignorePaths": [ "**/node_modules/**/*", diff --git a/content/codeberg-pages/migrating-from-pages-v2.md b/content/codeberg-pages/migrating-from-pages-v2.md index 3cc3c3b..6ee5382 100644 --- a/content/codeberg-pages/migrating-from-pages-v2.md +++ b/content/codeberg-pages/migrating-from-pages-v2.md @@ -33,7 +33,7 @@ Please be aware of the following changes and deprecated features. - Content is no longer fetched automatically. You need to use a method that informs git-pages about changes. - `raw.codeberg.page` is no longer available. CORS headers are now directly set on your page and this workaround is no longer necessary. - Direct access to repos and branches is no longer possible. You can no longer use the `/repository/@branch` access. `git-pages` restricts you to the website you explicitly deployed. Serving arbitrary resources from Codeberg was a common abuse vector and is going to be deprecated. -- There no longer are automatic redirections from `path` to `path.html`, add a [redirect rule](/codeberg-pages/advanced-usage/#redirects) for each of the pages you need to redirect. +- There no longer are automatic redirects from `path` to `path.html`, add a [redirect rule](/codeberg-pages/advanced-usage/#redirects) for each of the pages you need to redirect. - Splat redirects only work for simple `/old-path/* /new-path/:splat` patterns of moved posts, no way to e.g. replace file extension with `/* /:splat.html`. ## The first push diff --git a/content/codeberg-pages/troubleshooting.md b/content/codeberg-pages/troubleshooting.md index 15da850..bae488d 100644 --- a/content/codeberg-pages/troubleshooting.md +++ b/content/codeberg-pages/troubleshooting.md @@ -42,7 +42,7 @@ Say, we add this (broken) [redirect rule](/codeberg-pages/advanced-usage/#redire ``` After committing it and opening a page like `https://example.org/hello`, we are redirected to a 404 page. -Something must be brokein in redirects. +Something must be broken in redirects. However, we don’t know that for sure. Need to check. @@ -58,7 +58,7 @@ git-pages-cli --debug-manifest https://example.org In either case, you get huge JSONs with meta-information about the website. The structure is roughly: -``` json +```json { "repoUrl": "https://codeberg.org/.../pages.git", "branch": "pages", @@ -105,7 +105,7 @@ The structure is roughly: "to": "/bar", "status": 301, "force": false - }, + } // ... ], "headers": [],