@docusaurus/theme-classic 2.0.0-beta.15a2b59f9 → 2.0.0-beta.17
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/README.md +2 -2
- package/lib/admonitions.css +35 -0
- package/{lib-next/theme/Toggle/styles.module.css → lib/deps.d.ts} +5 -9
- package/lib/getSwizzleConfig.js +125 -0
- package/lib/index.js +36 -41
- package/lib/prism-include-languages.js +9 -5
- package/lib/theme-classic.d.ts +771 -0
- package/lib/translations.js +40 -34
- package/lib/types.d.ts +0 -587
- package/lib/validateThemeConfig.js +242 -250
- package/lib-next/theme/Admonition/index.js +101 -0
- package/lib-next/theme/AnnouncementBar/index.js +8 -16
- package/lib-next/theme/AnnouncementBar/styles.module.css +23 -32
- package/lib-next/theme/BackToTopButton/index.js +131 -0
- package/lib-next/theme/BackToTopButton/styles.module.css +44 -0
- package/lib-next/theme/BlogArchivePage/index.js +80 -0
- package/lib-next/theme/BlogLayout/index.js +37 -0
- package/lib-next/theme/BlogListPage/index.js +18 -29
- package/lib-next/theme/BlogListPaginator/index.js +13 -16
- package/lib-next/theme/BlogPostAuthor/index.js +52 -0
- package/{lib/theme/IconEdit → lib-next/theme/BlogPostAuthor}/styles.module.css +4 -3
- package/lib-next/theme/BlogPostAuthors/index.js +44 -0
- package/{src/theme/Toggle → lib-next/theme/BlogPostAuthors}/styles.module.css +11 -7
- package/lib-next/theme/BlogPostItem/index.js +94 -96
- package/lib-next/theme/BlogPostPage/index.js +75 -39
- package/lib-next/theme/BlogPostPaginator/index.js +12 -19
- package/lib-next/theme/BlogSidebar/index.js +11 -13
- package/lib-next/theme/BlogSidebar/styles.module.css +4 -2
- package/lib-next/theme/BlogTagsListPage/index.js +15 -59
- package/lib-next/theme/BlogTagsPostsPage/index.js +33 -41
- package/lib-next/theme/CodeBlock/index.js +64 -154
- package/lib-next/theme/CodeBlock/styles.module.css +17 -9
- package/lib-next/theme/ColorModeToggle/index.js +83 -0
- package/lib-next/theme/ColorModeToggle/styles.module.css +51 -0
- package/lib-next/theme/Details/index.js +21 -0
- package/lib-next/theme/Details/styles.module.css +13 -0
- package/lib-next/theme/DocBreadcrumbs/index.js +76 -0
- package/lib-next/theme/DocBreadcrumbs/styles.module.css +26 -0
- package/lib-next/theme/DocCard/index.js +91 -0
- package/lib-next/theme/DocCard/styles.module.css +43 -0
- package/lib-next/theme/DocCardList/index.js +19 -0
- package/lib-next/theme/DocCategoryGeneratedIndexPage/index.js +54 -0
- package/lib-next/theme/DocCategoryGeneratedIndexPage/styles.module.css +18 -0
- package/lib-next/theme/DocItem/index.js +53 -58
- package/lib-next/theme/DocItem/styles.module.css +6 -10
- package/lib-next/theme/DocItemFooter/index.js +79 -0
- package/{lib/theme/DocItem → lib-next/theme/DocItemFooter}/styles.module.css +1 -9
- package/lib-next/theme/DocPage/index.js +54 -55
- package/lib-next/theme/DocPage/styles.module.css +9 -3
- package/lib-next/theme/DocPaginator/index.js +15 -24
- package/lib-next/theme/DocSidebar/index.js +65 -286
- package/lib-next/theme/DocSidebar/styles.module.css +5 -22
- package/lib-next/theme/DocSidebarItem/index.js +264 -0
- package/{lib/theme/BlogPostItem → lib-next/theme/DocSidebarItem}/styles.module.css +5 -10
- package/lib-next/theme/DocSidebarItems/index.js +28 -0
- package/lib-next/theme/DocTagDocListPage/index.js +89 -0
- package/lib-next/theme/DocTagsListPage/index.js +35 -0
- package/lib-next/theme/DocVersionBadge/index.js +34 -0
- package/lib-next/theme/DocVersionBanner/index.js +32 -15
- package/lib-next/theme/EditThisPage/index.js +6 -1
- package/lib-next/theme/ErrorPageContent.js +35 -0
- package/lib-next/theme/Footer/index.js +95 -40
- package/lib-next/theme/Footer/styles.module.css +2 -1
- package/lib-next/theme/Heading/index.js +39 -48
- package/lib-next/theme/Heading/styles.module.css +25 -5
- package/lib-next/theme/IconArrow/index.js +2 -5
- package/lib-next/theme/IconClose/index.js +23 -0
- package/lib-next/theme/IconDarkMode/index.js +17 -0
- package/lib-next/theme/IconEdit/index.js +2 -5
- package/lib-next/theme/IconExternalLink/index.js +2 -5
- package/lib-next/theme/IconLanguage/index.js +5 -8
- package/lib-next/theme/IconLightMode/index.js +17 -0
- package/lib-next/theme/IconMenu/index.js +7 -5
- package/lib-next/theme/LastUpdated/index.js +3 -2
- package/lib-next/theme/Layout/index.js +5 -7
- package/lib-next/theme/LayoutHead/index.js +27 -32
- package/lib-next/theme/LayoutProviders/index.js +15 -9
- package/lib-next/theme/Logo/index.js +25 -24
- package/lib-next/theme/MDXComponents/index.js +59 -30
- package/{src/theme/hooks → lib-next/theme/MDXComponents}/styles.css +7 -2
- package/lib-next/theme/MDXPage/index.js +10 -12
- package/lib-next/theme/Navbar/index.js +199 -64
- package/lib-next/theme/Navbar/styles.module.css +10 -3
- package/lib-next/theme/NavbarItem/DefaultNavbarItem.js +35 -201
- package/lib-next/theme/NavbarItem/DocNavbarItem.js +11 -8
- package/lib-next/theme/NavbarItem/DocSidebarNavbarItem.js +73 -0
- package/lib-next/theme/NavbarItem/DocsVersionDropdownNavbarItem.js +34 -20
- package/lib-next/theme/NavbarItem/DocsVersionNavbarItem.js +4 -1
- package/lib-next/theme/NavbarItem/DropdownNavbarItem.js +156 -0
- package/lib-next/theme/NavbarItem/{LocaleDropdownNavbarItem.js → LocaleDropdownNavbarItem/index.js} +12 -13
- package/{lib/theme/hooks/styles.css → lib-next/theme/NavbarItem/LocaleDropdownNavbarItem/styles.module.css} +3 -2
- package/lib-next/theme/NavbarItem/NavbarNavLink.js +70 -0
- package/lib-next/theme/NavbarItem/index.js +26 -14
- package/lib-next/theme/{UserPreferencesContext.js → NavbarItem/utils.js} +3 -3
- package/lib-next/theme/NotFound.js +1 -4
- package/lib-next/theme/PaginatorNavLink/index.js +17 -0
- package/lib-next/theme/SearchBar.js +1 -1
- package/lib-next/theme/SearchMetadata/index.js +34 -0
- package/lib-next/theme/Seo/index.js +11 -7
- package/lib-next/theme/SkipToContent/index.js +3 -5
- package/lib-next/theme/SkipToContent/styles.module.css +7 -0
- package/lib-next/theme/TOC/index.js +12 -39
- package/lib-next/theme/TOC/styles.module.css +1 -1
- package/lib-next/theme/TOCCollapsible/index.js +54 -0
- package/lib-next/theme/TOCCollapsible/styles.module.css +50 -0
- package/lib-next/theme/TOCInline/index.js +10 -31
- package/lib-next/theme/TOCItems/index.js +85 -0
- package/lib-next/theme/TabItem/index.js +1 -4
- package/lib-next/theme/Tabs/__tests__/index.test.js +146 -0
- package/lib-next/theme/Tabs/index.js +108 -50
- package/lib-next/theme/Tabs/styles.module.css +0 -13
- package/lib-next/theme/Tag/index.js +24 -0
- package/lib-next/theme/Tag/styles.module.css +70 -0
- package/lib-next/theme/TagsListByLetter/index.js +40 -0
- package/lib-next/theme/{hooks/styles.css → TagsListByLetter/styles.module.css} +3 -2
- package/lib-next/theme/TagsListInline/index.js +31 -0
- package/lib-next/theme/TagsListInline/styles.module.css +15 -0
- package/lib-next/theme/ThemedImage/index.js +7 -10
- package/lib-next/theme/ThemedImage/styles.module.css +2 -2
- package/lib-next/theme/prism-include-languages.js +17 -15
- package/package.json +31 -31
- package/src/admonitions.css +35 -0
- package/src/deps.d.ts +13 -0
- package/src/getSwizzleConfig.ts +123 -0
- package/src/index.ts +39 -61
- package/{lib-next/prism-include-languages.js → src/prism-include-languages.ts} +0 -0
- package/src/theme/Admonition/index.tsx +106 -0
- package/src/theme/AnnouncementBar/index.tsx +9 -15
- package/src/theme/AnnouncementBar/styles.module.css +23 -32
- package/src/theme/BackToTopButton/index.tsx +143 -0
- package/src/theme/BackToTopButton/styles.module.css +44 -0
- package/src/theme/BlogArchivePage/index.tsx +91 -0
- package/src/theme/BlogLayout/index.tsx +42 -0
- package/src/theme/BlogListPage/index.tsx +19 -28
- package/src/theme/BlogListPaginator/index.tsx +13 -15
- package/src/theme/BlogPostAuthor/index.tsx +54 -0
- package/{lib/theme/MDXPage → src/theme/BlogPostAuthor}/styles.module.css +4 -2
- package/src/theme/BlogPostAuthors/index.tsx +49 -0
- package/src/theme/BlogPostAuthors/styles.module.css +21 -0
- package/src/theme/BlogPostItem/index.tsx +84 -90
- package/src/theme/BlogPostPage/index.tsx +77 -38
- package/src/theme/BlogPostPaginator/index.tsx +12 -18
- package/src/theme/BlogSidebar/index.tsx +11 -13
- package/src/theme/BlogSidebar/styles.module.css +4 -2
- package/src/theme/BlogTagsListPage/index.tsx +15 -60
- package/src/theme/BlogTagsPostsPage/index.tsx +32 -40
- package/src/theme/CodeBlock/index.tsx +68 -156
- package/src/theme/CodeBlock/styles.module.css +17 -9
- package/src/theme/ColorModeToggle/index.tsx +92 -0
- package/src/theme/ColorModeToggle/styles.module.css +51 -0
- package/src/theme/Details/index.tsx +25 -0
- package/src/theme/Details/styles.module.css +13 -0
- package/src/theme/DocBreadcrumbs/index.tsx +91 -0
- package/src/theme/DocBreadcrumbs/styles.module.css +26 -0
- package/src/theme/DocCard/index.tsx +109 -0
- package/src/theme/DocCard/styles.module.css +43 -0
- package/src/theme/DocCardList/index.tsx +27 -0
- package/src/theme/DocCategoryGeneratedIndexPage/index.tsx +59 -0
- package/src/theme/DocCategoryGeneratedIndexPage/styles.module.css +18 -0
- package/src/theme/DocItem/index.tsx +56 -58
- package/src/theme/DocItem/styles.module.css +6 -10
- package/src/theme/DocItemFooter/index.tsx +91 -0
- package/{lib/theme/Toggle → src/theme/DocItemFooter}/styles.module.css +9 -8
- package/src/theme/DocPage/index.tsx +53 -49
- package/src/theme/DocPage/styles.module.css +9 -3
- package/src/theme/DocPaginator/index.tsx +15 -23
- package/src/theme/DocSidebar/index.tsx +76 -298
- package/src/theme/DocSidebar/styles.module.css +5 -22
- package/src/theme/DocSidebarItem/index.tsx +283 -0
- package/src/theme/DocSidebarItem/styles.module.css +13 -0
- package/src/theme/DocSidebarItems/index.tsx +32 -0
- package/src/theme/DocTagDocListPage/index.tsx +89 -0
- package/src/theme/DocTagsListPage/index.tsx +39 -0
- package/src/theme/DocVersionBadge/index.tsx +35 -0
- package/src/theme/DocVersionBanner/index.tsx +49 -22
- package/src/theme/EditThisPage/index.tsx +6 -1
- package/src/theme/ErrorPageContent.tsx +41 -0
- package/src/theme/Footer/index.tsx +109 -44
- package/src/theme/Footer/styles.module.css +2 -1
- package/src/theme/Heading/index.tsx +38 -53
- package/src/theme/Heading/styles.module.css +25 -5
- package/src/theme/IconArrow/index.tsx +2 -4
- package/src/theme/IconClose/index.tsx +26 -0
- package/src/theme/IconDarkMode/index.tsx +20 -0
- package/src/theme/IconEdit/index.tsx +5 -4
- package/src/theme/IconExternalLink/index.tsx +3 -5
- package/src/theme/IconLanguage/index.tsx +6 -8
- package/src/theme/IconLightMode/index.tsx +20 -0
- package/src/theme/IconMenu/index.tsx +3 -5
- package/src/theme/LastUpdated/index.tsx +3 -2
- package/src/theme/Layout/index.tsx +5 -6
- package/src/theme/LayoutHead/index.tsx +26 -25
- package/src/theme/LayoutProviders/index.tsx +15 -9
- package/src/theme/Logo/index.tsx +21 -19
- package/src/theme/MDXComponents/index.tsx +70 -32
- package/{lib/theme/IconExternalLink/styles.module.css → src/theme/MDXComponents/styles.css} +7 -4
- package/src/theme/MDXPage/index.tsx +10 -12
- package/src/theme/Navbar/index.tsx +208 -68
- package/src/theme/Navbar/styles.module.css +10 -3
- package/src/theme/NavbarItem/DefaultNavbarItem.tsx +37 -207
- package/src/theme/NavbarItem/DocNavbarItem.tsx +17 -18
- package/src/theme/NavbarItem/DocSidebarNavbarItem.tsx +84 -0
- package/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx +39 -24
- package/src/theme/NavbarItem/DocsVersionNavbarItem.tsx +7 -3
- package/src/theme/NavbarItem/DropdownNavbarItem.tsx +181 -0
- package/src/theme/NavbarItem/{LocaleDropdownNavbarItem.tsx → LocaleDropdownNavbarItem/index.tsx} +16 -10
- package/src/theme/NavbarItem/LocaleDropdownNavbarItem/styles.module.css +11 -0
- package/src/theme/NavbarItem/NavbarNavLink.tsx +68 -0
- package/src/theme/NavbarItem/index.tsx +41 -18
- package/src/theme/NavbarItem/utils.ts +10 -0
- package/src/theme/NotFound.tsx +1 -3
- package/src/theme/PaginatorNavLink/index.tsx +20 -0
- package/src/theme/SearchBar.tsx +2 -1
- package/src/theme/SearchMetadata/index.tsx +43 -0
- package/src/theme/Seo/index.tsx +7 -4
- package/src/theme/SkipToContent/index.tsx +3 -5
- package/src/theme/SkipToContent/styles.module.css +7 -0
- package/src/theme/TOC/index.tsx +13 -44
- package/src/theme/TOC/styles.module.css +1 -1
- package/src/theme/TOCCollapsible/index.tsx +58 -0
- package/src/theme/TOCCollapsible/styles.module.css +50 -0
- package/src/theme/TOCInline/index.tsx +14 -35
- package/src/theme/TOCItems/index.tsx +100 -0
- package/src/theme/TabItem/index.tsx +5 -3
- package/src/theme/Tabs/index.tsx +115 -56
- package/src/theme/Tabs/styles.module.css +0 -13
- package/src/theme/Tag/index.tsx +29 -0
- package/src/theme/Tag/styles.module.css +70 -0
- package/src/theme/TagsListByLetter/index.tsx +43 -0
- package/src/theme/TagsListByLetter/styles.module.css +11 -0
- package/src/theme/TagsListInline/index.tsx +35 -0
- package/src/theme/TagsListInline/styles.module.css +15 -0
- package/src/theme/ThemedImage/index.tsx +7 -9
- package/src/theme/ThemedImage/styles.module.css +2 -2
- package/src/theme/prism-include-languages.ts +20 -15
- package/src/theme-classic.d.ts +771 -0
- package/src/translations.ts +74 -54
- package/src/types.d.ts +0 -587
- package/src/validateThemeConfig.ts +381 -0
- package/babel.config.js +0 -35
- package/codeTranslations/README.md +0 -20
- package/codeTranslations/ar.json +0 -57
- package/codeTranslations/base.json +0 -112
- package/codeTranslations/bn.json +0 -56
- package/codeTranslations/da.json +0 -57
- package/codeTranslations/de.json +0 -57
- package/codeTranslations/es.json +0 -57
- package/codeTranslations/fa.json +0 -57
- package/codeTranslations/fil.json +0 -57
- package/codeTranslations/fr.json +0 -57
- package/codeTranslations/he.json +0 -57
- package/codeTranslations/hi.json +0 -57
- package/codeTranslations/ja.json +0 -57
- package/codeTranslations/ko.json +0 -57
- package/codeTranslations/pl.json +0 -57
- package/codeTranslations/pt-BR.json +0 -57
- package/codeTranslations/pt-PT.json +0 -57
- package/codeTranslations/ru.json +0 -57
- package/codeTranslations/tr.json +0 -57
- package/codeTranslations/vi.json +0 -57
- package/codeTranslations/zh-Hans.json +0 -57
- package/codeTranslations/zh-Hant.json +0 -57
- package/lib/__tests__/__snapshots__/translations.test.ts.snap +0 -116
- package/lib/__tests__/translations.test.js +0 -112
- package/lib/__tests__/validateThemeConfig.test.js +0 -333
- package/lib/theme/AnnouncementBar/index.js +0 -72
- package/lib/theme/AnnouncementBar/styles.module.css +0 -72
- package/lib/theme/BlogListPage/index.js +0 -71
- package/lib/theme/BlogListPaginator/index.js +0 -63
- package/lib/theme/BlogPostItem/index.js +0 -161
- package/lib/theme/BlogPostPage/index.js +0 -69
- package/lib/theme/BlogPostPaginator/index.js +0 -64
- package/lib/theme/BlogSidebar/index.js +0 -51
- package/lib/theme/BlogSidebar/styles.module.css +0 -44
- package/lib/theme/BlogTagsListPage/index.js +0 -76
- package/lib/theme/BlogTagsPostsPage/index.js +0 -100
- package/lib/theme/CodeBlock/index.js +0 -253
- package/lib/theme/CodeBlock/styles.module.css +0 -68
- package/lib/theme/DocItem/index.js +0 -129
- package/lib/theme/DocPage/index.js +0 -173
- package/lib/theme/DocPage/styles.module.css +0 -80
- package/lib/theme/DocPaginator/index.js +0 -63
- package/lib/theme/DocSidebar/index.js +0 -309
- package/lib/theme/DocSidebar/styles.module.css +0 -124
- package/lib/theme/DocVersionBanner/index.js +0 -128
- package/lib/theme/EditThisPage/index.js +0 -31
- package/lib/theme/Footer/index.js +0 -115
- package/lib/theme/Footer/styles.module.css +0 -15
- package/lib/theme/Heading/index.js +0 -76
- package/lib/theme/Heading/styles.css +0 -23
- package/lib/theme/Heading/styles.module.css +0 -15
- package/lib/theme/IconArrow/index.js +0 -28
- package/lib/theme/IconEdit/index.js +0 -34
- package/lib/theme/IconExternalLink/index.js +0 -30
- package/lib/theme/IconLanguage/index.js +0 -29
- package/lib/theme/IconMenu/index.js +0 -30
- package/lib/theme/LastUpdated/index.js +0 -61
- package/lib/theme/Layout/index.js +0 -64
- package/lib/theme/Layout/styles.css +0 -27
- package/lib/theme/LayoutHead/index.js +0 -144
- package/lib/theme/LayoutProviders/index.js +0 -36
- package/lib/theme/Logo/index.js +0 -60
- package/lib/theme/MDXComponents/index.js +0 -65
- package/lib/theme/MDXPage/index.js +0 -66
- package/lib/theme/Navbar/index.js +0 -147
- package/lib/theme/Navbar/styles.module.css +0 -20
- package/lib/theme/NavbarItem/DefaultNavbarItem.js +0 -209
- package/lib/theme/NavbarItem/DocNavbarItem.js +0 -63
- package/lib/theme/NavbarItem/DocsVersionDropdownNavbarItem.js +0 -76
- package/lib/theme/NavbarItem/DocsVersionNavbarItem.js +0 -43
- package/lib/theme/NavbarItem/LocaleDropdownNavbarItem.js +0 -72
- package/lib/theme/NavbarItem/SearchNavbarItem.js +0 -28
- package/lib/theme/NavbarItem/index.js +0 -54
- package/lib/theme/NotFound.js +0 -57
- package/lib/theme/SearchBar.js +0 -15
- package/lib/theme/SearchMetadatas/index.js +0 -33
- package/lib/theme/Seo/index.js +0 -49
- package/lib/theme/SkipToContent/index.js +0 -71
- package/lib/theme/SkipToContent/styles.module.css +0 -14
- package/lib/theme/TOC/index.js +0 -59
- package/lib/theme/TOC/styles.module.css +0 -23
- package/lib/theme/TOCInline/index.js +0 -53
- package/lib/theme/TOCInline/styles.module.css +0 -12
- package/lib/theme/TabItem/index.js +0 -32
- package/lib/theme/Tabs/index.js +0 -150
- package/lib/theme/Tabs/styles.module.css +0 -23
- package/lib/theme/ThemeContext.js +0 -21
- package/lib/theme/ThemeProvider/index.js +0 -38
- package/lib/theme/ThemedImage/index.js +0 -49
- package/lib/theme/ThemedImage/styles.module.css +0 -18
- package/lib/theme/Toggle/index.js +0 -94
- package/lib/theme/Toggle/styles.css +0 -103
- package/lib/theme/UserPreferencesContext.js +0 -18
- package/lib/theme/UserPreferencesProvider/index.js +0 -36
- package/lib/theme/hooks/useContextualSearchFilters.js +0 -47
- package/lib/theme/hooks/useDocs.js +0 -18
- package/lib/theme/hooks/useHideableNavbar.js +0 -92
- package/lib/theme/hooks/useKeyboardNavigation.js +0 -45
- package/lib/theme/hooks/useLocationHash.js +0 -28
- package/lib/theme/hooks/useLockBodyScroll.js +0 -26
- package/lib/theme/hooks/usePrismTheme.js +0 -36
- package/lib/theme/hooks/useScrollPosition.js +0 -49
- package/lib/theme/hooks/useTOCHighlight.js +0 -87
- package/lib/theme/hooks/useTabGroupChoice.js +0 -51
- package/lib/theme/hooks/useTheme.js +0 -99
- package/lib/theme/hooks/useThemeContext.js +0 -31
- package/lib/theme/hooks/useUserPreferencesContext.js +0 -31
- package/lib/theme/hooks/useWindowSize.js +0 -55
- package/lib/theme/prism-include-languages.js +0 -39
- package/lib-next/__tests__/__snapshots__/translations.test.ts.snap +0 -116
- package/lib-next/__tests__/translations.test.js +0 -128
- package/lib-next/__tests__/validateThemeConfig.test.js +0 -333
- package/lib-next/index.js +0 -221
- package/lib-next/theme/Heading/styles.css +0 -23
- package/lib-next/theme/SearchMetadatas/index.js +0 -20
- package/lib-next/theme/ThemeContext.js +0 -9
- package/lib-next/theme/ThemeProvider/index.js +0 -25
- package/lib-next/theme/Toggle/index.js +0 -80
- package/lib-next/theme/Toggle/styles.css +0 -103
- package/lib-next/theme/UserPreferencesProvider/index.js +0 -24
- package/lib-next/theme/hooks/useContextualSearchFilters.js +0 -41
- package/lib-next/theme/hooks/useDocs.js +0 -10
- package/lib-next/theme/hooks/useHideableNavbar.js +0 -79
- package/lib-next/theme/hooks/useKeyboardNavigation.js +0 -35
- package/lib-next/theme/hooks/useLocationHash.js +0 -20
- package/lib-next/theme/hooks/useLockBodyScroll.js +0 -18
- package/lib-next/theme/hooks/usePrismTheme.js +0 -20
- package/lib-next/theme/hooks/useScrollPosition.js +0 -38
- package/lib-next/theme/hooks/useTOCHighlight.js +0 -84
- package/lib-next/theme/hooks/useTabGroupChoice.js +0 -39
- package/lib-next/theme/hooks/useTheme.js +0 -82
- package/lib-next/theme/hooks/useThemeContext.js +0 -22
- package/lib-next/theme/hooks/useUserPreferencesContext.js +0 -22
- package/lib-next/theme/hooks/useWindowSize.js +0 -45
- package/lib-next/translations.js +0 -145
- package/lib-next/types.d.ts +0 -598
- package/lib-next/validateThemeConfig.js +0 -317
- package/src/__tests__/__snapshots__/translations.test.ts.snap +0 -116
- package/src/__tests__/translations.test.ts +0 -116
- package/src/__tests__/validateThemeConfig.test.js +0 -333
- package/src/prism-include-languages.js +0 -11
- package/src/theme/Heading/styles.css +0 -23
- package/src/theme/SearchMetadatas/index.tsx +0 -28
- package/src/theme/ThemeContext.ts +0 -15
- package/src/theme/ThemeProvider/index.tsx +0 -24
- package/src/theme/Toggle/index.tsx +0 -100
- package/src/theme/Toggle/styles.css +0 -103
- package/src/theme/UserPreferencesContext.ts +0 -12
- package/src/theme/UserPreferencesProvider/index.tsx +0 -27
- package/src/theme/hooks/useContextualSearchFilters.ts +0 -52
- package/src/theme/hooks/useDocs.ts +0 -11
- package/src/theme/hooks/useHideableNavbar.ts +0 -85
- package/src/theme/hooks/useKeyboardNavigation.ts +0 -39
- package/src/theme/hooks/useLocationHash.ts +0 -25
- package/src/theme/hooks/useLockBodyScroll.ts +0 -20
- package/src/theme/hooks/usePrismTheme.ts +0 -22
- package/src/theme/hooks/useScrollPosition.ts +0 -45
- package/src/theme/hooks/useTOCHighlight.ts +0 -98
- package/src/theme/hooks/useTabGroupChoice.ts +0 -46
- package/src/theme/hooks/useTheme.ts +0 -92
- package/src/theme/hooks/useThemeContext.ts +0 -23
- package/src/theme/hooks/useUserPreferencesContext.ts +0 -25
- package/src/theme/hooks/useWindowSize.ts +0 -51
- package/src/validateThemeConfig.js +0 -317
- package/tsconfig.json +0 -12
- package/update-code-translations.js +0 -240
- package/update-code-translations.test.js +0 -33
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import {Joi, URISchema} from '@docusaurus/utils-validation';
|
|
9
|
+
import type {ThemeConfig, Validate, ValidationResult} from '@docusaurus/types';
|
|
10
|
+
|
|
11
|
+
const DEFAULT_DOCS_CONFIG = {
|
|
12
|
+
versionPersistence: 'localStorage',
|
|
13
|
+
};
|
|
14
|
+
const DocsSchema = Joi.object({
|
|
15
|
+
versionPersistence: Joi.string()
|
|
16
|
+
.equal('localStorage', 'none')
|
|
17
|
+
.default(DEFAULT_DOCS_CONFIG.versionPersistence),
|
|
18
|
+
}).default(DEFAULT_DOCS_CONFIG);
|
|
19
|
+
|
|
20
|
+
const DEFAULT_COLOR_MODE_CONFIG = {
|
|
21
|
+
defaultMode: 'light',
|
|
22
|
+
disableSwitch: false,
|
|
23
|
+
respectPrefersColorScheme: false,
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export const DEFAULT_CONFIG = {
|
|
27
|
+
colorMode: DEFAULT_COLOR_MODE_CONFIG,
|
|
28
|
+
docs: DEFAULT_DOCS_CONFIG,
|
|
29
|
+
metadata: [],
|
|
30
|
+
prism: {
|
|
31
|
+
additionalLanguages: [],
|
|
32
|
+
},
|
|
33
|
+
navbar: {
|
|
34
|
+
hideOnScroll: false,
|
|
35
|
+
items: [],
|
|
36
|
+
},
|
|
37
|
+
hideableSidebar: false,
|
|
38
|
+
autoCollapseSidebarCategories: false,
|
|
39
|
+
tableOfContents: {
|
|
40
|
+
minHeadingLevel: 2,
|
|
41
|
+
maxHeadingLevel: 3,
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
const NavbarItemPosition = Joi.string().equal('left', 'right').default('left');
|
|
46
|
+
|
|
47
|
+
const NavbarItemBaseSchema = Joi.object({
|
|
48
|
+
label: Joi.string(),
|
|
49
|
+
className: Joi.string(),
|
|
50
|
+
})
|
|
51
|
+
// We allow any unknown attributes on the links (users may need additional
|
|
52
|
+
// attributes like target, aria-role, data-customAttribute...)
|
|
53
|
+
.unknown();
|
|
54
|
+
|
|
55
|
+
const DefaultNavbarItemSchema = NavbarItemBaseSchema.append({
|
|
56
|
+
to: Joi.string(),
|
|
57
|
+
href: URISchema,
|
|
58
|
+
activeBasePath: Joi.string(),
|
|
59
|
+
activeBaseRegex: Joi.string(),
|
|
60
|
+
prependBaseUrlToHref: Joi.bool(),
|
|
61
|
+
// This is only triggered in case of a nested dropdown
|
|
62
|
+
items: Joi.forbidden().messages({
|
|
63
|
+
'any.unknown': 'Nested dropdowns are not allowed',
|
|
64
|
+
}),
|
|
65
|
+
})
|
|
66
|
+
.xor('href', 'to')
|
|
67
|
+
.messages({
|
|
68
|
+
'object.xor': 'One and only one between "to" and "href" should be provided',
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
const DocsVersionNavbarItemSchema = NavbarItemBaseSchema.append({
|
|
72
|
+
type: Joi.string().equal('docsVersion').required(),
|
|
73
|
+
to: Joi.string(),
|
|
74
|
+
docsPluginId: Joi.string(),
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
const DocItemSchema = NavbarItemBaseSchema.append({
|
|
78
|
+
type: Joi.string().equal('doc').required(),
|
|
79
|
+
docId: Joi.string().required(),
|
|
80
|
+
docsPluginId: Joi.string(),
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
const DocSidebarItemSchema = NavbarItemBaseSchema.append({
|
|
84
|
+
type: Joi.string().equal('docSidebar').required(),
|
|
85
|
+
sidebarId: Joi.string().required(),
|
|
86
|
+
docsPluginId: Joi.string(),
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
const itemWithType = (type: string | undefined) => {
|
|
90
|
+
// because equal(undefined) is not supported :/
|
|
91
|
+
const typeSchema = type
|
|
92
|
+
? Joi.string().required().equal(type)
|
|
93
|
+
: Joi.string().forbidden();
|
|
94
|
+
return Joi.object({
|
|
95
|
+
type: typeSchema,
|
|
96
|
+
})
|
|
97
|
+
.unknown()
|
|
98
|
+
.required();
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
const DropdownSubitemSchema = Joi.object({
|
|
102
|
+
position: Joi.forbidden(),
|
|
103
|
+
}).when('.', {
|
|
104
|
+
switch: [
|
|
105
|
+
{
|
|
106
|
+
is: itemWithType('docsVersion'),
|
|
107
|
+
then: DocsVersionNavbarItemSchema,
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
is: itemWithType('doc'),
|
|
111
|
+
then: DocItemSchema,
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
is: itemWithType('docSidebar'),
|
|
115
|
+
then: DocSidebarItemSchema,
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
is: itemWithType(undefined),
|
|
119
|
+
then: DefaultNavbarItemSchema,
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
is: Joi.alternatives().try(
|
|
123
|
+
itemWithType('dropdown'),
|
|
124
|
+
itemWithType('docsVersionDropdown'),
|
|
125
|
+
itemWithType('localeDropdown'),
|
|
126
|
+
itemWithType('search'),
|
|
127
|
+
),
|
|
128
|
+
then: Joi.forbidden().messages({
|
|
129
|
+
'any.unknown': 'Nested dropdowns are not allowed',
|
|
130
|
+
}),
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
otherwise: Joi.forbidden().messages({
|
|
134
|
+
'any.unknown': 'Bad navbar item type {.type}',
|
|
135
|
+
}),
|
|
136
|
+
});
|
|
137
|
+
|
|
138
|
+
const DropdownNavbarItemSchema = NavbarItemBaseSchema.append({
|
|
139
|
+
items: Joi.array().items(DropdownSubitemSchema).required(),
|
|
140
|
+
});
|
|
141
|
+
|
|
142
|
+
const DocsVersionDropdownNavbarItemSchema = NavbarItemBaseSchema.append({
|
|
143
|
+
type: Joi.string().equal('docsVersionDropdown').required(),
|
|
144
|
+
docsPluginId: Joi.string(),
|
|
145
|
+
dropdownActiveClassDisabled: Joi.boolean(),
|
|
146
|
+
dropdownItemsBefore: Joi.array().items(DropdownSubitemSchema).default([]),
|
|
147
|
+
dropdownItemsAfter: Joi.array().items(DropdownSubitemSchema).default([]),
|
|
148
|
+
});
|
|
149
|
+
|
|
150
|
+
const LocaleDropdownNavbarItemSchema = NavbarItemBaseSchema.append({
|
|
151
|
+
type: Joi.string().equal('localeDropdown').required(),
|
|
152
|
+
dropdownItemsBefore: Joi.array().items(DropdownSubitemSchema).default([]),
|
|
153
|
+
dropdownItemsAfter: Joi.array().items(DropdownSubitemSchema).default([]),
|
|
154
|
+
});
|
|
155
|
+
|
|
156
|
+
const SearchItemSchema = Joi.object({
|
|
157
|
+
type: Joi.string().equal('search').required(),
|
|
158
|
+
});
|
|
159
|
+
|
|
160
|
+
const NavbarItemSchema = Joi.object({
|
|
161
|
+
position: NavbarItemPosition,
|
|
162
|
+
}).when('.', {
|
|
163
|
+
switch: [
|
|
164
|
+
{
|
|
165
|
+
is: itemWithType('docsVersion'),
|
|
166
|
+
then: DocsVersionNavbarItemSchema,
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
is: itemWithType('dropdown'),
|
|
170
|
+
then: DropdownNavbarItemSchema,
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
is: itemWithType('docsVersionDropdown'),
|
|
174
|
+
then: DocsVersionDropdownNavbarItemSchema,
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
is: itemWithType('doc'),
|
|
178
|
+
then: DocItemSchema,
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
is: itemWithType('docSidebar'),
|
|
182
|
+
then: DocSidebarItemSchema,
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
is: itemWithType('localeDropdown'),
|
|
186
|
+
then: LocaleDropdownNavbarItemSchema,
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
is: itemWithType('search'),
|
|
190
|
+
then: SearchItemSchema,
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
is: itemWithType(undefined),
|
|
194
|
+
then: Joi.object().when('.', {
|
|
195
|
+
// Dropdown item can be specified without type field
|
|
196
|
+
is: Joi.object({
|
|
197
|
+
items: Joi.array().required(),
|
|
198
|
+
}).unknown(),
|
|
199
|
+
then: DropdownNavbarItemSchema,
|
|
200
|
+
otherwise: DefaultNavbarItemSchema,
|
|
201
|
+
}),
|
|
202
|
+
},
|
|
203
|
+
],
|
|
204
|
+
otherwise: Joi.forbidden().messages({
|
|
205
|
+
'any.unknown': 'Bad navbar item type {.type}',
|
|
206
|
+
}),
|
|
207
|
+
});
|
|
208
|
+
|
|
209
|
+
const ColorModeSchema = Joi.object({
|
|
210
|
+
defaultMode: Joi.string()
|
|
211
|
+
.equal('dark', 'light')
|
|
212
|
+
.default(DEFAULT_COLOR_MODE_CONFIG.defaultMode),
|
|
213
|
+
disableSwitch: Joi.bool().default(DEFAULT_COLOR_MODE_CONFIG.disableSwitch),
|
|
214
|
+
respectPrefersColorScheme: Joi.bool().default(
|
|
215
|
+
DEFAULT_COLOR_MODE_CONFIG.respectPrefersColorScheme,
|
|
216
|
+
),
|
|
217
|
+
switchConfig: Joi.any().forbidden().messages({
|
|
218
|
+
'any.unknown':
|
|
219
|
+
'colorMode.switchConfig is deprecated. If you want to customize the icons for light and dark mode, swizzle IconLightMode, IconDarkMode, or ColorModeToggle instead.',
|
|
220
|
+
}),
|
|
221
|
+
}).default(DEFAULT_COLOR_MODE_CONFIG);
|
|
222
|
+
|
|
223
|
+
// schema can probably be improved
|
|
224
|
+
const HtmlMetadataSchema = Joi.object({
|
|
225
|
+
id: Joi.string(),
|
|
226
|
+
name: Joi.string(),
|
|
227
|
+
property: Joi.string(),
|
|
228
|
+
content: Joi.string(),
|
|
229
|
+
itemprop: Joi.string(),
|
|
230
|
+
}).unknown();
|
|
231
|
+
|
|
232
|
+
const FooterLinkItemSchema = Joi.object({
|
|
233
|
+
to: Joi.string(),
|
|
234
|
+
href: URISchema,
|
|
235
|
+
html: Joi.string(),
|
|
236
|
+
label: Joi.string(),
|
|
237
|
+
})
|
|
238
|
+
.xor('to', 'href', 'html')
|
|
239
|
+
.with('to', 'label')
|
|
240
|
+
.with('href', 'label')
|
|
241
|
+
.nand('html', 'label')
|
|
242
|
+
// We allow any unknown attributes on the links (users may need additional
|
|
243
|
+
// attributes like target, aria-role, data-customAttribute...)
|
|
244
|
+
.unknown();
|
|
245
|
+
|
|
246
|
+
const CustomCssSchema = Joi.alternatives()
|
|
247
|
+
.try(Joi.array().items(Joi.string().required()), Joi.string().required())
|
|
248
|
+
.optional();
|
|
249
|
+
|
|
250
|
+
export const ThemeConfigSchema = Joi.object({
|
|
251
|
+
// TODO temporary (@alpha-58)
|
|
252
|
+
disableDarkMode: Joi.any().forbidden().messages({
|
|
253
|
+
'any.unknown':
|
|
254
|
+
'disableDarkMode theme config is deprecated. Please use the new colorMode attribute. You likely want: config.themeConfig.colorMode.disableSwitch = true',
|
|
255
|
+
}),
|
|
256
|
+
// TODO temporary (@alpha-58)
|
|
257
|
+
defaultDarkMode: Joi.any().forbidden().messages({
|
|
258
|
+
'any.unknown':
|
|
259
|
+
'defaultDarkMode theme config is deprecated. Please use the new colorMode attribute. You likely want: config.themeConfig.colorMode.defaultMode = "dark"',
|
|
260
|
+
}),
|
|
261
|
+
customCss: CustomCssSchema,
|
|
262
|
+
colorMode: ColorModeSchema,
|
|
263
|
+
image: Joi.string(),
|
|
264
|
+
docs: DocsSchema,
|
|
265
|
+
metadata: Joi.array()
|
|
266
|
+
.items(HtmlMetadataSchema)
|
|
267
|
+
.default(DEFAULT_CONFIG.metadata),
|
|
268
|
+
// cSpell:ignore metadatas
|
|
269
|
+
metadatas: Joi.any().forbidden().messages({
|
|
270
|
+
'any.unknown':
|
|
271
|
+
// cSpell:ignore metadatas
|
|
272
|
+
'themeConfig.metadatas has been renamed as themeConfig.metadata. See https://github.com/facebook/docusaurus/pull/5871',
|
|
273
|
+
}),
|
|
274
|
+
announcementBar: Joi.object({
|
|
275
|
+
id: Joi.string().default('announcement-bar'),
|
|
276
|
+
content: Joi.string().required(),
|
|
277
|
+
backgroundColor: Joi.string(),
|
|
278
|
+
textColor: Joi.string(),
|
|
279
|
+
isCloseable: Joi.bool().default(true),
|
|
280
|
+
}).optional(),
|
|
281
|
+
navbar: Joi.object({
|
|
282
|
+
style: Joi.string().equal('dark', 'primary'),
|
|
283
|
+
hideOnScroll: Joi.bool().default(DEFAULT_CONFIG.navbar.hideOnScroll),
|
|
284
|
+
// TODO temporary (@alpha-58)
|
|
285
|
+
links: Joi.any().forbidden().messages({
|
|
286
|
+
'any.unknown':
|
|
287
|
+
'themeConfig.navbar.links has been renamed as themeConfig.navbar.items',
|
|
288
|
+
}),
|
|
289
|
+
items: Joi.array()
|
|
290
|
+
.items(NavbarItemSchema)
|
|
291
|
+
.default(DEFAULT_CONFIG.navbar.items),
|
|
292
|
+
title: Joi.string().allow('', null),
|
|
293
|
+
logo: Joi.object({
|
|
294
|
+
alt: Joi.string().allow(''),
|
|
295
|
+
src: Joi.string().required(),
|
|
296
|
+
srcDark: Joi.string(),
|
|
297
|
+
width: Joi.alternatives().try(Joi.string(), Joi.number()),
|
|
298
|
+
height: Joi.alternatives().try(Joi.string(), Joi.number()),
|
|
299
|
+
href: Joi.string(),
|
|
300
|
+
target: Joi.string(),
|
|
301
|
+
}),
|
|
302
|
+
}).default(DEFAULT_CONFIG.navbar),
|
|
303
|
+
footer: Joi.object({
|
|
304
|
+
style: Joi.string().equal('dark', 'light').default('light'),
|
|
305
|
+
logo: Joi.object({
|
|
306
|
+
alt: Joi.string().allow(''),
|
|
307
|
+
src: Joi.string(),
|
|
308
|
+
srcDark: Joi.string(),
|
|
309
|
+
// TODO infer this from reading the image
|
|
310
|
+
width: Joi.alternatives().try(Joi.string(), Joi.number()),
|
|
311
|
+
height: Joi.alternatives().try(Joi.string(), Joi.number()),
|
|
312
|
+
href: Joi.string(),
|
|
313
|
+
}),
|
|
314
|
+
copyright: Joi.string(),
|
|
315
|
+
links: Joi.alternatives(
|
|
316
|
+
Joi.array().items(
|
|
317
|
+
Joi.object({
|
|
318
|
+
title: Joi.string().allow(null).default(null),
|
|
319
|
+
items: Joi.array().items(FooterLinkItemSchema).default([]),
|
|
320
|
+
}),
|
|
321
|
+
),
|
|
322
|
+
Joi.array().items(FooterLinkItemSchema),
|
|
323
|
+
)
|
|
324
|
+
.messages({
|
|
325
|
+
'alternatives.match': `The footer must be either simple or multi-column, and not a mix of the two. See: https://docusaurus.io/docs/api/themes/configuration#footer-links`,
|
|
326
|
+
})
|
|
327
|
+
.default([]),
|
|
328
|
+
}).optional(),
|
|
329
|
+
prism: Joi.object({
|
|
330
|
+
theme: Joi.object({
|
|
331
|
+
plain: Joi.alternatives().try(Joi.array(), Joi.object()).required(),
|
|
332
|
+
styles: Joi.alternatives().try(Joi.array(), Joi.object()).required(),
|
|
333
|
+
}),
|
|
334
|
+
darkTheme: Joi.object({
|
|
335
|
+
plain: Joi.alternatives().try(Joi.array(), Joi.object()).required(),
|
|
336
|
+
styles: Joi.alternatives().try(Joi.array(), Joi.object()).required(),
|
|
337
|
+
}),
|
|
338
|
+
defaultLanguage: Joi.string(),
|
|
339
|
+
additionalLanguages: Joi.array()
|
|
340
|
+
.items(Joi.string())
|
|
341
|
+
.default(DEFAULT_CONFIG.prism.additionalLanguages),
|
|
342
|
+
})
|
|
343
|
+
.default(DEFAULT_CONFIG.prism)
|
|
344
|
+
.unknown(),
|
|
345
|
+
hideableSidebar: Joi.bool().default(DEFAULT_CONFIG.hideableSidebar),
|
|
346
|
+
autoCollapseSidebarCategories: Joi.bool().default(
|
|
347
|
+
DEFAULT_CONFIG.autoCollapseSidebarCategories,
|
|
348
|
+
),
|
|
349
|
+
sidebarCollapsible: Joi.forbidden().messages({
|
|
350
|
+
'any.unknown':
|
|
351
|
+
'The themeConfig.sidebarCollapsible has been moved to docs plugin options. See: https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-docs',
|
|
352
|
+
}),
|
|
353
|
+
tableOfContents: Joi.object({
|
|
354
|
+
minHeadingLevel: Joi.number()
|
|
355
|
+
.default(DEFAULT_CONFIG.tableOfContents.minHeadingLevel)
|
|
356
|
+
.when('maxHeadingLevel', {
|
|
357
|
+
is: Joi.exist(),
|
|
358
|
+
then: Joi.number()
|
|
359
|
+
.integer()
|
|
360
|
+
.min(2)
|
|
361
|
+
.max(6)
|
|
362
|
+
.max(Joi.ref('maxHeadingLevel')),
|
|
363
|
+
otherwise: Joi.number().integer().min(2).max(6),
|
|
364
|
+
}),
|
|
365
|
+
maxHeadingLevel: Joi.number()
|
|
366
|
+
.integer()
|
|
367
|
+
.min(2)
|
|
368
|
+
.max(6)
|
|
369
|
+
.default(DEFAULT_CONFIG.tableOfContents.maxHeadingLevel),
|
|
370
|
+
}).default(DEFAULT_CONFIG.tableOfContents),
|
|
371
|
+
});
|
|
372
|
+
|
|
373
|
+
export function validateThemeConfig({
|
|
374
|
+
validate,
|
|
375
|
+
themeConfig,
|
|
376
|
+
}: {
|
|
377
|
+
validate: Validate<ThemeConfig>;
|
|
378
|
+
themeConfig: ThemeConfig;
|
|
379
|
+
}): ValidationResult<ThemeConfig> {
|
|
380
|
+
return validate(ThemeConfigSchema, themeConfig);
|
|
381
|
+
}
|
package/babel.config.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
module.exports = {
|
|
9
|
-
env: {
|
|
10
|
-
// USED FOR NODE/RUNTIME
|
|
11
|
-
// maybe we should differenciate both cases because
|
|
12
|
-
// we mostly need to transpile some features so that node does not crash...
|
|
13
|
-
lib: {
|
|
14
|
-
presets: [
|
|
15
|
-
['@babel/preset-typescript', {isTSX: true, allExtensions: true}],
|
|
16
|
-
],
|
|
17
|
-
// Useful to transpile for older node versions
|
|
18
|
-
plugins: [
|
|
19
|
-
'@babel/plugin-transform-modules-commonjs',
|
|
20
|
-
'@babel/plugin-proposal-nullish-coalescing-operator',
|
|
21
|
-
'@babel/plugin-proposal-optional-chaining',
|
|
22
|
-
],
|
|
23
|
-
},
|
|
24
|
-
|
|
25
|
-
// USED FOR JS SWIZZLE
|
|
26
|
-
// /lib-next folder is used as source to swizzle JS source code
|
|
27
|
-
// This JS code is created from TS source code
|
|
28
|
-
// This source code should look clean/human readable to be usable
|
|
29
|
-
'lib-next': {
|
|
30
|
-
presets: [
|
|
31
|
-
['@babel/preset-typescript', {isTSX: true, allExtensions: true}],
|
|
32
|
-
],
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# Default theme translations
|
|
2
|
-
|
|
3
|
-
The Docusaurus theme includes default translations for labels used by the theme itself (like the pagination "Next" / "Previous").
|
|
4
|
-
|
|
5
|
-
## For Docusaurus users:
|
|
6
|
-
|
|
7
|
-
Please help us provide exhaustive translations:
|
|
8
|
-
|
|
9
|
-
- add your `language.json` file if it is missing (copy `base.json` and remove the attributes `___DESCRIPTION`)
|
|
10
|
-
- double-check your `language.json` file for bad or missing translations
|
|
11
|
-
|
|
12
|
-
## For maintainers:
|
|
13
|
-
|
|
14
|
-
After updating the theme code, you can "synchronize" the translations by running:
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
yarn workspace @docusaurus/theme-classic update-code-translations
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
Then, ask contributors to translate the newly added labels on this [issue](https://github.com/facebook/docusaurus/issues/3526)
|
package/codeTranslations/ar.json
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"theme.AnnouncementBar.closeButtonAriaLabel": "إغلاق",
|
|
3
|
-
"theme.CodeBlock.copied": "تم النسخ",
|
|
4
|
-
"theme.CodeBlock.copy": "نسخ",
|
|
5
|
-
"theme.CodeBlock.copyButtonAriaLabel": "نسخ الرمز إلى الحافظة",
|
|
6
|
-
"theme.NotFound.p1": "لم نتمكن من العثور على ما كنت تبحث عنه.",
|
|
7
|
-
"theme.NotFound.p2": "يرجى الاتصال بمالك الموقع الذي ربطك بعنوان URL الأصلي وإخباره بأن الارتباط الخاص به معطل.",
|
|
8
|
-
"theme.NotFound.title": "الصفحة غير موجودة",
|
|
9
|
-
"theme.Playground.liveEditor": "محرر مباشر",
|
|
10
|
-
"theme.Playground.result": "النتيجة",
|
|
11
|
-
"theme.PwaReloadPopup.closeButtonAriaLabel": "إغلاق",
|
|
12
|
-
"theme.PwaReloadPopup.info": "نسخة جديدة متاحة",
|
|
13
|
-
"theme.PwaReloadPopup.refreshButtonText": "تحديث",
|
|
14
|
-
"theme.SearchBar.label": "بحث",
|
|
15
|
-
"theme.SearchPage.algoliaLabel": "البحث بواسطه Algolia",
|
|
16
|
-
"theme.SearchPage.documentsFound.plurals": "One document found|{count} documents found",
|
|
17
|
-
"theme.SearchPage.emptyResultsTitle": "ابحث في الوثائق",
|
|
18
|
-
"theme.SearchPage.existingResultsTitle": "نتائج البحث عن \"{query}\"",
|
|
19
|
-
"theme.SearchPage.fetchingNewResults": "جلب نتائج جديدة ...",
|
|
20
|
-
"theme.SearchPage.inputLabel": "بحث",
|
|
21
|
-
"theme.SearchPage.inputPlaceholder": "اكتب ما تبحث عنه هنا",
|
|
22
|
-
"theme.SearchPage.noResultsText": "لم يتم العثور على نتائج",
|
|
23
|
-
"theme.blog.paginator.navAriaLabel": "التنقل في صفحة قائمة المدونة",
|
|
24
|
-
"theme.blog.paginator.newerEntries": "إدخالات أحدث",
|
|
25
|
-
"theme.blog.paginator.olderEntries": "إدخالات أقدم",
|
|
26
|
-
"theme.blog.post.paginator.navAriaLabel": "التنقل في صفحة مقالات المدونة",
|
|
27
|
-
"theme.blog.post.paginator.newerPost": "مقالات أحدث",
|
|
28
|
-
"theme.blog.post.paginator.olderPost": "مقالات أقدم",
|
|
29
|
-
"theme.blog.post.plurals": "مقاله واحده|{count} مقالات",
|
|
30
|
-
"theme.blog.post.readMore": "اقرأ المزيد",
|
|
31
|
-
"theme.blog.post.readingTime.plurals": "{readingTime} دقائق قراءة|{readingTime} دقائق قراءة",
|
|
32
|
-
"theme.blog.sidebar.navAriaLabel": "Blog recent posts navigation",
|
|
33
|
-
"theme.blog.tagTitle": "{nPosts} موسومة ب \"{tagName}\"",
|
|
34
|
-
"theme.common.editThisPage": "تعديل هذه الصفحة",
|
|
35
|
-
"theme.common.headingLinkTitle": "ارتباط مباشر بالعنوان",
|
|
36
|
-
"theme.common.skipToMainContent": "انتقل إلى المحتوى الرئيسي",
|
|
37
|
-
"theme.docs.paginator.navAriaLabel": "التنقل بين صفحات المستندات",
|
|
38
|
-
"theme.docs.paginator.next": "التالى",
|
|
39
|
-
"theme.docs.paginator.previous": "السابق",
|
|
40
|
-
"theme.docs.sidebar.collapseButtonAriaLabel": "طي الشريط الجانبي",
|
|
41
|
-
"theme.docs.sidebar.collapseButtonTitle": "طي الشريط الجانبي",
|
|
42
|
-
"theme.docs.sidebar.expandButtonAriaLabel": "توسيع الشريط الجانبي",
|
|
43
|
-
"theme.docs.sidebar.expandButtonTitle": "توسيع الشريط الجانبي",
|
|
44
|
-
"theme.docs.sidebar.navAriaLabel": "Sidebar navigation",
|
|
45
|
-
"theme.docs.sidebar.responsiveCloseButtonLabel": "إغلاق القائمة",
|
|
46
|
-
"theme.docs.sidebar.responsiveOpenButtonLabel": "فتح القائمة",
|
|
47
|
-
"theme.docs.versions.latestVersionLinkLabel": "احدث اصدار",
|
|
48
|
-
"theme.docs.versions.latestVersionSuggestionLabel": "للحصول على أحدث الوثائق، راجع {latestVersionLink} ({versionLabel}).",
|
|
49
|
-
"theme.docs.versions.unmaintainedVersionLabel": "هذه هي وثائق {siteTitle} {versionLabel}، التي لم تعد تتم صيانتها بشكل نشط.",
|
|
50
|
-
"theme.docs.versions.unreleasedVersionLabel": "هذه وثائق لم يتم طرحها لإصدار {siteTitle} {versionLabel}.",
|
|
51
|
-
"theme.lastUpdated.atDate": " في {date}",
|
|
52
|
-
"theme.lastUpdated.byUser": " بواسطة {user}",
|
|
53
|
-
"theme.lastUpdated.lastUpdatedAtBy": "آخر تحديث{atDate}{byUser}",
|
|
54
|
-
"theme.tags.tagsListLabel": "الوسوم:",
|
|
55
|
-
"theme.tags.tagsPageLink": "عرض كل الوسوم",
|
|
56
|
-
"theme.tags.tagsPageTitle": "الوسوم"
|
|
57
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"theme.AnnouncementBar.closeButtonAriaLabel": "Close",
|
|
3
|
-
"theme.AnnouncementBar.closeButtonAriaLabel___DESCRIPTION": "The ARIA label for close button of announcement bar",
|
|
4
|
-
"theme.CodeBlock.copied": "Copied",
|
|
5
|
-
"theme.CodeBlock.copied___DESCRIPTION": "The copied button label on code blocks",
|
|
6
|
-
"theme.CodeBlock.copy": "Copy",
|
|
7
|
-
"theme.CodeBlock.copy___DESCRIPTION": "The copy button label on code blocks",
|
|
8
|
-
"theme.CodeBlock.copyButtonAriaLabel": "Copy code to clipboard",
|
|
9
|
-
"theme.CodeBlock.copyButtonAriaLabel___DESCRIPTION": "The ARIA label for copy code blocks button",
|
|
10
|
-
"theme.NotFound.p1": "We could not find what you were looking for.",
|
|
11
|
-
"theme.NotFound.p1___DESCRIPTION": "The first paragraph of the 404 page",
|
|
12
|
-
"theme.NotFound.p2": "Please contact the owner of the site that linked you to the original URL and let them know their link is broken.",
|
|
13
|
-
"theme.NotFound.p2___DESCRIPTION": "The 2nd paragraph of the 404 page",
|
|
14
|
-
"theme.NotFound.title": "Page Not Found",
|
|
15
|
-
"theme.NotFound.title___DESCRIPTION": "The title of the 404 page",
|
|
16
|
-
"theme.Playground.liveEditor": "Live Editor",
|
|
17
|
-
"theme.Playground.liveEditor___DESCRIPTION": "The live editor label of the live codeblocks",
|
|
18
|
-
"theme.Playground.result": "Result",
|
|
19
|
-
"theme.Playground.result___DESCRIPTION": "The result label of the live codeblocks",
|
|
20
|
-
"theme.PwaReloadPopup.closeButtonAriaLabel": "Close",
|
|
21
|
-
"theme.PwaReloadPopup.closeButtonAriaLabel___DESCRIPTION": "The ARIA label for close button of PWA reload popup",
|
|
22
|
-
"theme.PwaReloadPopup.info": "New version available",
|
|
23
|
-
"theme.PwaReloadPopup.info___DESCRIPTION": "The text for PWA reload popup",
|
|
24
|
-
"theme.PwaReloadPopup.refreshButtonText": "Refresh",
|
|
25
|
-
"theme.PwaReloadPopup.refreshButtonText___DESCRIPTION": "The text for PWA reload button",
|
|
26
|
-
"theme.SearchBar.label": "Search",
|
|
27
|
-
"theme.SearchBar.label___DESCRIPTION": "The ARIA label and placeholder for search button",
|
|
28
|
-
"theme.SearchPage.algoliaLabel": "Search by Algolia",
|
|
29
|
-
"theme.SearchPage.algoliaLabel___DESCRIPTION": "The ARIA label for Algolia mention",
|
|
30
|
-
"theme.SearchPage.documentsFound.plurals": "One document found|{count} documents found",
|
|
31
|
-
"theme.SearchPage.documentsFound.plurals___DESCRIPTION": "Pluralized label for \"{count} documents found\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)",
|
|
32
|
-
"theme.SearchPage.emptyResultsTitle": "Search the documentation",
|
|
33
|
-
"theme.SearchPage.emptyResultsTitle___DESCRIPTION": "The search page title for empty query",
|
|
34
|
-
"theme.SearchPage.existingResultsTitle": "Search results for \"{query}\"",
|
|
35
|
-
"theme.SearchPage.existingResultsTitle___DESCRIPTION": "The search page title for non-empty query",
|
|
36
|
-
"theme.SearchPage.fetchingNewResults": "Fetching new results...",
|
|
37
|
-
"theme.SearchPage.fetchingNewResults___DESCRIPTION": "The paragraph for fetching new search results",
|
|
38
|
-
"theme.SearchPage.inputLabel": "Search",
|
|
39
|
-
"theme.SearchPage.inputLabel___DESCRIPTION": "The ARIA label for search page input",
|
|
40
|
-
"theme.SearchPage.inputPlaceholder": "Type your search here",
|
|
41
|
-
"theme.SearchPage.inputPlaceholder___DESCRIPTION": "The placeholder for search page input",
|
|
42
|
-
"theme.SearchPage.noResultsText": "No results were found",
|
|
43
|
-
"theme.SearchPage.noResultsText___DESCRIPTION": "The paragraph for empty search result",
|
|
44
|
-
"theme.blog.paginator.navAriaLabel": "Blog list page navigation",
|
|
45
|
-
"theme.blog.paginator.navAriaLabel___DESCRIPTION": "The ARIA label for the blog pagination",
|
|
46
|
-
"theme.blog.paginator.newerEntries": "Newer Entries",
|
|
47
|
-
"theme.blog.paginator.newerEntries___DESCRIPTION": "The label used to navigate to the newer blog posts page (previous page)",
|
|
48
|
-
"theme.blog.paginator.olderEntries": "Older Entries",
|
|
49
|
-
"theme.blog.paginator.olderEntries___DESCRIPTION": "The label used to navigate to the older blog posts page (next page)",
|
|
50
|
-
"theme.blog.post.paginator.navAriaLabel": "Blog post page navigation",
|
|
51
|
-
"theme.blog.post.paginator.navAriaLabel___DESCRIPTION": "The ARIA label for the blog posts pagination",
|
|
52
|
-
"theme.blog.post.paginator.newerPost": "Newer Post",
|
|
53
|
-
"theme.blog.post.paginator.newerPost___DESCRIPTION": "The blog post button label to navigate to the newer/previous post",
|
|
54
|
-
"theme.blog.post.paginator.olderPost": "Older Post",
|
|
55
|
-
"theme.blog.post.paginator.olderPost___DESCRIPTION": "The blog post button label to navigate to the older/next post",
|
|
56
|
-
"theme.blog.post.plurals": "One post|{count} posts",
|
|
57
|
-
"theme.blog.post.plurals___DESCRIPTION": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)",
|
|
58
|
-
"theme.blog.post.readMore": "Read More",
|
|
59
|
-
"theme.blog.post.readMore___DESCRIPTION": "The label used in blog post item excerpts to link to full blog posts",
|
|
60
|
-
"theme.blog.post.readingTime.plurals": "One min read|{readingTime} min read",
|
|
61
|
-
"theme.blog.post.readingTime.plurals___DESCRIPTION": "Pluralized label for \"{readingTime} min read\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)",
|
|
62
|
-
"theme.blog.sidebar.navAriaLabel": "Blog recent posts navigation",
|
|
63
|
-
"theme.blog.sidebar.navAriaLabel___DESCRIPTION": "The ARIA label for recent posts in the blog sidebar",
|
|
64
|
-
"theme.blog.tagTitle": "{nPosts} tagged with \"{tagName}\"",
|
|
65
|
-
"theme.blog.tagTitle___DESCRIPTION": "The title of the page for a blog tag",
|
|
66
|
-
"theme.common.editThisPage": "Edit this page",
|
|
67
|
-
"theme.common.editThisPage___DESCRIPTION": "The link label to edit the current page",
|
|
68
|
-
"theme.common.headingLinkTitle": "Direct link to heading",
|
|
69
|
-
"theme.common.headingLinkTitle___DESCRIPTION": "Title for link to heading",
|
|
70
|
-
"theme.common.skipToMainContent": "Skip to main content",
|
|
71
|
-
"theme.common.skipToMainContent___DESCRIPTION": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",
|
|
72
|
-
"theme.docs.paginator.navAriaLabel": "Docs pages navigation",
|
|
73
|
-
"theme.docs.paginator.navAriaLabel___DESCRIPTION": "The ARIA label for the docs pagination",
|
|
74
|
-
"theme.docs.paginator.next": "Next",
|
|
75
|
-
"theme.docs.paginator.next___DESCRIPTION": "The label used to navigate to the next doc",
|
|
76
|
-
"theme.docs.paginator.previous": "Previous",
|
|
77
|
-
"theme.docs.paginator.previous___DESCRIPTION": "The label used to navigate to the previous doc",
|
|
78
|
-
"theme.docs.sidebar.collapseButtonAriaLabel": "Collapse sidebar",
|
|
79
|
-
"theme.docs.sidebar.collapseButtonAriaLabel___DESCRIPTION": "The title attribute for collapse button of doc sidebar",
|
|
80
|
-
"theme.docs.sidebar.collapseButtonTitle": "Collapse sidebar",
|
|
81
|
-
"theme.docs.sidebar.collapseButtonTitle___DESCRIPTION": "The title attribute for collapse button of doc sidebar",
|
|
82
|
-
"theme.docs.sidebar.expandButtonAriaLabel": "Expand sidebar",
|
|
83
|
-
"theme.docs.sidebar.expandButtonAriaLabel___DESCRIPTION": "The ARIA label and title attribute for expand button of doc sidebar",
|
|
84
|
-
"theme.docs.sidebar.expandButtonTitle": "Expand sidebar",
|
|
85
|
-
"theme.docs.sidebar.expandButtonTitle___DESCRIPTION": "The ARIA label and title attribute for expand button of doc sidebar",
|
|
86
|
-
"theme.docs.sidebar.navAriaLabel": "Sidebar navigation",
|
|
87
|
-
"theme.docs.sidebar.navAriaLabel___DESCRIPTION": "The ARIA label for documentation menu",
|
|
88
|
-
"theme.docs.sidebar.responsiveCloseButtonLabel": "Close menu",
|
|
89
|
-
"theme.docs.sidebar.responsiveCloseButtonLabel___DESCRIPTION": "The ARIA label for close button of mobile doc sidebar",
|
|
90
|
-
"theme.docs.sidebar.responsiveOpenButtonLabel": "Open menu",
|
|
91
|
-
"theme.docs.sidebar.responsiveOpenButtonLabel___DESCRIPTION": "The ARIA label for open button of mobile doc sidebar",
|
|
92
|
-
"theme.docs.versions.latestVersionLinkLabel": "latest version",
|
|
93
|
-
"theme.docs.versions.latestVersionLinkLabel___DESCRIPTION": "The label used for the latest version suggestion link label",
|
|
94
|
-
"theme.docs.versions.latestVersionSuggestionLabel": "For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).",
|
|
95
|
-
"theme.docs.versions.latestVersionSuggestionLabel___DESCRIPTION": "The label userd to tell the user that he's browsing an unmaintained doc version",
|
|
96
|
-
"theme.docs.versions.unmaintainedVersionLabel": "This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.",
|
|
97
|
-
"theme.docs.versions.unmaintainedVersionLabel___DESCRIPTION": "The label used to tell the user that he's browsing an unmaintained doc version",
|
|
98
|
-
"theme.docs.versions.unreleasedVersionLabel": "This is unreleased documentation for {siteTitle} {versionLabel} version.",
|
|
99
|
-
"theme.docs.versions.unreleasedVersionLabel___DESCRIPTION": "The label used to tell the user that he's browsing an unreleased doc version",
|
|
100
|
-
"theme.lastUpdated.atDate": " on {date}",
|
|
101
|
-
"theme.lastUpdated.atDate___DESCRIPTION": "The words used to describe on which date a page has been last updated",
|
|
102
|
-
"theme.lastUpdated.byUser": " by {user}",
|
|
103
|
-
"theme.lastUpdated.byUser___DESCRIPTION": "The words used to describe by who the page has been last updated",
|
|
104
|
-
"theme.lastUpdated.lastUpdatedAtBy": "Last updated{atDate}{byUser}",
|
|
105
|
-
"theme.lastUpdated.lastUpdatedAtBy___DESCRIPTION": "The sentence used to display when a page has been last updated, and by who",
|
|
106
|
-
"theme.tags.tagsListLabel": "Tags:",
|
|
107
|
-
"theme.tags.tagsListLabel___DESCRIPTION": "The label alongside a tag list",
|
|
108
|
-
"theme.tags.tagsPageLink": "View All Tags",
|
|
109
|
-
"theme.tags.tagsPageLink___DESCRIPTION": "The label of the link targeting the tag list page",
|
|
110
|
-
"theme.tags.tagsPageTitle": "Tags",
|
|
111
|
-
"theme.tags.tagsPageTitle___DESCRIPTION": "The title of the tag list page"
|
|
112
|
-
}
|
package/codeTranslations/bn.json
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"theme.AnnouncementBar.closeButtonAriaLabel": "বন্ধ করুন",
|
|
3
|
-
"theme.CodeBlock.copied": "কপিড",
|
|
4
|
-
"theme.CodeBlock.copy": "কপি",
|
|
5
|
-
"theme.CodeBlock.copyButtonAriaLabel": "ক্লিপবোর্ডে কোড কপি করুন",
|
|
6
|
-
"theme.NotFound.p1": "আপনি যা খুঁজছিলেন তা আমরা খুঁজে পাইনি।",
|
|
7
|
-
"theme.NotFound.p2": "দয়া করে সাইটের মালিকের সাথে যোগাযোগ করুন যা আপনাকে মূল URL এর সাথে যুক্ত করেছে এবং তাদের লিঙ্কটি ভাঙ্গা রয়েছে তা তাদের জানান।",
|
|
8
|
-
"theme.NotFound.title": "পেজটি খুঁজে পাওয়া যায়নি",
|
|
9
|
-
"theme.Playground.liveEditor": "লাইভ এডিটর",
|
|
10
|
-
"theme.Playground.result": "ফলাফল",
|
|
11
|
-
"theme.PwaReloadPopup.closeButtonAriaLabel": "বন্ধ করুন",
|
|
12
|
-
"theme.PwaReloadPopup.info": "নতুন সংস্করণ উপলব্ধ",
|
|
13
|
-
"theme.PwaReloadPopup.refreshButtonText": "রিফ্রেশ",
|
|
14
|
-
"theme.SearchBar.label": "সার্চ",
|
|
15
|
-
"theme.SearchPage.algoliaLabel": "আলগোলিয়া দ্বারা অনুসন্ধান করুন",
|
|
16
|
-
"theme.SearchPage.documentsFound.plurals": "একটি ডকুমেন্ট পাওয়া গেছে|{count} ডকুমেন্টস পাওয়া গেছে",
|
|
17
|
-
"theme.SearchPage.emptyResultsTitle": "ডকুমেন্টেশন অনুসন্ধান করুন",
|
|
18
|
-
"theme.SearchPage.existingResultsTitle": "\"{query}\" এর জন্য অনুসন্ধান ফলাফল",
|
|
19
|
-
"theme.SearchPage.fetchingNewResults": "নতুন ফলাফল আনা হচ্ছে...",
|
|
20
|
-
"theme.SearchPage.inputLabel": "সার্চ",
|
|
21
|
-
"theme.SearchPage.inputPlaceholder": "আপনার অনুসন্ধান এখানে টাইপ করুন",
|
|
22
|
-
"theme.SearchPage.noResultsText": "কোন ফলাফল পাওয়া যায়নি",
|
|
23
|
-
"theme.blog.paginator.navAriaLabel": "ব্লগ তালিকা পেজ নেভিগেশন",
|
|
24
|
-
"theme.blog.paginator.newerEntries": "নতুন এন্ট্রি",
|
|
25
|
-
"theme.blog.paginator.olderEntries": "পুরানো এন্ট্রি",
|
|
26
|
-
"theme.blog.post.paginator.navAriaLabel": "ব্লগ পোস্ট পেজ নেভিগেশন",
|
|
27
|
-
"theme.blog.post.paginator.newerPost": "নতুন পোস্ট",
|
|
28
|
-
"theme.blog.post.paginator.olderPost": "পুরানো পোস্ট",
|
|
29
|
-
"theme.blog.post.plurals": "একটি পোস্ট|{count} পোস্টস",
|
|
30
|
-
"theme.blog.post.readMore": "আরও পড়ুন",
|
|
31
|
-
"theme.blog.post.readingTime.plurals": "এক মিনিট পড়া|{readingTime} মিনিট পড়া",
|
|
32
|
-
"theme.blog.sidebar.navAriaLabel": "Blog recent posts navigation",
|
|
33
|
-
"theme.blog.tagTitle": "{nPosts} সঙ্গে ট্যাগ্গেড \"{tagName}\" ",
|
|
34
|
-
"theme.common.editThisPage": "এই পেজটি এডিট করুন",
|
|
35
|
-
"theme.common.headingLinkTitle": "হেডিং এর সঙ্গে সরাসরি লিংকড",
|
|
36
|
-
"theme.common.skipToMainContent": "স্কিপ করে মূল কন্টেন্ট এ যাও",
|
|
37
|
-
"theme.docs.paginator.navAriaLabel": "ডক্স পৃষ্টাগুলির নেভিগেশন",
|
|
38
|
-
"theme.docs.paginator.next": "পরবর্তী",
|
|
39
|
-
"theme.docs.paginator.previous": "আগে",
|
|
40
|
-
"theme.docs.sidebar.collapseButtonAriaLabel": "সাইডবারটি সঙ্কুচিত করুন",
|
|
41
|
-
"theme.docs.sidebar.collapseButtonTitle": "সাইডবারটি সঙ্কুচিত করুন",
|
|
42
|
-
"theme.docs.sidebar.expandButtonAriaLabel": "সাইডবারটি প্রসারিত করুন",
|
|
43
|
-
"theme.docs.sidebar.expandButtonTitle": "সাইডবারটি প্রসারিত করুন",
|
|
44
|
-
"theme.docs.sidebar.responsiveCloseButtonLabel": "মেনু বন্ধ করুন",
|
|
45
|
-
"theme.docs.sidebar.responsiveOpenButtonLabel": "মেনু খুলুন",
|
|
46
|
-
"theme.docs.versions.latestVersionLinkLabel": "লেটেস্ট ভার্সন",
|
|
47
|
-
"theme.docs.versions.latestVersionSuggestionLabel": "আপ-টু-ডেট ডকুমেন্টেশনের জন্য, {latestVersionLink} ({versionLabel}) দেখুন।",
|
|
48
|
-
"theme.docs.versions.unmaintainedVersionLabel": "এটি {siteTitle} {versionLabel} এর জন্যে ডকুমেন্টেশন, যা আর সক্রিয়ভাবে রক্ষণাবেক্ষণ করা হয় না।",
|
|
49
|
-
"theme.docs.versions.unreleasedVersionLabel": "এটি {siteTitle} {versionLabel} এর জন্যে অপ্রকাশিত ডকুমেন্টেশন।",
|
|
50
|
-
"theme.lastUpdated.atDate": " {date} তারিখে",
|
|
51
|
-
"theme.lastUpdated.byUser": "{user} দ্বারা",
|
|
52
|
-
"theme.lastUpdated.lastUpdatedAtBy": "সর্বশেষ সংষ্করণ{atDate}{byUser}",
|
|
53
|
-
"theme.tags.tagsListLabel": "ট্যাগ্স:",
|
|
54
|
-
"theme.tags.tagsPageLink": "সমস্ত ট্যাগ্স দেখুন",
|
|
55
|
-
"theme.tags.tagsPageTitle": "ট্যাগ্স"
|
|
56
|
-
}
|