-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c43a15b
commit 0776386
Showing
4 changed files
with
63 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,3 +31,4 @@ Working/ | |
# dotnet build files | ||
bin/ | ||
obj/ | ||
*.sln |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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, | ||
}), | ||
] | ||
}); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
--- | ||
<Default {...Astro.props}><slot /></Default> | ||
<meta property="og:image" content={ogImageUrl} /> | ||
<meta name="twitter:image" content={ogImageUrl} /> |