@astrojs/starlight 0.41.10 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.js +13 -0
- package/dist/components/MobileMenuToggle.astro +65 -0
- package/{components → dist/components}/PageFrame.astro +32 -8
- package/dist/components-internals/Icons.d.ts +415 -0
- package/dist/components-internals/Icons.js +140 -0
- package/dist/components-internals/SidebarPersistState.d.ts +1 -0
- package/dist/components-internals/SidebarPersistState.js +53 -0
- package/dist/components-internals/TableOfContents/starlight-toc.d.ts +18 -0
- package/dist/components-internals/TableOfContents/starlight-toc.js +88 -0
- package/dist/constants.d.ts +4 -0
- package/dist/constants.js +4 -0
- package/{expressive-code.d.ts → dist/expressive-code.d.ts} +6 -13
- package/dist/expressive-code.js +31 -0
- package/dist/global.d.ts +62 -0
- package/dist/global.js +2 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +109 -0
- package/dist/integrations/aside-utils.d.ts +9 -0
- package/dist/integrations/aside-utils.js +35 -0
- package/dist/integrations/expressive-code/hast.d.ts +1 -0
- package/dist/integrations/expressive-code/hast.js +2 -0
- package/dist/integrations/expressive-code/index.d.ts +60 -0
- package/dist/integrations/expressive-code/index.js +48 -0
- package/dist/integrations/expressive-code/preprocessor.d.ts +17 -0
- package/dist/integrations/expressive-code/preprocessor.js +76 -0
- package/dist/integrations/expressive-code/themes/night-owl-dark.js +4 -0
- package/dist/integrations/expressive-code/themes/night-owl-light.js +4 -0
- package/dist/integrations/expressive-code/theming.d.ts +16 -0
- package/dist/integrations/expressive-code/theming.js +71 -0
- package/dist/integrations/expressive-code/translations.d.ts +8 -0
- package/dist/integrations/expressive-code/translations.js +26 -0
- package/dist/integrations/markdown-icon.d.ts +8 -0
- package/dist/integrations/markdown-icon.js +14 -0
- package/dist/integrations/markdown-plugins.d.ts +18 -0
- package/dist/integrations/markdown-plugins.js +36 -0
- package/dist/integrations/markdown-processor.d.ts +29 -0
- package/dist/integrations/markdown-processor.js +44 -0
- package/dist/integrations/pagefind.d.ts +7 -0
- package/dist/integrations/pagefind.js +34 -0
- package/dist/integrations/rehype-code-rtl-support.d.ts +21 -0
- package/dist/integrations/rehype-code-rtl-support.js +36 -0
- package/dist/integrations/rehype-heading-links.d.ts +10 -0
- package/dist/integrations/rehype-heading-links.js +57 -0
- package/dist/integrations/remark-asides.d.ts +32 -0
- package/dist/integrations/remark-asides.js +166 -0
- package/dist/integrations/remark-rehype.d.ts +17 -0
- package/dist/integrations/remark-rehype.js +51 -0
- package/dist/integrations/satteri.d.ts +13 -0
- package/dist/integrations/satteri.js +209 -0
- package/dist/integrations/shared/absolutePathToLang.d.ts +10 -0
- package/dist/integrations/shared/absolutePathToLang.js +13 -0
- package/dist/integrations/shared/localeToLang.d.ts +10 -0
- package/dist/integrations/shared/localeToLang.js +13 -0
- package/dist/integrations/shared/slugToLocale.d.ts +12 -0
- package/dist/integrations/shared/slugToLocale.js +15 -0
- package/dist/integrations/sitemap.d.ts +12 -0
- package/dist/integrations/sitemap.js +19 -0
- package/dist/integrations/vite-layer-order.d.ts +15 -0
- package/dist/integrations/vite-layer-order.js +56 -0
- package/dist/integrations/vite-lazy-barrel-optimization.d.ts +12 -0
- package/dist/integrations/vite-lazy-barrel-optimization.js +33 -0
- package/dist/integrations/vite-virtual-modules.d.ts +14 -0
- package/dist/integrations/vite-virtual-modules.js +108 -0
- package/dist/internal.d.ts +3 -0
- package/dist/internal.js +3 -0
- package/dist/loaders.d.ts +20 -0
- package/dist/loaders.js +49 -0
- package/dist/locals.d.ts +15 -0
- package/dist/locals.js +33 -0
- package/dist/package.js +4 -0
- package/{props.ts → dist/props.d.ts} +6 -4
- package/dist/props.js +1 -0
- package/dist/route-data.d.ts +7 -0
- package/dist/route-data.js +6 -0
- package/dist/schema.d.ts +426 -0
- package/dist/schema.js +103 -0
- package/dist/schemas/badge.d.ts +86 -0
- package/dist/schemas/badge.js +39 -0
- package/dist/schemas/components.d.ts +236 -0
- package/dist/schemas/components.js +36 -0
- package/dist/schemas/expressiveCode.d.ts +7 -0
- package/dist/schemas/expressiveCode.js +5 -0
- package/dist/schemas/favicon.d.ts +9 -0
- package/dist/schemas/favicon.js +32 -0
- package/dist/schemas/head.d.ts +33 -0
- package/dist/schemas/head.js +41 -0
- package/dist/schemas/hero.d.ts +319 -0
- package/dist/schemas/hero.js +73 -0
- package/dist/schemas/i18n.d.ts +125 -0
- package/dist/schemas/i18n.js +76 -0
- package/dist/schemas/icon.d.ts +284 -0
- package/dist/schemas/icon.js +7 -0
- package/dist/schemas/locale.d.ts +20 -0
- package/dist/schemas/locale.js +11 -0
- package/dist/schemas/logo.d.ts +32 -0
- package/dist/schemas/logo.js +14 -0
- package/dist/schemas/pagefind.d.ts +166 -0
- package/dist/schemas/pagefind.js +31 -0
- package/dist/schemas/prevNextLink.d.ts +10 -0
- package/dist/schemas/prevNextLink.js +14 -0
- package/dist/schemas/sidebar.d.ts +205 -0
- package/dist/schemas/sidebar.js +71 -0
- package/dist/schemas/site-title.d.ts +7 -0
- package/dist/schemas/site-title.js +17 -0
- package/dist/schemas/social.d.ts +292 -0
- package/dist/schemas/social.js +18 -0
- package/dist/schemas/tableOfContents.d.ts +24 -0
- package/dist/schemas/tableOfContents.js +16 -0
- package/{style → dist/style}/anchor-links.css +13 -1
- package/dist/translations/ar.js +36 -0
- package/dist/translations/ca.js +46 -0
- package/dist/translations/cs.js +46 -0
- package/dist/translations/da.js +33 -0
- package/dist/translations/de.js +33 -0
- package/dist/translations/el.js +33 -0
- package/dist/translations/en.js +33 -0
- package/dist/translations/es.js +46 -0
- package/dist/translations/fa.js +33 -0
- package/dist/translations/fi.js +33 -0
- package/dist/translations/fr.js +36 -0
- package/dist/translations/gl.js +46 -0
- package/dist/translations/he.js +33 -0
- package/dist/translations/hi.js +36 -0
- package/dist/translations/hu.js +46 -0
- package/dist/translations/id.js +33 -0
- package/dist/translations/index.d.ts +48 -0
- package/dist/translations/index.js +75 -0
- package/dist/translations/it.js +36 -0
- package/dist/translations/ja.js +36 -0
- package/dist/translations/ko.js +36 -0
- package/dist/translations/lv.js +33 -0
- package/dist/translations/nb.js +33 -0
- package/dist/translations/nl.js +33 -0
- package/dist/translations/pl.js +36 -0
- package/dist/translations/pt.js +36 -0
- package/dist/translations/ro.js +33 -0
- package/dist/translations/ru.js +36 -0
- package/dist/translations/sk.js +33 -0
- package/dist/translations/sv.js +33 -0
- package/dist/translations/th.js +33 -0
- package/dist/translations/tr.js +33 -0
- package/dist/translations/uk.js +33 -0
- package/dist/translations/vi.js +33 -0
- package/dist/translations/zh-CN.js +36 -0
- package/dist/translations/zh-TW.js +36 -0
- package/dist/types.d.ts +4 -0
- package/dist/types.js +1 -0
- package/{user-components → dist/user-components}/FileTree.astro +1 -1
- package/{user-components → dist/user-components}/Steps.astro +1 -1
- package/{user-components → dist/user-components}/TabItem.astro +1 -1
- package/{user-components → dist/user-components}/Tabs.astro +1 -1
- package/dist/user-components/file-tree-icons.d.ts +178 -0
- package/dist/user-components/file-tree-icons.js +632 -0
- package/dist/user-components/file-tree-processor.d.ts +16 -0
- package/dist/user-components/file-tree-processor.js +132 -0
- package/dist/user-components/steps-processor.d.ts +10 -0
- package/dist/user-components/steps-processor.js +39 -0
- package/dist/user-components/tabs-processor.d.ts +23 -0
- package/dist/user-components/tabs-processor.js +70 -0
- package/dist/utils/base.d.ts +7 -0
- package/dist/utils/base.js +15 -0
- package/dist/utils/canonical.d.ts +10 -0
- package/dist/utils/canonical.js +14 -0
- package/dist/utils/collection-fs.d.ts +13 -0
- package/dist/utils/collection-fs.js +19 -0
- package/{utils/collection.ts → dist/utils/collection.d.ts} +9 -20
- package/dist/utils/collection.js +26 -0
- package/dist/utils/createPathFormatter.d.ts +9 -0
- package/dist/utils/createPathFormatter.js +35 -0
- package/dist/utils/createTranslationSystem.d.ts +23 -0
- package/dist/utils/createTranslationSystem.js +84 -0
- package/dist/utils/error-map.d.ts +23 -0
- package/dist/utils/error-map.js +125 -0
- package/dist/utils/format-path.d.ts +4 -0
- package/dist/utils/format-path.js +9 -0
- package/dist/utils/generateToC.d.ts +14 -0
- package/dist/utils/generateToC.js +25 -0
- package/dist/utils/git.d.ts +12 -0
- package/dist/utils/git.js +71 -0
- package/dist/utils/gitInlined.d.ts +6 -0
- package/dist/utils/gitInlined.js +11 -0
- package/dist/utils/head.d.ts +7 -0
- package/dist/utils/head.js +233 -0
- package/dist/utils/i18n.d.ts +50 -0
- package/dist/utils/i18n.js +141 -0
- package/dist/utils/localizedUrl.d.ts +8 -0
- package/dist/utils/localizedUrl.js +28 -0
- package/dist/utils/navigation.d.ts +19 -0
- package/dist/utils/navigation.js +353 -0
- package/dist/utils/path.d.ts +21 -0
- package/dist/utils/path.js +51 -0
- package/dist/utils/plugins.d.ts +721 -0
- package/dist/utils/plugins.js +174 -0
- package/dist/utils/routing/data.d.ts +20 -0
- package/dist/utils/routing/data.js +127 -0
- package/dist/utils/routing/index.d.ts +21 -0
- package/dist/utils/routing/index.js +106 -0
- package/dist/utils/routing/middleware.d.ts +11 -0
- package/dist/utils/routing/middleware.js +65 -0
- package/dist/utils/routing/types.d.ts +93 -0
- package/dist/utils/routing/types.js +1 -0
- package/dist/utils/slugs.d.ts +45 -0
- package/dist/utils/slugs.js +104 -0
- package/dist/utils/starlight-page.d.ts +36 -0
- package/dist/utils/starlight-page.js +120 -0
- package/dist/utils/translations-fs.d.ts +15 -0
- package/dist/utils/translations-fs.js +39 -0
- package/dist/utils/translations.d.ts +20 -0
- package/dist/utils/translations.js +29 -0
- package/dist/utils/types.d.ts +5 -0
- package/dist/utils/types.js +1 -0
- package/dist/utils/url.d.ts +7 -0
- package/{utils/url.ts → dist/utils/url.js} +5 -4
- package/dist/utils/user-config.d.ts +2055 -0
- package/dist/utils/user-config.js +136 -0
- package/dist/utils/validateLogoImports.d.ts +5 -0
- package/dist/utils/validateLogoImports.js +16 -0
- package/dist/utils/zodDeepMerge.d.ts +16 -0
- package/dist/utils/zodDeepMerge.js +53 -0
- package/package.json +62 -33
- package/CHANGELOG.md +0 -3043
- package/components/MobileMenuToggle.astro +0 -114
- package/components-internals/Icons.ts +0 -248
- package/components-internals/SidebarPersistState.ts +0 -71
- package/components-internals/TableOfContents/starlight-toc.ts +0 -127
- package/constants.ts +0 -4
- package/expressive-code.mjs +0 -23
- package/global.d.ts +0 -11
- package/i18n.d.ts +0 -18
- package/index.ts +0 -200
- package/integrations/aside-utils.ts +0 -41
- package/integrations/expressive-code/hast.d.ts +0 -5
- package/integrations/expressive-code/hast.mjs +0 -9
- package/integrations/expressive-code/index.ts +0 -125
- package/integrations/expressive-code/preprocessor.ts +0 -126
- package/integrations/expressive-code/themes/night-owl-dark.jsonc +0 -1796
- package/integrations/expressive-code/themes/night-owl-light.jsonc +0 -1695
- package/integrations/expressive-code/theming.ts +0 -105
- package/integrations/expressive-code/translations.ts +0 -36
- package/integrations/markdown-icon.ts +0 -13
- package/integrations/markdown-plugins.ts +0 -71
- package/integrations/markdown-processor.ts +0 -64
- package/integrations/pagefind.ts +0 -60
- package/integrations/rehype-code-rtl-support.ts +0 -37
- package/integrations/rehype-heading-links.ts +0 -79
- package/integrations/remark-asides.ts +0 -219
- package/integrations/remark-rehype.ts +0 -87
- package/integrations/satteri.ts +0 -265
- package/integrations/shared/absolutePathToLang.ts +0 -26
- package/integrations/shared/localeToLang.ts +0 -15
- package/integrations/shared/slugToLocale.ts +0 -18
- package/integrations/sitemap.ts +0 -23
- package/integrations/vite-layer-order.ts +0 -69
- package/integrations/vite-lazy-barrel-optimization.ts +0 -40
- package/integrations/vite-virtual-modules.ts +0 -175
- package/internal.ts +0 -6
- package/loaders.ts +0 -63
- package/locals.d.ts +0 -43
- package/locals.ts +0 -43
- package/route-data.ts +0 -11
- package/schema.ts +0 -167
- package/schemas/badge.ts +0 -40
- package/schemas/components.ts +0 -265
- package/schemas/expressiveCode.ts +0 -12
- package/schemas/favicon.ts +0 -40
- package/schemas/head.ts +0 -50
- package/schemas/hero.ts +0 -69
- package/schemas/i18n.ts +0 -244
- package/schemas/icon.ts +0 -7
- package/schemas/logo.ts +0 -28
- package/schemas/pagefind.ts +0 -128
- package/schemas/prevNextLink.ts +0 -18
- package/schemas/sidebar.ts +0 -163
- package/schemas/site-title.ts +0 -20
- package/schemas/social.ts +0 -23
- package/schemas/tableOfContents.ts +0 -21
- package/translations/README.md +0 -14
- package/translations/ar.json +0 -33
- package/translations/ca.json +0 -43
- package/translations/cs.json +0 -43
- package/translations/da.json +0 -30
- package/translations/de.json +0 -30
- package/translations/el.json +0 -30
- package/translations/en.json +0 -30
- package/translations/es.json +0 -43
- package/translations/fa.json +0 -30
- package/translations/fi.json +0 -30
- package/translations/fr.json +0 -33
- package/translations/gl.json +0 -43
- package/translations/he.json +0 -30
- package/translations/hi.json +0 -33
- package/translations/hu.json +0 -43
- package/translations/id.json +0 -30
- package/translations/index.ts +0 -76
- package/translations/it.json +0 -33
- package/translations/ja.json +0 -33
- package/translations/ko.json +0 -33
- package/translations/lv.json +0 -30
- package/translations/nb.json +0 -30
- package/translations/nl.json +0 -30
- package/translations/pl.json +0 -33
- package/translations/pt.json +0 -33
- package/translations/ro.json +0 -30
- package/translations/ru.json +0 -33
- package/translations/sk.json +0 -30
- package/translations/sv.json +0 -30
- package/translations/th.json +0 -30
- package/translations/tr.json +0 -30
- package/translations/uk.json +0 -30
- package/translations/vi.json +0 -30
- package/translations/zh-CN.json +0 -33
- package/translations/zh-TW.json +0 -33
- package/types.ts +0 -7
- package/user-components/file-tree-icons.ts +0 -782
- package/user-components/rehype-file-tree.ts +0 -251
- package/user-components/rehype-steps.ts +0 -85
- package/user-components/rehype-tabs.ts +0 -121
- package/utils/base.ts +0 -15
- package/utils/canonical.ts +0 -19
- package/utils/collection-fs.ts +0 -20
- package/utils/createPathFormatter.ts +0 -60
- package/utils/createTranslationSystem.ts +0 -137
- package/utils/error-map.ts +0 -222
- package/utils/format-path.ts +0 -7
- package/utils/generateToC.ts +0 -33
- package/utils/git.ts +0 -121
- package/utils/gitInlined.ts +0 -20
- package/utils/head.ts +0 -235
- package/utils/i18n.ts +0 -221
- package/utils/localizedUrl.ts +0 -51
- package/utils/navigation.ts +0 -566
- package/utils/path.ts +0 -58
- package/utils/plugins.ts +0 -498
- package/utils/routing/data.ts +0 -154
- package/utils/routing/index.ts +0 -135
- package/utils/routing/middleware.ts +0 -81
- package/utils/routing/types.ts +0 -101
- package/utils/slugs.ts +0 -119
- package/utils/starlight-page.ts +0 -205
- package/utils/translations-fs.ts +0 -54
- package/utils/translations.ts +0 -57
- package/utils/types.ts +0 -15
- package/utils/user-config.ts +0 -348
- package/utils/validateLogoImports.ts +0 -21
- package/utils/zodDeepMerge.ts +0 -144
- package/virtual-internal.d.ts +0 -149
- package/virtual.d.ts +0 -27
- /package/{components → dist/components}/AnchorHeading.astro +0 -0
- /package/{components → dist/components}/Banner.astro +0 -0
- /package/{components → dist/components}/ContentNotice.astro +0 -0
- /package/{components → dist/components}/ContentPanel.astro +0 -0
- /package/{components → dist/components}/DraftContentNotice.astro +0 -0
- /package/{components → dist/components}/EditLink.astro +0 -0
- /package/{components → dist/components}/FallbackContentNotice.astro +0 -0
- /package/{components → dist/components}/Footer.astro +0 -0
- /package/{components → dist/components}/Head.astro +0 -0
- /package/{components → dist/components}/Header.astro +0 -0
- /package/{components → dist/components}/Hero.astro +0 -0
- /package/{components → dist/components}/LanguageSelect.astro +0 -0
- /package/{components → dist/components}/LastUpdated.astro +0 -0
- /package/{components → dist/components}/MarkdownContent.astro +0 -0
- /package/{components → dist/components}/MobileMenuFooter.astro +0 -0
- /package/{components → dist/components}/MobileTableOfContents.astro +0 -0
- /package/{components → dist/components}/Page.astro +0 -0
- /package/{components → dist/components}/PageSidebar.astro +0 -0
- /package/{components → dist/components}/PageTitle.astro +0 -0
- /package/{components → dist/components}/Pagination.astro +0 -0
- /package/{components → dist/components}/Search.astro +0 -0
- /package/{components → dist/components}/Select.astro +0 -0
- /package/{components → dist/components}/Sidebar.astro +0 -0
- /package/{components → dist/components}/SidebarPersister.astro +0 -0
- /package/{components → dist/components}/SidebarRestorePoint.astro +0 -0
- /package/{components → dist/components}/SidebarSublist.astro +0 -0
- /package/{components → dist/components}/SiteTitle.astro +0 -0
- /package/{components → dist/components}/SkipLink.astro +0 -0
- /package/{components → dist/components}/SocialIcons.astro +0 -0
- /package/{components → dist/components}/StarlightPage.astro +0 -0
- /package/{components → dist/components}/TableOfContents.astro +0 -0
- /package/{components → dist/components}/ThemeProvider.astro +0 -0
- /package/{components → dist/components}/ThemeSelect.astro +0 -0
- /package/{components → dist/components}/TwoColumnContent.astro +0 -0
- /package/{components-internals → dist/components-internals}/TableOfContents/TableOfContentsList.astro +0 -0
- /package/{components.ts → dist/components.ts} +0 -0
- /package/{routes → dist/routes}/common.astro +0 -0
- /package/{routes → dist/routes}/ssr/404.astro +0 -0
- /package/{routes → dist/routes}/ssr/index.astro +0 -0
- /package/{routes → dist/routes}/static/404.astro +0 -0
- /package/{routes → dist/routes}/static/index.astro +0 -0
- /package/{style → dist/style}/asides.css +0 -0
- /package/{style → dist/style}/layers.css +0 -0
- /package/{style → dist/style}/markdown.css +0 -0
- /package/{style → dist/style}/print.css +0 -0
- /package/{style → dist/style}/props.css +0 -0
- /package/{style → dist/style}/reset.css +0 -0
- /package/{style → dist/style}/util.css +0 -0
- /package/{user-components → dist/user-components}/Aside.astro +0 -0
- /package/{user-components → dist/user-components}/Badge.astro +0 -0
- /package/{user-components → dist/user-components}/Card.astro +0 -0
- /package/{user-components → dist/user-components}/CardGrid.astro +0 -0
- /package/{user-components → dist/user-components}/Icon.astro +0 -0
- /package/{user-components → dist/user-components}/LinkButton.astro +0 -0
- /package/{user-components → dist/user-components}/LinkCard.astro +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
//#region src/translations/tr.json
|
|
2
|
+
var tr_default = {
|
|
3
|
+
"skipLink.label": "İçeriğe geç",
|
|
4
|
+
"search.label": "Ara",
|
|
5
|
+
"search.ctrlKey": "Ctrl",
|
|
6
|
+
"search.cancelLabel": "İptal",
|
|
7
|
+
"search.devWarning": "Arama yalnızca üretim yapımlarında kullanılabilir. \nYerel olarak denemek için siteyi oluşturmayı ve önizlemeyi deneyin.",
|
|
8
|
+
"themeSelect.accessibleLabel": "Tema seç",
|
|
9
|
+
"themeSelect.dark": "Koyu",
|
|
10
|
+
"themeSelect.light": "Açık",
|
|
11
|
+
"themeSelect.auto": "Otomatik",
|
|
12
|
+
"languageSelect.accessibleLabel": "Dil seçin",
|
|
13
|
+
"menuButton.accessibleLabel": "Menü",
|
|
14
|
+
"sidebarNav.accessibleLabel": "Ana",
|
|
15
|
+
"tableOfContents.onThisPage": "Sayfa içeriği",
|
|
16
|
+
"tableOfContents.overview": "Genel Bakış",
|
|
17
|
+
"i18n.untranslatedContent": "Bu içerik henüz dilinizde mevcut değil.",
|
|
18
|
+
"page.editLink": "Sayfayı düzenle",
|
|
19
|
+
"page.lastUpdated": "Son güncelleme:",
|
|
20
|
+
"page.previousLink": "Önceki",
|
|
21
|
+
"page.nextLink": "Sonraki",
|
|
22
|
+
"page.draft": "Bu içerik bir taslaktır ve üretim yapımlarına dahil edilmeyecektir.",
|
|
23
|
+
"404.text": "Sayfa bulunamadı. URL'yi gözden geçirin veya arama çubuğunu kullanmayı deneyin.",
|
|
24
|
+
"aside.note": "Not",
|
|
25
|
+
"aside.tip": "İpucu",
|
|
26
|
+
"aside.caution": "Dikkat",
|
|
27
|
+
"aside.danger": "Tehlike",
|
|
28
|
+
"fileTree.directory": "Dizin",
|
|
29
|
+
"builtWithStarlight.label": "Starlight ile oluşturuldu",
|
|
30
|
+
"heading.anchorLabel": "Bölüm başlığı “{{title}}”"
|
|
31
|
+
};
|
|
32
|
+
//#endregion
|
|
33
|
+
export { tr_default as default };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
//#region src/translations/uk.json
|
|
2
|
+
var uk_default = {
|
|
3
|
+
"skipLink.label": "Перейти до вмісту",
|
|
4
|
+
"search.label": "Пошук",
|
|
5
|
+
"search.ctrlKey": "Ctrl",
|
|
6
|
+
"search.cancelLabel": "Скасувати",
|
|
7
|
+
"search.devWarning": "Пошук доступний лише у виробничих збірках. \nСпробуйте зібрати та переглянути сайт, щоби протестувати його локально",
|
|
8
|
+
"themeSelect.accessibleLabel": "Обрати тему",
|
|
9
|
+
"themeSelect.dark": "Темна",
|
|
10
|
+
"themeSelect.light": "Світла",
|
|
11
|
+
"themeSelect.auto": "Авто",
|
|
12
|
+
"languageSelect.accessibleLabel": "Обрати мову",
|
|
13
|
+
"menuButton.accessibleLabel": "Меню",
|
|
14
|
+
"sidebarNav.accessibleLabel": "Головне",
|
|
15
|
+
"tableOfContents.onThisPage": "На цій сторінці",
|
|
16
|
+
"tableOfContents.overview": "Огляд",
|
|
17
|
+
"i18n.untranslatedContent": "Цей контент ще не доступний вашою мовою.",
|
|
18
|
+
"page.editLink": "Редагувати сторінку",
|
|
19
|
+
"page.lastUpdated": "Останнє оновлення:",
|
|
20
|
+
"page.previousLink": "Назад",
|
|
21
|
+
"page.nextLink": "Далі",
|
|
22
|
+
"page.draft": "Цей контент є чернеткою і не буде включений до виробничих збірок.",
|
|
23
|
+
"404.text": "Сторінку не знайдено. Перевірте URL або спробуйте скористатися пошуком.",
|
|
24
|
+
"aside.note": "Заувага",
|
|
25
|
+
"aside.tip": "Порада",
|
|
26
|
+
"aside.caution": "Обережно",
|
|
27
|
+
"aside.danger": "Небезпечно",
|
|
28
|
+
"fileTree.directory": "Каталог",
|
|
29
|
+
"builtWithStarlight.label": "Створено з Starlight",
|
|
30
|
+
"heading.anchorLabel": "Section titled “{{title}}”"
|
|
31
|
+
};
|
|
32
|
+
//#endregion
|
|
33
|
+
export { uk_default as default };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
//#region src/translations/vi.json
|
|
2
|
+
var vi_default = {
|
|
3
|
+
"skipLink.label": "Bỏ qua để đến nội dung",
|
|
4
|
+
"search.label": "Tìm kiếm",
|
|
5
|
+
"search.ctrlKey": "Ctrl",
|
|
6
|
+
"search.cancelLabel": "Hủy",
|
|
7
|
+
"search.devWarning": "Chức năng tìm kiếm chỉ có sẵn trong các phiên bản thật.\nHãy thử xây dựng và xem trước trang web để kiểm tra.",
|
|
8
|
+
"themeSelect.accessibleLabel": "Chọn giao diện",
|
|
9
|
+
"themeSelect.dark": "Tối",
|
|
10
|
+
"themeSelect.light": "Sáng",
|
|
11
|
+
"themeSelect.auto": "Tự động",
|
|
12
|
+
"languageSelect.accessibleLabel": "Chọn ngôn ngữ",
|
|
13
|
+
"menuButton.accessibleLabel": "Menu",
|
|
14
|
+
"sidebarNav.accessibleLabel": "Chính",
|
|
15
|
+
"tableOfContents.onThisPage": "Trên trang này",
|
|
16
|
+
"tableOfContents.overview": "Tổng quan",
|
|
17
|
+
"i18n.untranslatedContent": "Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.",
|
|
18
|
+
"page.editLink": "Chỉnh sửa trang",
|
|
19
|
+
"page.lastUpdated": "Cập nhật lần cuối:",
|
|
20
|
+
"page.previousLink": "Trước",
|
|
21
|
+
"page.nextLink": "Tiếp",
|
|
22
|
+
"page.draft": "Nội dung này là bản nháp và sẽ không được đưa vào các phiên bản thật.",
|
|
23
|
+
"404.text": "Không tìm thấy trang. Hãy kiểm tra lại URL hoặc thử dùng thanh tìm kiếm.",
|
|
24
|
+
"aside.note": "Ghi chú",
|
|
25
|
+
"aside.tip": "Mẹo",
|
|
26
|
+
"aside.caution": "Chú ý",
|
|
27
|
+
"aside.danger": "Nguy hiểm",
|
|
28
|
+
"fileTree.directory": "Thư mục",
|
|
29
|
+
"builtWithStarlight.label": "Được xây dựng bằng Starlight",
|
|
30
|
+
"heading.anchorLabel": "Phần tiêu đề “{{title}}”"
|
|
31
|
+
};
|
|
32
|
+
//#endregion
|
|
33
|
+
export { vi_default as default };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region src/translations/zh-CN.json
|
|
2
|
+
var zh_CN_default = {
|
|
3
|
+
"skipLink.label": "跳转到内容",
|
|
4
|
+
"search.label": "搜索",
|
|
5
|
+
"search.ctrlKey": "Ctrl",
|
|
6
|
+
"search.cancelLabel": "取消",
|
|
7
|
+
"search.devWarning": "搜索仅适用于生产版本。\n尝试构建并预览网站以在本地测试。",
|
|
8
|
+
"themeSelect.accessibleLabel": "选择主题",
|
|
9
|
+
"themeSelect.dark": "深色",
|
|
10
|
+
"themeSelect.light": "浅色",
|
|
11
|
+
"themeSelect.auto": "自动",
|
|
12
|
+
"languageSelect.accessibleLabel": "选择语言",
|
|
13
|
+
"menuButton.accessibleLabel": "菜单",
|
|
14
|
+
"sidebarNav.accessibleLabel": "主要",
|
|
15
|
+
"tableOfContents.onThisPage": "本页内容",
|
|
16
|
+
"tableOfContents.overview": "概述",
|
|
17
|
+
"i18n.untranslatedContent": "此内容尚不支持你的语言。",
|
|
18
|
+
"page.editLink": "编辑此页",
|
|
19
|
+
"page.lastUpdated": "最近更新:",
|
|
20
|
+
"page.previousLink": "上一页",
|
|
21
|
+
"page.nextLink": "下一页",
|
|
22
|
+
"page.draft": "此内容为草稿,不会包含在生产版本中。",
|
|
23
|
+
"404.text": "页面未找到。检查 URL 或尝试使用搜索栏。",
|
|
24
|
+
"aside.note": "注意",
|
|
25
|
+
"aside.tip": "提示",
|
|
26
|
+
"aside.caution": "警告",
|
|
27
|
+
"aside.danger": "危险",
|
|
28
|
+
"expressiveCode.terminalWindowFallbackTitle": "终端窗口",
|
|
29
|
+
"expressiveCode.copyButtonTooltip": "复制到剪贴板",
|
|
30
|
+
"expressiveCode.copyButtonCopied": "复制成功!",
|
|
31
|
+
"fileTree.directory": "文件夹",
|
|
32
|
+
"builtWithStarlight.label": "基于 Starlight 构建",
|
|
33
|
+
"heading.anchorLabel": "Section titled “{{title}}”"
|
|
34
|
+
};
|
|
35
|
+
//#endregion
|
|
36
|
+
export { zh_CN_default as default };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region src/translations/zh-TW.json
|
|
2
|
+
var zh_TW_default = {
|
|
3
|
+
"skipLink.label": "跳到內容",
|
|
4
|
+
"search.label": "搜尋",
|
|
5
|
+
"search.ctrlKey": "Ctrl",
|
|
6
|
+
"search.cancelLabel": "取消",
|
|
7
|
+
"search.devWarning": "正式版本才能使用搜尋功能。\n如要在本地測試,請先建置並預覽網站。",
|
|
8
|
+
"themeSelect.accessibleLabel": "選擇佈景主題",
|
|
9
|
+
"themeSelect.dark": "深色",
|
|
10
|
+
"themeSelect.light": "淺色",
|
|
11
|
+
"themeSelect.auto": "自動",
|
|
12
|
+
"languageSelect.accessibleLabel": "選擇語言",
|
|
13
|
+
"menuButton.accessibleLabel": "選單",
|
|
14
|
+
"sidebarNav.accessibleLabel": "主要",
|
|
15
|
+
"tableOfContents.onThisPage": "本頁內容",
|
|
16
|
+
"tableOfContents.overview": "概述",
|
|
17
|
+
"i18n.untranslatedContent": "本頁內容尚未翻譯。",
|
|
18
|
+
"page.editLink": "編輯頁面",
|
|
19
|
+
"page.lastUpdated": "最後更新於:",
|
|
20
|
+
"page.previousLink": "前一則",
|
|
21
|
+
"page.nextLink": "下一則",
|
|
22
|
+
"page.draft": "This content is a draft and will not be included in production builds.",
|
|
23
|
+
"404.text": "找不到頁面。請檢查網址或改用搜尋功能。",
|
|
24
|
+
"aside.note": "注意",
|
|
25
|
+
"aside.tip": "提示",
|
|
26
|
+
"aside.caution": "警告",
|
|
27
|
+
"aside.danger": "危險",
|
|
28
|
+
"expressiveCode.terminalWindowFallbackTitle": "終端機視窗",
|
|
29
|
+
"expressiveCode.copyButtonTooltip": "複製到剪貼簿",
|
|
30
|
+
"expressiveCode.copyButtonCopied": "複製成功!",
|
|
31
|
+
"fileTree.directory": "目錄",
|
|
32
|
+
"builtWithStarlight.label": "Built with Starlight",
|
|
33
|
+
"heading.anchorLabel": "Section titled “{{title}}”"
|
|
34
|
+
};
|
|
35
|
+
//#endregion
|
|
36
|
+
export { zh_TW_default as default };
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { StarlightIcon } from "./components-internals/Icons.js";
|
|
2
|
+
import { StarlightConfig } from "./utils/user-config.js";
|
|
3
|
+
import { HookParameters, StarlightPlugin, StarlightUserConfigWithPlugins } from "./utils/plugins.js";
|
|
4
|
+
export type { HookParameters, StarlightConfig, StarlightIcon, StarlightPlugin, StarlightUserConfigWithPlugins as StarlightUserConfig };
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { Definitions } from "./file-tree-processor.js";
|
|
2
|
+
//#region src/user-components/file-tree-icons.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Based on https://github.com/elviswolcott/seti-icons which
|
|
5
|
+
* is derived from https://github.com/jesseweed/seti-ui/
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) 2014 Jesse Weed
|
|
8
|
+
*
|
|
9
|
+
* Permission is hereby granted, free of charge, to any person obtaining
|
|
10
|
+
* a copy of this software and associated documentation files (the
|
|
11
|
+
* "Software"), to deal in the Software without restriction, including
|
|
12
|
+
* without limitation the rights to use, copy, modify, merge, publish,
|
|
13
|
+
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
14
|
+
* permit persons to whom the Software is furnished to do so, subject to
|
|
15
|
+
* the following conditions:
|
|
16
|
+
*
|
|
17
|
+
* The above copyright notice and this permission notice shall be
|
|
18
|
+
* included in all copies or substantial portions of the Software.
|
|
19
|
+
*
|
|
20
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
21
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
22
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
23
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
24
|
+
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
25
|
+
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
26
|
+
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
27
|
+
*/
|
|
28
|
+
declare const definitions: Definitions;
|
|
29
|
+
declare const FileIcons: {
|
|
30
|
+
'seti:folder': string;
|
|
31
|
+
'seti:bsl': string;
|
|
32
|
+
'seti:mdo': string;
|
|
33
|
+
'seti:salesforce': string;
|
|
34
|
+
'seti:asm': string;
|
|
35
|
+
'seti:bicep': string;
|
|
36
|
+
'seti:bazel': string;
|
|
37
|
+
'seti:c': string;
|
|
38
|
+
'seti:c-sharp': string;
|
|
39
|
+
'seti:html': string;
|
|
40
|
+
'seti:cpp': string;
|
|
41
|
+
'seti:clojure': string;
|
|
42
|
+
'seti:coldfusion': string;
|
|
43
|
+
'seti:config': string;
|
|
44
|
+
'seti:crystal': string;
|
|
45
|
+
'seti:crystal_embedded': string;
|
|
46
|
+
'seti:json': string;
|
|
47
|
+
'seti:css': string;
|
|
48
|
+
'seti:csv': string;
|
|
49
|
+
'seti:xls': string;
|
|
50
|
+
'seti:cu': string;
|
|
51
|
+
'seti:cake': string;
|
|
52
|
+
'seti:cake_php': string;
|
|
53
|
+
'seti:d': string;
|
|
54
|
+
'seti:word': string;
|
|
55
|
+
'seti:elixir': string;
|
|
56
|
+
'seti:elixir_script': string;
|
|
57
|
+
'seti:hex': string;
|
|
58
|
+
'seti:elm': string;
|
|
59
|
+
'seti:favicon': string;
|
|
60
|
+
'seti:f-sharp': string;
|
|
61
|
+
'seti:git': string;
|
|
62
|
+
'seti:go': string;
|
|
63
|
+
'seti:godot': string;
|
|
64
|
+
'seti:gradle': string;
|
|
65
|
+
'seti:grails': string;
|
|
66
|
+
'seti:graphql': string;
|
|
67
|
+
'seti:hacklang': string;
|
|
68
|
+
'seti:haml': string;
|
|
69
|
+
'seti:mustache': string;
|
|
70
|
+
'seti:haskell': string;
|
|
71
|
+
'seti:haxe': string;
|
|
72
|
+
'seti:jade': string;
|
|
73
|
+
'seti:java': string;
|
|
74
|
+
'seti:javascript': string;
|
|
75
|
+
'seti:jinja': string;
|
|
76
|
+
'seti:julia': string;
|
|
77
|
+
'seti:karma': string;
|
|
78
|
+
'seti:kotlin': string;
|
|
79
|
+
'seti:dart': string;
|
|
80
|
+
'seti:liquid': string;
|
|
81
|
+
'seti:livescript': string;
|
|
82
|
+
'seti:lua': string;
|
|
83
|
+
'seti:markdown': string;
|
|
84
|
+
'seti:argdown': string;
|
|
85
|
+
'seti:info': string;
|
|
86
|
+
'seti:clock': string;
|
|
87
|
+
'seti:maven': string;
|
|
88
|
+
'seti:nim': string;
|
|
89
|
+
'seti:github': string;
|
|
90
|
+
'seti:notebook': string;
|
|
91
|
+
'seti:nunjucks': string;
|
|
92
|
+
'seti:npm': string;
|
|
93
|
+
'seti:ocaml': string;
|
|
94
|
+
'seti:odata': string;
|
|
95
|
+
'seti:perl': string;
|
|
96
|
+
'seti:php': string;
|
|
97
|
+
'seti:pipeline': string;
|
|
98
|
+
'seti:pddl': string;
|
|
99
|
+
'seti:plan': string;
|
|
100
|
+
'seti:happenings': string;
|
|
101
|
+
'seti:powershell': string;
|
|
102
|
+
'seti:prisma': string;
|
|
103
|
+
'seti:pug': string;
|
|
104
|
+
'seti:puppet': string;
|
|
105
|
+
'seti:purescript': string;
|
|
106
|
+
'seti:python': string;
|
|
107
|
+
'seti:react': string;
|
|
108
|
+
'seti:rescript': string;
|
|
109
|
+
'seti:R': string;
|
|
110
|
+
'seti:ruby': string;
|
|
111
|
+
'seti:rust': string;
|
|
112
|
+
'seti:sass': string;
|
|
113
|
+
'seti:spring': string;
|
|
114
|
+
'seti:slim': string;
|
|
115
|
+
'seti:smarty': string;
|
|
116
|
+
'seti:sbt': string;
|
|
117
|
+
'seti:scala': string;
|
|
118
|
+
'seti:ethereum': string;
|
|
119
|
+
'seti:stylus': string;
|
|
120
|
+
'seti:svelte': string;
|
|
121
|
+
'seti:swift': string;
|
|
122
|
+
'seti:db': string;
|
|
123
|
+
'seti:terraform': string;
|
|
124
|
+
'seti:tex': string;
|
|
125
|
+
'seti:default': string;
|
|
126
|
+
'seti:twig': string;
|
|
127
|
+
'seti:typescript': string;
|
|
128
|
+
'seti:tsconfig': string;
|
|
129
|
+
'seti:vala': string;
|
|
130
|
+
'seti:vite': string;
|
|
131
|
+
'seti:vue': string;
|
|
132
|
+
'seti:wasm': string;
|
|
133
|
+
'seti:wat': string;
|
|
134
|
+
'seti:xml': string;
|
|
135
|
+
'seti:yml': string;
|
|
136
|
+
'seti:prolog': string;
|
|
137
|
+
'seti:zig': string;
|
|
138
|
+
'seti:zip': string;
|
|
139
|
+
'seti:wgt': string;
|
|
140
|
+
'seti:illustrator': string;
|
|
141
|
+
'seti:photoshop': string;
|
|
142
|
+
'seti:pdf': string;
|
|
143
|
+
'seti:font': string;
|
|
144
|
+
'seti:image': string;
|
|
145
|
+
'seti:svg': string;
|
|
146
|
+
'seti:sublime': string;
|
|
147
|
+
'seti:code-search': string;
|
|
148
|
+
'seti:shell': string;
|
|
149
|
+
'seti:video': string;
|
|
150
|
+
'seti:audio': string;
|
|
151
|
+
'seti:windows': string;
|
|
152
|
+
'seti:jenkins': string;
|
|
153
|
+
'seti:babel': string;
|
|
154
|
+
'seti:bower': string;
|
|
155
|
+
'seti:docker': string;
|
|
156
|
+
'seti:code-climate': string;
|
|
157
|
+
'seti:eslint': string;
|
|
158
|
+
'seti:firebase': string;
|
|
159
|
+
'seti:firefox': string;
|
|
160
|
+
'seti:gitlab': string;
|
|
161
|
+
'seti:grunt': string;
|
|
162
|
+
'seti:gulp': string;
|
|
163
|
+
'seti:ionic': string;
|
|
164
|
+
'seti:platformio': string;
|
|
165
|
+
'seti:rollup': string;
|
|
166
|
+
'seti:stylelint': string;
|
|
167
|
+
'seti:yarn': string;
|
|
168
|
+
'seti:webpack': string;
|
|
169
|
+
'seti:lock': string;
|
|
170
|
+
'seti:license': string;
|
|
171
|
+
'seti:makefile': string;
|
|
172
|
+
'seti:heroku': string;
|
|
173
|
+
'seti:todo': string;
|
|
174
|
+
'seti:ignored': string;
|
|
175
|
+
};
|
|
176
|
+
type FileIcon = 'seti:folder' | 'seti:bsl' | 'seti:mdo' | 'seti:salesforce' | 'seti:asm' | 'seti:bicep' | 'seti:bazel' | 'seti:c' | 'seti:c-sharp' | 'seti:html' | 'seti:cpp' | 'seti:clojure' | 'seti:coldfusion' | 'seti:config' | 'seti:crystal' | 'seti:crystal_embedded' | 'seti:json' | 'seti:css' | 'seti:csv' | 'seti:xls' | 'seti:cu' | 'seti:cake' | 'seti:cake_php' | 'seti:d' | 'seti:word' | 'seti:elixir' | 'seti:elixir_script' | 'seti:hex' | 'seti:elm' | 'seti:favicon' | 'seti:f-sharp' | 'seti:git' | 'seti:go' | 'seti:godot' | 'seti:gradle' | 'seti:grails' | 'seti:graphql' | 'seti:hacklang' | 'seti:haml' | 'seti:mustache' | 'seti:haskell' | 'seti:haxe' | 'seti:jade' | 'seti:java' | 'seti:javascript' | 'seti:jinja' | 'seti:julia' | 'seti:karma' | 'seti:kotlin' | 'seti:dart' | 'seti:liquid' | 'seti:livescript' | 'seti:lua' | 'seti:markdown' | 'seti:argdown' | 'seti:info' | 'seti:clock' | 'seti:maven' | 'seti:nim' | 'seti:github' | 'seti:notebook' | 'seti:nunjucks' | 'seti:npm' | 'seti:ocaml' | 'seti:odata' | 'seti:perl' | 'seti:php' | 'seti:pipeline' | 'seti:pddl' | 'seti:plan' | 'seti:happenings' | 'seti:powershell' | 'seti:prisma' | 'seti:pug' | 'seti:puppet' | 'seti:purescript' | 'seti:python' | 'seti:react' | 'seti:rescript' | 'seti:R' | 'seti:ruby' | 'seti:rust' | 'seti:sass' | 'seti:spring' | 'seti:slim' | 'seti:smarty' | 'seti:sbt' | 'seti:scala' | 'seti:ethereum' | 'seti:stylus' | 'seti:svelte' | 'seti:swift' | 'seti:db' | 'seti:terraform' | 'seti:tex' | 'seti:default' | 'seti:twig' | 'seti:typescript' | 'seti:tsconfig' | 'seti:vala' | 'seti:vite' | 'seti:vue' | 'seti:wasm' | 'seti:wat' | 'seti:xml' | 'seti:yml' | 'seti:prolog' | 'seti:zig' | 'seti:zip' | 'seti:wgt' | 'seti:illustrator' | 'seti:photoshop' | 'seti:pdf' | 'seti:font' | 'seti:image' | 'seti:svg' | 'seti:sublime' | 'seti:code-search' | 'seti:shell' | 'seti:video' | 'seti:audio' | 'seti:windows' | 'seti:jenkins' | 'seti:babel' | 'seti:bower' | 'seti:docker' | 'seti:code-climate' | 'seti:eslint' | 'seti:firebase' | 'seti:firefox' | 'seti:gitlab' | 'seti:grunt' | 'seti:gulp' | 'seti:ionic' | 'seti:platformio' | 'seti:rollup' | 'seti:stylelint' | 'seti:yarn' | 'seti:webpack' | 'seti:lock' | 'seti:license' | 'seti:makefile' | 'seti:heroku' | 'seti:todo' | 'seti:ignored';
|
|
177
|
+
//#endregion
|
|
178
|
+
export { FileIcon, FileIcons, definitions };
|