Skip to content

Commit

Permalink
Add starlight links validator (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
huijing authored May 30, 2024
1 parent 8a1c783 commit 9002fa7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import starlightLinksValidator from "starlight-links-validator";

// https://astro.build/config
export default defineConfig({
Expand All @@ -15,6 +16,11 @@ export default defineConfig({
"./src/styles/interledger.css",
"./src/styles/atom-one-light.min.css",
],
plugins: [
starlightLinksValidator({
exclude: ["/participation-guidelines"],
}),
],
head: [
{
tag: "script",
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@
},
"dependencies": {
"@astrojs/node": "^8.2.5",
"@astrojs/starlight": "^0.22.2",
"@astrojs/starlight": "^0.23.2",
"@interledger/docs-design-system": "^0.5.0",
"@types/showdown": "^2.0.6",
"astro": "^4.7.1",
"astro": "^4.9.2",
"html-to-text": "^9.0.5",
"markdown-it": "^14.1.0",
"node-html-parser": "^6.1.13",
"sharp": "^0.33.3",
"showdown": "^2.1.0"
"sharp": "^0.33.4",
"showdown": "^2.1.0",
"starlight-links-validator": "^0.9.0"
}
}

0 comments on commit 9002fa7

Please sign in to comment.