Skip to content

Commit

Permalink
chore: add and configure a Starlight plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarmos-san committed Oct 3, 2024
1 parent 568785a commit 377085c
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import starlightLinksValidatorPlugin from "starlight-links-validator";

export default defineConfig({
site: "https://weburz.github.io/repoforge",
base: "repoforge",
integrations: [
starlight({
title: "RepoForge",
description:
"Scaffold your projects with ease and efficiency through the power of automation!",
description: "Scaffold your projects through the power of automation!",
editLink: {
baseUrl: "https://github.com/Weburz/repoforge/edit/main/docs",
},
Expand Down Expand Up @@ -38,6 +38,7 @@ export default defineConfig({
autogenerate: { directory: "reference" },
},
],
plugins: [starlightLinksValidatorPlugin()],
}),
],
});
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"astro": "^4.15.10",
"prettier": "^3.3.3",
"sharp": "^0.33.5",
"starlight-links-validator": "^0.12.2",
"typescript": "^5.6.2"
},
"prettier": {
Expand Down
53 changes: 53 additions & 0 deletions docs/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 377085c

Please sign in to comment.