Skip to content

Commit 5a2e0b2

Browse files
committed
added broken link checker and fixed all the broken links in the docs
1 parent f599afa commit 5a2e0b2

File tree

9 files changed

+333
-15
lines changed

9 files changed

+333
-15
lines changed

docs/astro.config.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import starlight from '@astrojs/starlight';
44
import { defineConfig } from 'astro/config';
55
import starlightImageZoom from 'starlight-image-zoom';
6+
import starlightLinksValidator from 'starlight-links-validator';
67

78
// https://astro.build/config
89
export default defineConfig({
@@ -21,7 +22,12 @@ export default defineConfig({
2122
editLink: {
2223
baseUrl: 'https://github.com/DocSpring/renamify/edit/main/docs',
2324
},
24-
plugins: [starlightImageZoom()],
25+
plugins: [
26+
starlightImageZoom(),
27+
starlightLinksValidator({
28+
errorOnRelativeLinks: true,
29+
}),
30+
],
2531
components: {
2632
Footer: './src/components/Footer.astro',
2733
},

docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"@biomejs/biome": "2.2.2",
2525
"prettier": "^3.6.2",
2626
"prettier-plugin-astro": "^0.14.1",
27+
"starlight-links-validator": "^0.18.0",
2728
"ultracite": "^5.2.10"
2829
}
2930
}

docs/pnpm-lock.yaml

Lines changed: 81 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/src/content/docs/commands/replace.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,6 @@ Similar to `rename`, the replace command follows this flow:
225225

226226
## See Also
227227

228-
- [rename](./rename) - Case-aware identifier renaming
229-
- [plan](./plan) - Create a replacement plan without applying
230-
- [undo](./undo) - Revert the last operation
228+
- [rename](/renamify/commands/rename/) - Case-aware identifier renaming
229+
- [plan](/renamify/commands/plan/) - Create a replacement plan without applying
230+
- [undo](/renamify/commands/undo/) - Revert the last operation

docs/src/content/docs/commands/search.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,5 +170,5 @@ Use `search` when you want to:
170170

171171
## See Also
172172

173-
- [plan](./plan) - Create a renaming plan
174-
- [rename](./rename) - Search and replace in one step
173+
- [plan](/renamify/commands/plan/) - Create a renaming plan
174+
- [rename](/renamify/commands/rename/) - Search and replace in one step

docs/src/content/docs/features/atomic-identifiers.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,6 @@ Atomic mode has minimal performance impact:
176176

177177
## See Also
178178

179-
- [Case Transformations](/features/case-transformations) - Learn about supported case styles
180-
- [Configuration](/cli/configuration) - Set up persistent atomic identifiers
181-
- [CLI Reference](/cli/commands/rename) - Full command options
179+
- [Case Transformations](/renamify/features/case-transformations/) - Learn about supported case styles
180+
- [Configuration](/renamify/reference/configuration/) - Set up persistent atomic identifiers
181+
- [CLI Reference](/renamify/commands/rename/) - Full command options

docs/src/content/docs/mcp/configuration.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,6 @@ To debug MCP server issues, you can enable verbose logging in your AI assistant'
256256

257257
## Next Steps
258258

259-
- [Learn the available MCP tools](/mcp/tools)
260-
- [See example workflows](/mcp/examples)
261-
- [Read the AI agent guide](/mcp/ai-guide)
259+
- [Learn the available MCP tools](/renamify/mcp/tools/)
260+
- [See example workflows](/renamify/mcp/examples/)
261+
- [Read the AI agent guide](/renamify/mcp/ai-guide/)

docs/src/content/docs/quick-start.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,6 @@ renamify rename old_name new_name --only-styles camel,snake
122122

123123
## Next Steps
124124

125-
- Learn about [case-aware transformations](/features/case-transformations)
126-
- Explore [safety features](/features/safety)
127-
- See more [examples](/examples)
125+
- Learn about [case-aware transformations](/renamify/features/case-transformations/)
126+
- Explore [safety features](/renamify/features/safety/)
127+
- See more [examples](/renamify/examples/basic-renaming/)

0 commit comments

Comments
 (0)