mirror of
https://github.com/fosrl/docs-v2.git
synced 2026-09-30 17:59:10 +02:00
fix open graph image and adding hardening dock to community
This commit is contained in:
@@ -321,6 +321,7 @@
|
||||
"self-host/community-guides/homeassistant",
|
||||
"self-host/community-guides/middlewaremanager",
|
||||
"self-host/community-guides/traefiklogsdashboard",
|
||||
"self-host/community-guides/traefik-hardening",
|
||||
"self-host/community-guides/geolite2automation"
|
||||
]
|
||||
},
|
||||
|
||||
@@ -7,7 +7,6 @@ export const siteDescription =
|
||||
|
||||
/** docs are served from the site root, same URLs as the old Mintlify site */
|
||||
export const docsRoute = '/';
|
||||
export const docsImageRoute = '/og';
|
||||
export const docsContentRoute = '/llms.mdx';
|
||||
|
||||
export const gitConfig = {
|
||||
@@ -27,14 +26,6 @@ export function getPageMarkdownUrl(page: { slugs: string[]; locale?: string }) {
|
||||
return { segments, url: getContentUrl(segments, page.locale) };
|
||||
}
|
||||
|
||||
const getImageUrl = createGetUrl(docsImageRoute);
|
||||
|
||||
export function getPageImageUrl(page: { slugs: string[]; locale?: string }) {
|
||||
const segments = [...page.slugs, 'image.png'];
|
||||
|
||||
return { segments, url: getImageUrl(segments, page.locale) };
|
||||
}
|
||||
|
||||
/**
|
||||
* The Mintlify site was light-only (`appearance.strict`). Flip this to enable the
|
||||
* theme switch; the dark palette in `app/global.css` is ready for it.
|
||||
|
||||
Reference in New Issue
Block a user