Fix wiki-links to use filename-based resolution (#90)
## Summary - Quartz's "shortest" path mode resolves wiki-links by **filename**, not frontmatter title - Previous PR used title-based links like `[[Grafana Alloy]]` which looked for non-existent `Grafana-Alloy.md` - Now using filename-based links like `[[alloy|Grafana Alloy]]` which correctly resolve ## Changes - Rename zk duplicate files with `-log` suffix (e.g., `argocd.md` → `argocd-log.md`) - Rename `reference/storage/postgresql.md` to `postgresql-storage.md` - Convert all 175 wiki-links from `[[Title]]` to `[[filename|Title]]` format - Rename `doc-card-titles` task to `doc-filenames` (checks filename uniqueness, not titles) - Update pre-commit hook for renamed task ## Deployment and Testing - [x] Pre-commit hooks pass - [x] `mise run doc-filenames` shows no duplicate filenames - [ ] Verify wiki-links work correctly in Quartz build 🤖 Generated with [Claude Code](https://claude.com/claude-code) Reviewed-on: https://forge.ops.eblu.me/eblume/blumeops/pulls/90
This commit is contained in:
parent
8f427beeab
commit
4ccb7b9a26
46 changed files with 349 additions and 340 deletions
|
|
@ -89,12 +89,12 @@ repos:
|
|||
args: ['-config-file', '.github/actionlint.yaml']
|
||||
files: ^\.forgejo/workflows/
|
||||
|
||||
# Documentation - check for duplicate card titles
|
||||
# Documentation - check for duplicate filenames (required for Quartz shortest path resolution)
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: doc-card-titles
|
||||
name: doc-card-titles
|
||||
entry: mise run doc-card-titles
|
||||
- id: doc-filenames
|
||||
name: doc-filenames
|
||||
entry: mise run doc-filenames
|
||||
language: system
|
||||
files: ^docs/.*\.md$
|
||||
pass_filenames: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue