diff --git a/.gitignore b/.gitignore index 4c1180ac..1f12d165 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,4 @@ Working/ # dotnet build files bin/ obj/ +*.sln \ No newline at end of file diff --git a/PwshSpectreConsole.Docs/astro.config.mjs b/PwshSpectreConsole.Docs/astro.config.mjs index 1fe6e6eb..fc6a5fb1 100644 --- a/PwshSpectreConsole.Docs/astro.config.mjs +++ b/PwshSpectreConsole.Docs/astro.config.mjs @@ -1,51 +1,54 @@ -import { defineConfig } from "astro/config"; -import starlight from "@astrojs/starlight"; - -import tailwind from "@astrojs/tailwind"; - -// https://astro.build/config -export default defineConfig({ - integrations: [ - starlight({ - title: "PwshSpectreConsole", - editLink: { - baseUrl: - "https://github.com/ShaunLawrie/PwshSpectreConsole/edit/main/PwshSpectreConsole.Docs/", - }, - favicon: "/favicon.png", - customCss: ["./src/tailwind.css"], - social: { - github: "https://github.com/ShaunLawrie/PwshSpectreConsole", - twitter: "https://twitter.com/Shaun_Lawrie", - }, - sidebar: [ - { - label: "Guides", - items: [ - { - label: "Install", - link: "/guides/install/", - }, - { - label: "Getting Started", - link: "/guides/get-started/", - }, - { - label: "FAQs", - link: "/guides/faqs/", - }, - ], - }, - { - label: "Command Reference", - autogenerate: { - directory: "reference", - }, - }, - ], - }), - tailwind({ - applyBaseStyles: false, - }), - ] -}); +import { defineConfig } from "astro/config"; +import starlight from "@astrojs/starlight"; + +import tailwind from "@astrojs/tailwind"; + +// https://astro.build/config +export default defineConfig({ + integrations: [ + starlight({ + title: "PwshSpectreConsole", + editLink: { + baseUrl: + "https://github.com/ShaunLawrie/PwshSpectreConsole/edit/main/PwshSpectreConsole.Docs/", + }, + favicon: "/favicon.png", + customCss: ["./src/tailwind.css"], + social: { + github: "https://github.com/ShaunLawrie/PwshSpectreConsole", + twitter: "https://twitter.com/Shaun_Lawrie", + }, + components: { + Head: './src/components/Head.astro', + }, + sidebar: [ + { + label: "Guides", + items: [ + { + label: "Install", + link: "/guides/install/", + }, + { + label: "Getting Started", + link: "/guides/get-started/", + }, + { + label: "FAQs", + link: "/guides/faqs/", + }, + ], + }, + { + label: "Command Reference", + autogenerate: { + directory: "reference", + }, + }, + ], + }), + tailwind({ + applyBaseStyles: false, + }), + ] +}); diff --git a/PwshSpectreConsole.Docs/public/social.png b/PwshSpectreConsole.Docs/public/social.png new file mode 100644 index 00000000..c9bcc0cd Binary files /dev/null and b/PwshSpectreConsole.Docs/public/social.png differ diff --git a/PwshSpectreConsole.Docs/src/components/Head.astro b/PwshSpectreConsole.Docs/src/components/Head.astro new file mode 100644 index 00000000..75dca3e8 --- /dev/null +++ b/PwshSpectreConsole.Docs/src/components/Head.astro @@ -0,0 +1,8 @@ +--- +import type { Props } from '@astrojs/starlight/props' +import Default from '@astrojs/starlight/components/Head.astro' +const ogImageUrl = "https://pwshspectreconsole.com/social.png" +--- + + + \ No newline at end of file