Skip to content

Commit

Permalink
fix: fix link checking and broken anchor link
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Feb 21, 2024
1 parent 7158aae commit a3566e0
Show file tree
Hide file tree
Showing 9 changed files with 110 additions and 2,427 deletions.
2 changes: 2 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import starlightDocSearch from "@astrojs/starlight-docsearch";
import starlightLinksValidator from "starlight-links-validator";
import tailwind from "@astrojs/tailwind";

const locales = {
Expand Down Expand Up @@ -124,6 +125,7 @@ export default defineConfig({
apiKey: "96faee2ebdaf4a8a66d0f810c635bfec",
indexName: "astronvim",
}),
starlightLinksValidator(),
],
customCss: [
// Path to your Tailwind base styles:
Expand Down
4 changes: 0 additions & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ Cache-Control = "public, max-age=31536000, immutable"
[[plugins]]
package = "@netlify/plugin-lighthouse"
[[plugins]]
package = "netlify-plugin-checklinks"
[plugins.inputs]
skipPatterns = ["dist/404", "id=\"%EF%B8%8F-installation\""]
[[plugins]]
package = "netlify-plugin-submit-sitemap"
[plugins.inputs]
sitemapPath = "/sitemap-index.xml"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"@astrojs/tailwind": "^5.1.0",
"astro": "^4.4.1",
"sharp": "^0.33.2",
"starlight-links-validator": "^0.5.3",
"tailwindcss": "^3.4.1"
},
"devDependencies": {
"@netlify/plugin-lighthouse": "^6.0.0",
"netlify-plugin-checklinks": "^4.1.1",
"netlify-plugin-submit-sitemap": "^0.4.0",
"prettier": "^3.2.5",
"prettier-plugin-astro": "^0.13.0",
Expand Down
Loading

0 comments on commit a3566e0

Please sign in to comment.