From f205e2f890825d8cbc6cf01b18c69e596993867f Mon Sep 17 00:00:00 2001 From: Julian Anderson Date: Mon, 6 Jul 2026 20:27:34 -0400 Subject: [PATCH] docs: Fix errant link, add prek hook to require compilable docs --- .pre-commit-config.yaml | 12 ++++++++++++ docs/deploying/rpm.mdx | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4ab60c833..60fe74880 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -57,3 +57,15 @@ repos: types: [rust] stages: - pre-push + + - repo: local + hooks: + - id: docs-build + name: docs build + entry: npm run docs:build + language: system + pass_filenames: false + files: docs/ + types: [mdx] + stages: + - pre-commit diff --git a/docs/deploying/rpm.mdx b/docs/deploying/rpm.mdx index bf99487a9..12022e70d 100644 --- a/docs/deploying/rpm.mdx +++ b/docs/deploying/rpm.mdx @@ -64,7 +64,7 @@ ### Nightly releases Nightly packages for openSUSE are **not currently available**. If there is an ongoing need for these, please ask in `#continuwuity:continuwuity.org` or [open an issue on Forgejo](https://forgejo.ellis.link/continuwuation/continuwuity/issues/new). -In the meantime, you may follow the [generic deployment instructions](deployment/generic). +In the meantime, you may follow the [generic deployment instructions](/deploying/generic).