-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into l10n_develop
- Loading branch information
Showing
86 changed files
with
2,394 additions
and
78 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
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
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
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
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
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
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
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
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
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
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,24 +1,197 @@ | ||
// @ts-check | ||
import { defineConfig } from "astro/config"; | ||
import { getSidebarTranslatedLabel } from "./src/translations"; | ||
import starlight from "@astrojs/starlight"; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
integrations: [ | ||
starlight({ | ||
title: "My Docs", | ||
title: "Linwood Flow", | ||
customCss: [ | ||
// Relative path to your custom CSS file | ||
"./src/styles/custom.css", | ||
], | ||
logo: { | ||
src: "./public/img/docs.svg", | ||
}, | ||
favicon: "./favicon.ico", | ||
social: { | ||
github: "https://github.com/withastro/starlight", | ||
mastodon: "https://floss.social/@linwood", | ||
matrix: "https://linwood.dev/matrix", | ||
discord: "https://linwood.dev/discord", | ||
github: "https://github.com/LinwoodDev/Flow", | ||
}, | ||
components: { | ||
SocialIcons: "./src/components/CustomSocialIcons.astro", | ||
Head: "./src/components/Head.astro", | ||
Footer: "./src/components/Footer.astro", | ||
ContentPanel: "./src/components/ContentPanel.astro", | ||
}, | ||
sidebar: [ | ||
{ | ||
label: "Guides", | ||
...getSidebarTranslatedLabel("Guides"), | ||
items: [ | ||
// Each item here is one entry in the navigation menu. | ||
{ label: "Intro", slug: "docs/v1/intro" }, | ||
{ | ||
...getSidebarTranslatedLabel("Introduction"), | ||
link: "/docs/v1/intro", | ||
}, | ||
], | ||
}, | ||
{ | ||
...getSidebarTranslatedLabel("Downloads"), | ||
link: "/downloads/", | ||
}, | ||
{ | ||
...getSidebarTranslatedLabel("Community"), | ||
items: [ | ||
{ | ||
...getSidebarTranslatedLabel("Home"), | ||
link: "/community/", | ||
}, | ||
{ | ||
...getSidebarTranslatedLabel("Branding"), | ||
link: "/community/branding/", | ||
}, | ||
{ | ||
...getSidebarTranslatedLabel("Changelog"), | ||
link: "/changelog/", | ||
}, | ||
{ | ||
...getSidebarTranslatedLabel("Contributing"), | ||
link: "/community/contributing/", | ||
}, | ||
{ | ||
...getSidebarTranslatedLabel("Code of conduct"), | ||
link: "/community/code-of-conduct/", | ||
}, | ||
{ | ||
...getSidebarTranslatedLabel("Embedding"), | ||
link: "/community/embed/", | ||
}, | ||
{ | ||
...getSidebarTranslatedLabel("FAQ"), | ||
link: "/community/faq/", | ||
}, | ||
{ | ||
...getSidebarTranslatedLabel("Versions"), | ||
link: "/community/versions/", | ||
}, | ||
{ | ||
...getSidebarTranslatedLabel("Nightly builds"), | ||
link: "/community/nightly/", | ||
}, | ||
{ | ||
...getSidebarTranslatedLabel("Privacy policy"), | ||
link: "/privacypolicy/", | ||
}, | ||
], | ||
}, | ||
], | ||
locales: { | ||
root: { | ||
label: "English", | ||
lang: "en", | ||
}, | ||
af: { | ||
label: "Afrikaans", | ||
}, | ||
ar: { | ||
label: "Arabic", | ||
}, | ||
ca: { | ||
label: "Catalan", | ||
}, | ||
cs: { | ||
label: "Czech", | ||
}, | ||
da: { | ||
label: "Danish", | ||
}, | ||
de: { | ||
label: "German", | ||
}, | ||
el: { | ||
label: "Greek", | ||
}, | ||
es: { | ||
label: "Spanish", | ||
}, | ||
fi: { | ||
label: "Finnish", | ||
}, | ||
fr: { | ||
label: "French", | ||
}, | ||
he: { | ||
label: "Hebrew", | ||
}, | ||
hi: { | ||
label: "Hindi", | ||
}, | ||
hu: { | ||
label: "Hungarian", | ||
}, | ||
it: { | ||
label: "Italian", | ||
}, | ||
ja: { | ||
label: "Japanese", | ||
}, | ||
ko: { | ||
label: "Korean", | ||
}, | ||
nl: { | ||
label: "Dutch", | ||
}, | ||
no: { | ||
label: "Norwegian", | ||
}, | ||
or: { | ||
label: "Oriya", | ||
}, | ||
pl: { | ||
label: "Polish", | ||
}, | ||
pt: { | ||
label: "Portuguese", | ||
}, | ||
"pt-br": { | ||
label: "Portuguese (Brazil)", | ||
lang: "pt-BR", | ||
}, | ||
ro: { | ||
label: "Romanian", | ||
}, | ||
ru: { | ||
label: "Russian", | ||
}, | ||
sr: { | ||
label: "Serbian", | ||
}, | ||
sv: { | ||
label: "Swedish", | ||
}, | ||
th: { | ||
label: "Thai", | ||
}, | ||
tr: { | ||
label: "Turkish", | ||
}, | ||
uk: { | ||
label: "Ukrainian", | ||
}, | ||
vi: { | ||
label: "Vietnamese", | ||
}, | ||
zh: { | ||
label: "Chinese", | ||
}, | ||
"zh-hant": { | ||
label: "Chinese (Traditional)", | ||
lang: "zh-Hant", | ||
}, | ||
}, | ||
}), | ||
], | ||
}); |
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 |
---|---|---|
|
@@ -16,5 +16,8 @@ | |
"sharp": "^0.33.5", | ||
"typescript": "^5.6.3" | ||
}, | ||
"packageManager": "[email protected]" | ||
"packageManager": "[email protected]", | ||
"devDependencies": { | ||
"sass": "^1.80.6" | ||
} | ||
} |
Oops, something went wrong.