@seqera/docusaurus-theme-seqera 1.0.0 → 1.0.1-next.9
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 +3 -3
- package/lib/getSwizzleConfig.d.ts +2 -0
- package/lib/getSwizzleConfig.js +400 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.js +113 -0
- package/lib/inlineScripts.d.ts +10 -0
- package/lib/inlineScripts.js +72 -0
- package/lib/inlineSvgSprites.d.ts +1 -0
- package/lib/inlineSvgSprites.js +8 -0
- package/lib/main-styles.css +322 -0
- package/lib/nprogress.css +36 -0
- package/lib/nprogress.d.ts +4 -0
- package/lib/nprogress.js +19 -0
- package/lib/options.d.ts +8 -0
- package/lib/options.js +427 -0
- package/lib/prism-include-languages.d.ts +1 -0
- package/lib/prism-include-languages.js +3 -0
- package/lib/styles/api.css +42 -0
- package/lib/styles/typography.css +342 -0
- package/lib/theme/Admonition/Icon/Danger.d.ts +3 -0
- package/lib/theme/Admonition/Icon/Danger.js +11 -0
- package/lib/theme/Admonition/Icon/Info.d.ts +3 -0
- package/lib/theme/Admonition/Icon/Info.js +11 -0
- package/lib/theme/Admonition/Icon/Note.d.ts +3 -0
- package/lib/theme/Admonition/Icon/Note.js +11 -0
- package/lib/theme/Admonition/Icon/Tip.d.ts +3 -0
- package/lib/theme/Admonition/Icon/Tip.js +11 -0
- package/lib/theme/Admonition/Icon/Warning.d.ts +3 -0
- package/lib/theme/Admonition/Icon/Warning.js +11 -0
- package/lib/theme/Admonition/Layout/index.d.ts +3 -0
- package/lib/theme/Admonition/Layout/index.js +40 -0
- package/lib/theme/Admonition/Layout/styles.module.css +39 -0
- package/lib/theme/Admonition/Type/Caution.d.ts +3 -0
- package/lib/theme/Admonition/Type/Caution.js +28 -0
- package/lib/theme/Admonition/Type/Danger.d.ts +3 -0
- package/lib/theme/Admonition/Type/Danger.js +26 -0
- package/lib/theme/Admonition/Type/Info.d.ts +3 -0
- package/lib/theme/Admonition/Type/Info.js +26 -0
- package/lib/theme/Admonition/Type/Note.d.ts +3 -0
- package/lib/theme/Admonition/Type/Note.js +26 -0
- package/lib/theme/Admonition/Type/Tip.d.ts +3 -0
- package/lib/theme/Admonition/Type/Tip.js +26 -0
- package/lib/theme/Admonition/Type/Warning.d.ts +3 -0
- package/lib/theme/Admonition/Type/Warning.js +26 -0
- package/lib/theme/Admonition/Types.d.ts +5 -0
- package/lib/theme/Admonition/Types.js +27 -0
- package/lib/theme/Admonition/index.d.ts +3 -0
- package/lib/theme/Admonition/index.js +18 -0
- package/lib/theme/AdmonitionVersioned/AddedInVersion.d.ts +8 -0
- package/lib/theme/AdmonitionVersioned/AddedInVersion.js +6 -0
- package/lib/theme/AdmonitionVersioned/AdmonitionVersioned.d.ts +18 -0
- package/lib/theme/AdmonitionVersioned/AdmonitionVersioned.js +43 -0
- package/lib/theme/AdmonitionVersioned/ChangedInVersion.d.ts +8 -0
- package/lib/theme/AdmonitionVersioned/ChangedInVersion.js +6 -0
- package/lib/theme/AdmonitionVersioned/DeprecatedInVersion.d.ts +8 -0
- package/lib/theme/AdmonitionVersioned/DeprecatedInVersion.js +6 -0
- package/lib/theme/AdmonitionVersioned/getStableVersion.d.ts +4 -0
- package/lib/theme/AdmonitionVersioned/getStableVersion.js +20 -0
- package/lib/theme/AdmonitionVersioned/index.d.ts +1 -0
- package/lib/theme/AdmonitionVersioned/index.js +5 -0
- package/lib/theme/AdmonitionVersioned/stableVersions.d.ts +20 -0
- package/lib/theme/AdmonitionVersioned/stableVersions.js +91 -0
- package/lib/theme/AnnouncementBar/CloseButton/index.d.ts +3 -0
- package/lib/theme/AnnouncementBar/CloseButton/index.js +20 -0
- package/lib/theme/AnnouncementBar/CloseButton/styles.module.css +6 -0
- package/lib/theme/AnnouncementBar/Content/index.d.ts +3 -0
- package/lib/theme/AnnouncementBar/Content/index.js +17 -0
- package/lib/theme/AnnouncementBar/Content/styles.module.css +12 -0
- package/lib/theme/AnnouncementBar/index.d.ts +2 -0
- package/lib/theme/AnnouncementBar/index.js +33 -0
- package/lib/theme/AnnouncementBar/styles.module.css +57 -0
- package/lib/theme/BackToTopButton/index.d.ts +2 -0
- package/lib/theme/BackToTopButton/index.js +26 -0
- package/lib/theme/BackToTopButton/styles.module.css +39 -0
- package/lib/theme/Blog/Components/Author/Socials/index.d.ts +5 -0
- package/lib/theme/Blog/Components/Author/Socials/index.js +57 -0
- package/lib/theme/Blog/Components/Author/Socials/styles.module.css +34 -0
- package/lib/theme/Blog/Components/Author/index.d.ts +3 -0
- package/lib/theme/Blog/Components/Author/index.js +84 -0
- package/lib/theme/Blog/Components/Author/styles.module.css +69 -0
- package/lib/theme/Blog/Pages/BlogAuthorsListPage/index.d.ts +3 -0
- package/lib/theme/Blog/Pages/BlogAuthorsListPage/index.js +48 -0
- package/lib/theme/Blog/Pages/BlogAuthorsListPage/styles.module.css +6 -0
- package/lib/theme/Blog/Pages/BlogAuthorsPostsPage/index.d.ts +3 -0
- package/lib/theme/Blog/Pages/BlogAuthorsPostsPage/index.js +70 -0
- package/lib/theme/BlogArchivePage/index.d.ts +3 -0
- package/lib/theme/BlogArchivePage/index.js +87 -0
- package/lib/theme/BlogLayout/index.d.ts +3 -0
- package/lib/theme/BlogLayout/index.js +25 -0
- package/lib/theme/BlogListPage/StructuredData/index.d.ts +3 -0
- package/lib/theme/BlogListPage/StructuredData/index.js +13 -0
- package/lib/theme/BlogListPage/index.d.ts +3 -0
- package/lib/theme/BlogListPage/index.js +50 -0
- package/lib/theme/BlogListPaginator/index.d.ts +3 -0
- package/lib/theme/BlogListPaginator/index.js +42 -0
- package/lib/theme/BlogPostItem/Container/index.d.ts +3 -0
- package/lib/theme/BlogPostItem/Container/index.js +4 -0
- package/lib/theme/BlogPostItem/Content/index.d.ts +3 -0
- package/lib/theme/BlogPostItem/Content/index.js +16 -0
- package/lib/theme/BlogPostItem/Footer/ReadMoreLink/index.d.ts +3 -0
- package/lib/theme/BlogPostItem/Footer/ReadMoreLink/index.js +32 -0
- package/lib/theme/BlogPostItem/Footer/index.d.ts +2 -0
- package/lib/theme/BlogPostItem/Footer/index.js +76 -0
- package/lib/theme/BlogPostItem/Header/Authors/index.d.ts +3 -0
- package/lib/theme/BlogPostItem/Header/Authors/index.js +43 -0
- package/lib/theme/BlogPostItem/Header/Authors/styles.module.css +15 -0
- package/lib/theme/BlogPostItem/Header/Info/index.d.ts +3 -0
- package/lib/theme/BlogPostItem/Header/Info/index.js +58 -0
- package/lib/theme/BlogPostItem/Header/Info/styles.module.css +5 -0
- package/lib/theme/BlogPostItem/Header/Title/index.d.ts +3 -0
- package/lib/theme/BlogPostItem/Header/Title/index.js +15 -0
- package/lib/theme/BlogPostItem/Header/Title/styles.module.css +14 -0
- package/lib/theme/BlogPostItem/Header/index.d.ts +2 -0
- package/lib/theme/BlogPostItem/Header/index.js +13 -0
- package/lib/theme/BlogPostItem/index.d.ts +3 -0
- package/lib/theme/BlogPostItem/index.js +22 -0
- package/lib/theme/BlogPostItems/index.d.ts +3 -0
- package/lib/theme/BlogPostItems/index.js +21 -0
- package/lib/theme/BlogPostPage/Metadata/index.d.ts +2 -0
- package/lib/theme/BlogPostPage/Metadata/index.js +35 -0
- package/lib/theme/BlogPostPage/StructuredData/index.d.ts +2 -0
- package/lib/theme/BlogPostPage/StructuredData/index.js +13 -0
- package/lib/theme/BlogPostPage/index.d.ts +3 -0
- package/lib/theme/BlogPostPage/index.js +62 -0
- package/lib/theme/BlogPostPaginator/index.d.ts +3 -0
- package/lib/theme/BlogPostPaginator/index.js +41 -0
- package/lib/theme/BlogSidebar/Content/index.d.ts +5 -0
- package/lib/theme/BlogSidebar/Content/index.js +35 -0
- package/lib/theme/BlogSidebar/Desktop/index.d.ts +5 -0
- package/lib/theme/BlogSidebar/Desktop/index.js +45 -0
- package/lib/theme/BlogSidebar/Desktop/styles.module.css +46 -0
- package/lib/theme/BlogSidebar/Mobile/index.d.ts +5 -0
- package/lib/theme/BlogSidebar/Mobile/index.js +38 -0
- package/lib/theme/BlogSidebar/Mobile/styles.module.css +5 -0
- package/lib/theme/BlogSidebar/index.d.ts +3 -0
- package/lib/theme/BlogSidebar/index.js +15 -0
- package/lib/theme/BlogTagsListPage/index.d.ts +3 -0
- package/lib/theme/BlogTagsListPage/index.js +29 -0
- package/lib/theme/BlogTagsPostsPage/index.d.ts +3 -0
- package/lib/theme/BlogTagsPostsPage/index.js +58 -0
- package/lib/theme/CodeBlock/Buttons/Button/index.d.ts +3 -0
- package/lib/theme/CodeBlock/Buttons/Button/index.js +7 -0
- package/lib/theme/CodeBlock/Buttons/CopyButton/index.d.ts +3 -0
- package/lib/theme/CodeBlock/Buttons/CopyButton/index.js +64 -0
- package/lib/theme/CodeBlock/Buttons/CopyButton/styles.module.css +42 -0
- package/lib/theme/CodeBlock/Buttons/WordWrapButton/index.d.ts +3 -0
- package/lib/theme/CodeBlock/Buttons/WordWrapButton/index.js +32 -0
- package/lib/theme/CodeBlock/Buttons/WordWrapButton/styles.module.css +10 -0
- package/lib/theme/CodeBlock/Buttons/index.d.ts +3 -0
- package/lib/theme/CodeBlock/Buttons/index.js +21 -0
- package/lib/theme/CodeBlock/Buttons/styles.module.css +32 -0
- package/lib/theme/CodeBlock/Container/index.d.ts +4 -0
- package/lib/theme/CodeBlock/Container/index.js +21 -0
- package/lib/theme/CodeBlock/Container/styles.module.css +9 -0
- package/lib/theme/CodeBlock/Content/Element.d.ts +3 -0
- package/lib/theme/CodeBlock/Content/Element.js +19 -0
- package/lib/theme/CodeBlock/Content/String.d.ts +3 -0
- package/lib/theme/CodeBlock/Content/String.js +31 -0
- package/lib/theme/CodeBlock/Content/index.d.ts +3 -0
- package/lib/theme/CodeBlock/Content/index.js +68 -0
- package/lib/theme/CodeBlock/Content/styles.module.css +30 -0
- package/lib/theme/CodeBlock/Layout/index.d.ts +3 -0
- package/lib/theme/CodeBlock/Layout/index.js +24 -0
- package/lib/theme/CodeBlock/Layout/styles.module.css +22 -0
- package/lib/theme/CodeBlock/Line/Token/index.d.ts +3 -0
- package/lib/theme/CodeBlock/Line/Token/index.js +5 -0
- package/lib/theme/CodeBlock/Line/index.d.ts +3 -0
- package/lib/theme/CodeBlock/Line/index.js +48 -0
- package/lib/theme/CodeBlock/Line/styles.module.css +47 -0
- package/lib/theme/CodeBlock/Title/index.d.ts +3 -0
- package/lib/theme/CodeBlock/Title/index.js +4 -0
- package/lib/theme/CodeBlock/index.d.ts +3 -0
- package/lib/theme/CodeBlock/index.js +32 -0
- package/lib/theme/CodeInline/index.d.ts +3 -0
- package/lib/theme/CodeInline/index.js +7 -0
- package/lib/theme/ColorModeToggle/index.d.ts +5 -0
- package/lib/theme/ColorModeToggle/index.js +115 -0
- package/lib/theme/ColorModeToggle/styles.module.css +35 -0
- package/lib/theme/ContentVisibility/Draft/index.d.ts +3 -0
- package/lib/theme/ContentVisibility/Draft/index.js +18 -0
- package/lib/theme/ContentVisibility/Unlisted/index.d.ts +3 -0
- package/lib/theme/ContentVisibility/Unlisted/index.js +32 -0
- package/lib/theme/ContentVisibility/index.d.ts +3 -0
- package/lib/theme/ContentVisibility/index.js +15 -0
- package/lib/theme/Details/index.d.ts +3 -0
- package/lib/theme/Details/index.js +15 -0
- package/lib/theme/Details/styles.module.css +8 -0
- package/lib/theme/DocBreadcrumbs/Items/Home/index.d.ts +2 -0
- package/lib/theme/DocBreadcrumbs/Items/Home/index.js +22 -0
- package/lib/theme/DocBreadcrumbs/Items/Home/styles.module.css +9 -0
- package/lib/theme/DocBreadcrumbs/StructuredData/index.d.ts +3 -0
- package/lib/theme/DocBreadcrumbs/StructuredData/index.js +15 -0
- package/lib/theme/DocBreadcrumbs/index.d.ts +2 -0
- package/lib/theme/DocBreadcrumbs/index.js +76 -0
- package/lib/theme/DocBreadcrumbs/styles.module.css +14 -0
- package/lib/theme/DocCard/index.d.ts +3 -0
- package/lib/theme/DocCard/index.js +96 -0
- package/lib/theme/DocCard/styles.module.css +29 -0
- package/lib/theme/DocCardList/index.d.ts +3 -0
- package/lib/theme/DocCardList/index.js +33 -0
- package/lib/theme/DocCardList/styles.module.css +9 -0
- package/lib/theme/DocCategoryGeneratedIndexPage/index.d.ts +3 -0
- package/lib/theme/DocCategoryGeneratedIndexPage/index.js +57 -0
- package/lib/theme/DocCategoryGeneratedIndexPage/styles.module.css +13 -0
- package/lib/theme/DocItem/Content/index.d.ts +3 -0
- package/lib/theme/DocItem/Content/index.js +38 -0
- package/lib/theme/DocItem/Footer/index.d.ts +2 -0
- package/lib/theme/DocItem/Footer/index.js +43 -0
- package/lib/theme/DocItem/Layout/index.d.ts +3 -0
- package/lib/theme/DocItem/Layout/index.js +60 -0
- package/lib/theme/DocItem/Layout/styles.module.css +12 -0
- package/lib/theme/DocItem/Metadata/index.d.ts +2 -0
- package/lib/theme/DocItem/Metadata/index.js +14 -0
- package/lib/theme/DocItem/Paginator/index.d.ts +6 -0
- package/lib/theme/DocItem/Paginator/index.js +17 -0
- package/lib/theme/DocItem/TOC/Desktop/index.d.ts +2 -0
- package/lib/theme/DocItem/TOC/Desktop/index.js +15 -0
- package/lib/theme/DocItem/TOC/Mobile/index.d.ts +2 -0
- package/lib/theme/DocItem/TOC/Mobile/index.js +17 -0
- package/lib/theme/DocItem/TOC/Mobile/styles.module.css +26 -0
- package/lib/theme/DocItem/index.d.ts +3 -0
- package/lib/theme/DocItem/index.js +19 -0
- package/lib/theme/DocPaginator/index.d.ts +3 -0
- package/lib/theme/DocPaginator/index.js +42 -0
- package/lib/theme/DocRoot/Layout/Main/index.d.ts +3 -0
- package/lib/theme/DocRoot/Layout/Main/index.js +23 -0
- package/lib/theme/DocRoot/Layout/Main/styles.module.css +23 -0
- package/lib/theme/DocRoot/Layout/Sidebar/ExpandButton/index.d.ts +3 -0
- package/lib/theme/DocRoot/Layout/Sidebar/ExpandButton/index.js +28 -0
- package/lib/theme/DocRoot/Layout/Sidebar/ExpandButton/styles.module.css +29 -0
- package/lib/theme/DocRoot/Layout/Sidebar/index.d.ts +3 -0
- package/lib/theme/DocRoot/Layout/Sidebar/index.js +70 -0
- package/lib/theme/DocRoot/Layout/Sidebar/styles.module.css +34 -0
- package/lib/theme/DocRoot/Layout/index.d.ts +3 -0
- package/lib/theme/DocRoot/Layout/index.js +27 -0
- package/lib/theme/DocRoot/Layout/styles.module.css +11 -0
- package/lib/theme/DocRoot/index.d.ts +3 -0
- package/lib/theme/DocRoot/index.js +25 -0
- package/lib/theme/DocSidebar/Desktop/CollapseButton/index.d.ts +3 -0
- package/lib/theme/DocSidebar/Desktop/CollapseButton/index.js +25 -0
- package/lib/theme/DocSidebar/Desktop/CollapseButton/styles.module.css +42 -0
- package/lib/theme/DocSidebar/Desktop/Content/index.d.ts +3 -0
- package/lib/theme/DocSidebar/Desktop/Content/index.js +44 -0
- package/lib/theme/DocSidebar/Desktop/Content/styles.module.css +18 -0
- package/lib/theme/DocSidebar/Desktop/index.d.ts +5 -0
- package/lib/theme/DocSidebar/Desktop/index.js +33 -0
- package/lib/theme/DocSidebar/Desktop/styles.module.css +39 -0
- package/lib/theme/DocSidebar/Mobile/index.d.ts +5 -0
- package/lib/theme/DocSidebar/Mobile/index.js +39 -0
- package/lib/theme/DocSidebar/index.d.ts +3 -0
- package/lib/theme/DocSidebar/index.js +18 -0
- package/lib/theme/DocSidebarItem/Category/index.d.ts +3 -0
- package/lib/theme/DocSidebarItem/Category/index.js +273 -0
- package/lib/theme/DocSidebarItem/Category/styles.module.css +35 -0
- package/lib/theme/DocSidebarItem/Html/index.d.ts +3 -0
- package/lib/theme/DocSidebarItem/Html/index.js +23 -0
- package/lib/theme/DocSidebarItem/Html/styles.module.css +8 -0
- package/lib/theme/DocSidebarItem/Link/index.d.ts +3 -0
- package/lib/theme/DocSidebarItem/Link/index.js +60 -0
- package/lib/theme/DocSidebarItem/Link/styles.module.css +13 -0
- package/lib/theme/DocSidebarItem/index.d.ts +3 -0
- package/lib/theme/DocSidebarItem/index.js +27 -0
- package/lib/theme/DocSidebarItems/index.d.ts +5 -0
- package/lib/theme/DocSidebarItems/index.js +18 -0
- package/lib/theme/DocTagDocListPage/index.d.ts +3 -0
- package/lib/theme/DocTagDocListPage/index.js +98 -0
- package/lib/theme/DocTagsListPage/index.d.ts +3 -0
- package/lib/theme/DocTagsListPage/index.js +43 -0
- package/lib/theme/DocVersionBadge/index.d.ts +3 -0
- package/lib/theme/DocVersionBadge/index.js +25 -0
- package/lib/theme/DocVersionBanner/index.d.ts +3 -0
- package/lib/theme/DocVersionBanner/index.js +125 -0
- package/lib/theme/DocVersionRoot/index.d.ts +3 -0
- package/lib/theme/DocVersionRoot/index.js +40 -0
- package/lib/theme/DocsRoot/index.d.ts +3 -0
- package/lib/theme/DocsRoot/index.js +12 -0
- package/lib/theme/EditMetaRow/index.d.ts +3 -0
- package/lib/theme/EditMetaRow/index.js +27 -0
- package/lib/theme/EditMetaRow/styles.module.css +19 -0
- package/lib/theme/EditThisPage/index.d.ts +3 -0
- package/lib/theme/EditThisPage/index.js +18 -0
- package/lib/theme/ErrorPageContent.d.ts +3 -0
- package/lib/theme/ErrorPageContent.js +34 -0
- package/lib/theme/Footer/Copyright/index.d.ts +3 -0
- package/lib/theme/Footer/Copyright/index.js +11 -0
- package/lib/theme/Footer/Layout/index.d.ts +3 -0
- package/lib/theme/Footer/Layout/index.js +35 -0
- package/lib/theme/Footer/LinkItem/index.d.ts +3 -0
- package/lib/theme/Footer/LinkItem/index.js +26 -0
- package/lib/theme/Footer/Links/MultiColumn/index.d.ts +3 -0
- package/lib/theme/Footer/Links/MultiColumn/index.js +44 -0
- package/lib/theme/Footer/Links/Simple/index.d.ts +3 -0
- package/lib/theme/Footer/Links/Simple/index.js +32 -0
- package/lib/theme/Footer/Links/index.d.ts +3 -0
- package/lib/theme/Footer/Links/index.js +11 -0
- package/lib/theme/Footer/Logo/index.d.ts +3 -0
- package/lib/theme/Footer/Logo/index.js +35 -0
- package/lib/theme/Footer/Logo/styles.module.css +11 -0
- package/lib/theme/Footer/index.d.ts +4 -0
- package/lib/theme/Footer/index.js +22 -0
- package/lib/theme/Heading/index.d.ts +4 -0
- package/lib/theme/Heading/index.js +42 -0
- package/lib/theme/Heading/styles.module.css +17 -0
- package/lib/theme/Homepage/index.d.ts +5 -0
- package/lib/theme/Homepage/index.js +161 -0
- package/lib/theme/Icon/AI/index.d.ts +3 -0
- package/lib/theme/Icon/AI/index.js +17 -0
- package/lib/theme/Icon/AWS/index.d.ts +3 -0
- package/lib/theme/Icon/AWS/index.js +19 -0
- package/lib/theme/Icon/Arrow/index.d.ts +3 -0
- package/lib/theme/Icon/Arrow/index.js +11 -0
- package/lib/theme/Icon/Azure/index.d.ts +3 -0
- package/lib/theme/Icon/Azure/index.js +26 -0
- package/lib/theme/Icon/Changelog/index.d.ts +3 -0
- package/lib/theme/Icon/Changelog/index.js +22 -0
- package/lib/theme/Icon/ChatBubble/index.d.ts +3 -0
- package/lib/theme/Icon/ChatBubble/index.js +21 -0
- package/lib/theme/Icon/ChatBubbles/index.d.ts +3 -0
- package/lib/theme/Icon/ChatBubbles/index.js +36 -0
- package/lib/theme/Icon/Close/index.d.ts +3 -0
- package/lib/theme/Icon/Close/index.js +17 -0
- package/lib/theme/Icon/Cog/index.d.ts +3 -0
- package/lib/theme/Icon/Cog/index.js +43 -0
- package/lib/theme/Icon/Copy/index.d.ts +3 -0
- package/lib/theme/Icon/Copy/index.js +11 -0
- package/lib/theme/Icon/DarkMode/index.d.ts +3 -0
- package/lib/theme/Icon/DarkMode/index.js +11 -0
- package/lib/theme/Icon/Edit/index.d.ts +3 -0
- package/lib/theme/Icon/Edit/index.js +19 -0
- package/lib/theme/Icon/Edit/styles.module.css +6 -0
- package/lib/theme/Icon/Envelope/index.d.ts +3 -0
- package/lib/theme/Icon/Envelope/index.js +27 -0
- package/lib/theme/Icon/ExternalLink/index.d.ts +3 -0
- package/lib/theme/Icon/ExternalLink/index.js +21 -0
- package/lib/theme/Icon/ExternalLink/styles.module.css +5 -0
- package/lib/theme/Icon/Fusion/index.d.ts +3 -0
- package/lib/theme/Icon/Fusion/index.js +30 -0
- package/lib/theme/Icon/GoogleCloud/index.d.ts +3 -0
- package/lib/theme/Icon/GoogleCloud/index.js +58 -0
- package/lib/theme/Icon/Home/index.d.ts +3 -0
- package/lib/theme/Icon/Home/index.js +11 -0
- package/lib/theme/Icon/Language/index.d.ts +3 -0
- package/lib/theme/Icon/Language/index.js +16 -0
- package/lib/theme/Icon/LightMode/index.d.ts +3 -0
- package/lib/theme/Icon/LightMode/index.js +11 -0
- package/lib/theme/Icon/MCP/index.d.ts +3 -0
- package/lib/theme/Icon/MCP/index.js +72 -0
- package/lib/theme/Icon/Menu/index.d.ts +3 -0
- package/lib/theme/Icon/Menu/index.js +25 -0
- package/lib/theme/Icon/MultiQC/index.d.ts +3 -0
- package/lib/theme/Icon/MultiQC/index.js +23 -0
- package/lib/theme/Icon/Nextflow/index.d.ts +3 -0
- package/lib/theme/Icon/Nextflow/index.js +23 -0
- package/lib/theme/Icon/QuestionMark/index.d.ts +3 -0
- package/lib/theme/Icon/QuestionMark/index.js +44 -0
- package/lib/theme/Icon/SeqeraCloud/index.d.ts +3 -0
- package/lib/theme/Icon/SeqeraCloud/index.js +33 -0
- package/lib/theme/Icon/SeqeraEnterprise/index.d.ts +3 -0
- package/lib/theme/Icon/SeqeraEnterprise/index.js +370 -0
- package/lib/theme/Icon/SeqeraLogo/index.d.ts +3 -0
- package/lib/theme/Icon/SeqeraLogo/index.js +18 -0
- package/lib/theme/Icon/ServiceStatus/index.d.ts +3 -0
- package/lib/theme/Icon/ServiceStatus/index.js +99 -0
- package/lib/theme/Icon/Sidebar/index.d.ts +3 -0
- package/lib/theme/Icon/Sidebar/index.js +21 -0
- package/lib/theme/Icon/Socials/Bluesky/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/Bluesky/index.js +19 -0
- package/lib/theme/Icon/Socials/Bluesky/styles.module.css +9 -0
- package/lib/theme/Icon/Socials/Default/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/Default/index.js +24 -0
- package/lib/theme/Icon/Socials/Email/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/Email/index.js +19 -0
- package/lib/theme/Icon/Socials/GitHub/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/GitHub/index.js +19 -0
- package/lib/theme/Icon/Socials/GitHub/styles.module.css +9 -0
- package/lib/theme/Icon/Socials/Instagram/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/Instagram/index.js +19 -0
- package/lib/theme/Icon/Socials/Instagram/styles.module.css +9 -0
- package/lib/theme/Icon/Socials/LinkedIn/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/LinkedIn/index.js +19 -0
- package/lib/theme/Icon/Socials/LinkedIn/styles.module.css +9 -0
- package/lib/theme/Icon/Socials/Mastodon/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/Mastodon/index.js +36 -0
- package/lib/theme/Icon/Socials/StackOverflow/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/StackOverflow/index.js +21 -0
- package/lib/theme/Icon/Socials/Threads/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/Threads/index.js +20 -0
- package/lib/theme/Icon/Socials/Threads/styles.module.css +9 -0
- package/lib/theme/Icon/Socials/Twitch/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/Twitch/index.js +29 -0
- package/lib/theme/Icon/Socials/Twitter/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/Twitter/index.js +18 -0
- package/lib/theme/Icon/Socials/X/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/X/index.js +19 -0
- package/lib/theme/Icon/Socials/X/styles.module.css +9 -0
- package/lib/theme/Icon/Socials/YouTube/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/YouTube/index.js +19 -0
- package/lib/theme/Icon/Success/index.d.ts +3 -0
- package/lib/theme/Icon/Success/index.js +11 -0
- package/lib/theme/Icon/SystemColorMode/index.d.ts +3 -0
- package/lib/theme/Icon/SystemColorMode/index.js +10 -0
- package/lib/theme/Icon/Wave/index.d.ts +3 -0
- package/lib/theme/Icon/Wave/index.js +30 -0
- package/lib/theme/Icon/WordWrap/index.d.ts +3 -0
- package/lib/theme/Icon/WordWrap/index.js +11 -0
- package/lib/theme/LastUpdated/index.d.ts +3 -0
- package/lib/theme/LastUpdated/index.js +71 -0
- package/lib/theme/Layout/Provider/index.d.ts +3 -0
- package/lib/theme/Layout/Provider/index.js +21 -0
- package/lib/theme/Layout/index.d.ts +3 -0
- package/lib/theme/Layout/index.js +53 -0
- package/lib/theme/Layout/styles.module.css +23 -0
- package/lib/theme/Logo/index.d.ts +3 -0
- package/lib/theme/Logo/index.js +60 -0
- package/lib/theme/MDXComponents/A/index.d.ts +3 -0
- package/lib/theme/MDXComponents/A/index.js +11 -0
- package/lib/theme/MDXComponents/Button/index.d.ts +9 -0
- package/lib/theme/MDXComponents/Button/index.js +31 -0
- package/lib/theme/MDXComponents/Code.d.ts +3 -0
- package/lib/theme/MDXComponents/Code.js +20 -0
- package/lib/theme/MDXComponents/Details.d.ts +3 -0
- package/lib/theme/MDXComponents/Details.js +16 -0
- package/lib/theme/MDXComponents/Heading.d.ts +3 -0
- package/lib/theme/MDXComponents/Heading.js +5 -0
- package/lib/theme/MDXComponents/Img/index.d.ts +3 -0
- package/lib/theme/MDXComponents/Img/index.js +17 -0
- package/lib/theme/MDXComponents/Img/styles.module.css +5 -0
- package/lib/theme/MDXComponents/Li.d.ts +3 -0
- package/lib/theme/MDXComponents/Li.js +12 -0
- package/lib/theme/MDXComponents/Pre.d.ts +3 -0
- package/lib/theme/MDXComponents/Pre.js +6 -0
- package/lib/theme/MDXComponents/Ul/index.d.ts +3 -0
- package/lib/theme/MDXComponents/Ul/index.js +19 -0
- package/lib/theme/MDXComponents/Ul/styles.module.css +9 -0
- package/lib/theme/MDXComponents/index.d.ts +3 -0
- package/lib/theme/MDXComponents/index.js +40 -0
- package/lib/theme/MDXContent/index.d.ts +3 -0
- package/lib/theme/MDXContent/index.js +6 -0
- package/lib/theme/MDXPage/index.d.ts +3 -0
- package/lib/theme/MDXPage/index.js +80 -0
- package/lib/theme/MDXPage/styles.module.css +5 -0
- package/lib/theme/Mermaid.d.ts +1 -0
- package/lib/theme/Mermaid.js +7 -0
- package/lib/theme/Navbar/ColorModeToggle/index.d.ts +3 -0
- package/lib/theme/Navbar/ColorModeToggle/index.js +23 -0
- package/lib/theme/Navbar/ColorModeToggle/styles.module.css +5 -0
- package/lib/theme/Navbar/Content/index.d.ts +2 -0
- package/lib/theme/Navbar/Content/index.js +136 -0
- package/lib/theme/Navbar/Content/styles.module.css +19 -0
- package/lib/theme/Navbar/Layout/index.d.ts +3 -0
- package/lib/theme/Navbar/Layout/index.js +53 -0
- package/lib/theme/Navbar/Layout/styles.module.css +9 -0
- package/lib/theme/Navbar/Logo/index.d.ts +2 -0
- package/lib/theme/Navbar/Logo/index.js +11 -0
- package/lib/theme/Navbar/MobileSidebar/Header/index.d.ts +2 -0
- package/lib/theme/Navbar/MobileSidebar/Header/index.js +32 -0
- package/lib/theme/Navbar/MobileSidebar/Layout/index.d.ts +3 -0
- package/lib/theme/Navbar/MobileSidebar/Layout/index.js +55 -0
- package/lib/theme/Navbar/MobileSidebar/Layout/styles.module.css +11 -0
- package/lib/theme/Navbar/MobileSidebar/PrimaryMenu/index.d.ts +2 -0
- package/lib/theme/Navbar/MobileSidebar/PrimaryMenu/index.js +86 -0
- package/lib/theme/Navbar/MobileSidebar/SecondaryMenu/index.d.ts +2 -0
- package/lib/theme/Navbar/MobileSidebar/SecondaryMenu/index.js +33 -0
- package/lib/theme/Navbar/MobileSidebar/Toggle/index.d.ts +2 -0
- package/lib/theme/Navbar/MobileSidebar/Toggle/index.js +22 -0
- package/lib/theme/Navbar/MobileSidebar/index.d.ts +2 -0
- package/lib/theme/Navbar/MobileSidebar/index.js +23 -0
- package/lib/theme/Navbar/Search/index.d.ts +3 -0
- package/lib/theme/Navbar/Search/index.js +10 -0
- package/lib/theme/Navbar/Search/styles.module.css +22 -0
- package/lib/theme/Navbar/Submenu/SubmenuLinks.d.ts +2 -0
- package/lib/theme/Navbar/Submenu/SubmenuLinks.js +110 -0
- package/lib/theme/Navbar/Submenu/index.d.ts +2 -0
- package/lib/theme/Navbar/Submenu/index.js +77 -0
- package/lib/theme/Navbar/Submenu/styles.module.css +82 -0
- package/lib/theme/Navbar/index.d.ts +2 -0
- package/lib/theme/Navbar/index.js +10 -0
- package/lib/theme/NavbarItem/ComponentTypes.d.ts +3 -0
- package/lib/theme/NavbarItem/ComponentTypes.js +21 -0
- package/lib/theme/NavbarItem/DefaultNavbarItem/Desktop/index.d.ts +3 -0
- package/lib/theme/NavbarItem/DefaultNavbarItem/Desktop/index.js +23 -0
- package/lib/theme/NavbarItem/DefaultNavbarItem/Mobile/index.d.ts +3 -0
- package/lib/theme/NavbarItem/DefaultNavbarItem/Mobile/index.js +14 -0
- package/lib/theme/NavbarItem/DefaultNavbarItem/index.d.ts +4 -0
- package/lib/theme/NavbarItem/DefaultNavbarItem/index.js +19 -0
- package/lib/theme/NavbarItem/DocNavbarItem.d.ts +3 -0
- package/lib/theme/NavbarItem/DocNavbarItem.js +32 -0
- package/lib/theme/NavbarItem/DocSidebarNavbarItem.d.ts +3 -0
- package/lib/theme/NavbarItem/DocSidebarNavbarItem.js +29 -0
- package/lib/theme/NavbarItem/DocsVersionDropdownNavbarItem.d.ts +3 -0
- package/lib/theme/NavbarItem/DocsVersionDropdownNavbarItem.js +133 -0
- package/lib/theme/NavbarItem/DocsVersionNavbarItem.d.ts +3 -0
- package/lib/theme/NavbarItem/DocsVersionNavbarItem.js +16 -0
- package/lib/theme/NavbarItem/DropdownNavbarItem/Desktop/index.d.ts +3 -0
- package/lib/theme/NavbarItem/DropdownNavbarItem/Desktop/index.js +68 -0
- package/lib/theme/NavbarItem/DropdownNavbarItem/Mobile/index.d.ts +4 -0
- package/lib/theme/NavbarItem/DropdownNavbarItem/Mobile/index.js +136 -0
- package/lib/theme/NavbarItem/DropdownNavbarItem/Mobile/styles.module.css +5 -0
- package/lib/theme/NavbarItem/DropdownNavbarItem/index.d.ts +3 -0
- package/lib/theme/NavbarItem/DropdownNavbarItem/index.js +7 -0
- package/lib/theme/NavbarItem/HtmlNavbarItem.d.ts +3 -0
- package/lib/theme/NavbarItem/HtmlNavbarItem.js +22 -0
- package/lib/theme/NavbarItem/LocaleDropdownNavbarItem/index.d.ts +3 -0
- package/lib/theme/NavbarItem/LocaleDropdownNavbarItem/index.js +114 -0
- package/lib/theme/NavbarItem/LocaleDropdownNavbarItem/styles.module.css +6 -0
- package/lib/theme/NavbarItem/NavbarNavLink.d.ts +3 -0
- package/lib/theme/NavbarItem/NavbarNavLink.js +62 -0
- package/lib/theme/NavbarItem/SearchNavbarItem.d.ts +3 -0
- package/lib/theme/NavbarItem/SearchNavbarItem.js +13 -0
- package/lib/theme/NavbarItem/index.d.ts +3 -0
- package/lib/theme/NavbarItem/index.js +18 -0
- package/lib/theme/NotFound/Content/index.d.ts +3 -0
- package/lib/theme/NotFound/Content/index.js +38 -0
- package/lib/theme/NotFound/index.d.ts +2 -0
- package/lib/theme/NotFound/index.js +19 -0
- package/lib/theme/PaginatorNavLink/index.d.ts +3 -0
- package/lib/theme/PaginatorNavLink/index.js +19 -0
- package/lib/theme/SearchBar.d.ts +1 -0
- package/lib/theme/SearchBar.js +5 -0
- package/lib/theme/SearchMetadata/index.d.ts +3 -0
- package/lib/theme/SearchMetadata/index.js +28 -0
- package/lib/theme/SiteMetadata/index.d.ts +2 -0
- package/lib/theme/SiteMetadata/index.js +137 -0
- package/lib/theme/SkipToContent/index.d.ts +2 -0
- package/lib/theme/SkipToContent/index.js +6 -0
- package/lib/theme/SkipToContent/styles.module.css +16 -0
- package/lib/theme/TOC/index.d.ts +3 -0
- package/lib/theme/TOC/index.js +22 -0
- package/lib/theme/TOC/styles.module.css +23 -0
- package/lib/theme/TOCCollapsible/CollapseButton/index.d.ts +3 -0
- package/lib/theme/TOCCollapsible/CollapseButton/index.js +22 -0
- package/lib/theme/TOCCollapsible/CollapseButton/styles.module.css +27 -0
- package/lib/theme/TOCCollapsible/index.d.ts +3 -0
- package/lib/theme/TOCCollapsible/index.js +37 -0
- package/lib/theme/TOCCollapsible/styles.module.css +26 -0
- package/lib/theme/TOCInline/index.d.ts +3 -0
- package/lib/theme/TOCInline/index.js +16 -0
- package/lib/theme/TOCInline/styles.module.css +7 -0
- package/lib/theme/TOCItems/Tree.d.ts +5 -0
- package/lib/theme/TOCItems/Tree.js +30 -0
- package/lib/theme/TOCItems/index.d.ts +3 -0
- package/lib/theme/TOCItems/index.js +47 -0
- package/lib/theme/TabItem/index.d.ts +3 -0
- package/lib/theme/TabItem/index.js +13 -0
- package/lib/theme/TabItem/styles.module.css +5 -0
- package/lib/theme/Tabs/index.d.ts +3 -0
- package/lib/theme/Tabs/index.js +133 -0
- package/lib/theme/Tabs/styles.module.css +9 -0
- package/lib/theme/Tag/index.d.ts +3 -0
- package/lib/theme/Tag/index.js +20 -0
- package/lib/theme/Tag/styles.module.css +65 -0
- package/lib/theme/TagsListByLetter/index.d.ts +3 -0
- package/lib/theme/TagsListByLetter/index.js +35 -0
- package/lib/theme/TagsListByLetter/styles.module.css +6 -0
- package/lib/theme/TagsListInline/index.d.ts +3 -0
- package/lib/theme/TagsListInline/index.js +25 -0
- package/lib/theme/TagsListInline/styles.module.css +10 -0
- package/lib/theme/ThemeProvider/TitleFormatter/index.d.ts +3 -0
- package/lib/theme/ThemeProvider/TitleFormatter/index.js +13 -0
- package/lib/theme/ThemeProvider/index.d.ts +3 -0
- package/lib/theme/ThemeProvider/index.js +5 -0
- package/lib/theme/ThemedImage/index.d.ts +3 -0
- package/lib/theme/ThemedImage/index.js +17 -0
- package/lib/theme/ThemedImage/styles.module.css +13 -0
- package/lib/theme/pages/Home/index.d.ts +2 -0
- package/lib/theme/pages/Home/index.js +14 -0
- package/lib/theme/prism-include-languages.d.ts +2 -0
- package/lib/theme/prism-include-languages.js +28 -0
- package/lib/translations.d.ts +9 -0
- package/lib/translations.js +172 -0
- package/package.json +4 -3
- package/src/index.ts +3 -3
- package/src/options.ts +1 -1
- package/src/theme-seqera.d.ts +2 -2
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import Translate from '@docusaurus/Translate';
|
|
4
|
+
import AdmonitionLayout from '@theme/Admonition/Layout';
|
|
5
|
+
import IconWarning from '@theme/Admonition/Icon/Warning';
|
|
6
|
+
const infimaClassName = 'alert alert--warning';
|
|
7
|
+
const defaultProps = {
|
|
8
|
+
icon: <IconWarning />,
|
|
9
|
+
title: (
|
|
10
|
+
<Translate
|
|
11
|
+
id="theme.admonition.warning"
|
|
12
|
+
description="The default label used for the Warning admonition (:::warning)">
|
|
13
|
+
warning
|
|
14
|
+
</Translate>
|
|
15
|
+
),
|
|
16
|
+
};
|
|
17
|
+
export default function AdmonitionTypeWarning(props) {
|
|
18
|
+
return (
|
|
19
|
+
<AdmonitionLayout
|
|
20
|
+
{...defaultProps}
|
|
21
|
+
{...props}
|
|
22
|
+
className={clsx(infimaClassName, props.className)}>
|
|
23
|
+
{props.children}
|
|
24
|
+
</AdmonitionLayout>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AdmonitionTypeNote from '@theme/Admonition/Type/Note';
|
|
3
|
+
import AdmonitionTypeTip from '@theme/Admonition/Type/Tip';
|
|
4
|
+
import AdmonitionTypeInfo from '@theme/Admonition/Type/Info';
|
|
5
|
+
import AdmonitionTypeWarning from '@theme/Admonition/Type/Warning';
|
|
6
|
+
import AdmonitionTypeDanger from '@theme/Admonition/Type/Danger';
|
|
7
|
+
import AdmonitionTypeCaution from '@theme/Admonition/Type/Caution';
|
|
8
|
+
const admonitionTypes = {
|
|
9
|
+
note: AdmonitionTypeNote,
|
|
10
|
+
tip: AdmonitionTypeTip,
|
|
11
|
+
info: AdmonitionTypeInfo,
|
|
12
|
+
warning: AdmonitionTypeWarning,
|
|
13
|
+
danger: AdmonitionTypeDanger,
|
|
14
|
+
};
|
|
15
|
+
// Undocumented legacy admonition type aliases
|
|
16
|
+
// Provide hardcoded/untranslated retrocompatible label
|
|
17
|
+
// See also https://github.com/facebook/docusaurus/issues/7767
|
|
18
|
+
const admonitionAliases = {
|
|
19
|
+
secondary: (props) => <AdmonitionTypeNote title="secondary" {...props} />,
|
|
20
|
+
important: (props) => <AdmonitionTypeInfo title="important" {...props} />,
|
|
21
|
+
success: (props) => <AdmonitionTypeTip title="success" {...props} />,
|
|
22
|
+
caution: AdmonitionTypeCaution,
|
|
23
|
+
};
|
|
24
|
+
export default {
|
|
25
|
+
...admonitionTypes,
|
|
26
|
+
...admonitionAliases,
|
|
27
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {processAdmonitionProps} from '@docusaurus/theme-common';
|
|
3
|
+
import AdmonitionTypes from '@theme/Admonition/Types';
|
|
4
|
+
function getAdmonitionTypeComponent(type) {
|
|
5
|
+
const component = AdmonitionTypes[type];
|
|
6
|
+
if (component) {
|
|
7
|
+
return component;
|
|
8
|
+
}
|
|
9
|
+
console.warn(
|
|
10
|
+
`No admonition component found for admonition type "${type}". Using Info as fallback.`,
|
|
11
|
+
);
|
|
12
|
+
return AdmonitionTypes.info;
|
|
13
|
+
}
|
|
14
|
+
export default function Admonition(unprocessedProps) {
|
|
15
|
+
const props = processAdmonitionProps(unprocessedProps);
|
|
16
|
+
const AdmonitionTypeComponent = getAdmonitionTypeComponent(props.type);
|
|
17
|
+
return <AdmonitionTypeComponent {...props} />;
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
type AdmonitionVersionedType = "added" | "changed" | "deprecated";
|
|
3
|
+
interface AdmonitionVersionedProps {
|
|
4
|
+
type: AdmonitionVersionedType;
|
|
5
|
+
tool?: "nextflow";
|
|
6
|
+
version?: string;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
declare const AdmonitionVersioned: React.FC<AdmonitionVersionedProps>;
|
|
10
|
+
interface Props {
|
|
11
|
+
tool?: "nextflow";
|
|
12
|
+
version?: string;
|
|
13
|
+
children: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
export declare const AddedInVersion: React.FC<Props>;
|
|
16
|
+
export declare const ChangedInVersion: React.FC<Props>;
|
|
17
|
+
export declare const DeprecatedInVersion: React.FC<Props>;
|
|
18
|
+
export default AdmonitionVersioned;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Admonition from '@theme/Admonition';
|
|
3
|
+
import {getDisplayVersion} from './getStableVersion';
|
|
4
|
+
const typeConfig = {
|
|
5
|
+
added: {
|
|
6
|
+
admonitionType: 'info',
|
|
7
|
+
prefix: 'Added in version',
|
|
8
|
+
},
|
|
9
|
+
changed: {
|
|
10
|
+
admonitionType: 'warning',
|
|
11
|
+
prefix: 'Changed in version',
|
|
12
|
+
},
|
|
13
|
+
deprecated: {
|
|
14
|
+
admonitionType: 'danger',
|
|
15
|
+
prefix: 'Deprecated in version',
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
const AdmonitionVersioned = ({
|
|
19
|
+
type,
|
|
20
|
+
tool = 'nextflow',
|
|
21
|
+
version,
|
|
22
|
+
children,
|
|
23
|
+
...props
|
|
24
|
+
}) => {
|
|
25
|
+
const config = typeConfig[type];
|
|
26
|
+
const displayVersion = getDisplayVersion(tool, version);
|
|
27
|
+
const displayTitle = `${config.prefix} ${displayVersion}`;
|
|
28
|
+
return (
|
|
29
|
+
<Admonition type={config.admonitionType} title={displayTitle} {...props}>
|
|
30
|
+
{children}
|
|
31
|
+
</Admonition>
|
|
32
|
+
);
|
|
33
|
+
};
|
|
34
|
+
export const AddedInVersion = (props) => (
|
|
35
|
+
<AdmonitionVersioned type="added" {...props} />
|
|
36
|
+
);
|
|
37
|
+
export const ChangedInVersion = (props) => (
|
|
38
|
+
<AdmonitionVersioned type="changed" {...props} />
|
|
39
|
+
);
|
|
40
|
+
export const DeprecatedInVersion = (props) => (
|
|
41
|
+
<AdmonitionVersioned type="deprecated" {...props} />
|
|
42
|
+
);
|
|
43
|
+
export default AdmonitionVersioned;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {stableVersions} from './stableVersions';
|
|
2
|
+
export function getDisplayVersion(tool, version) {
|
|
3
|
+
const toolRules = stableVersions[tool];
|
|
4
|
+
if (!toolRules || toolRules.length === 0) {
|
|
5
|
+
return version || 'unknown';
|
|
6
|
+
}
|
|
7
|
+
// If version provided, find the first rule that matches the version in replaces
|
|
8
|
+
if (version) {
|
|
9
|
+
for (const rule of toolRules) {
|
|
10
|
+
if (rule.replaces.includes(version)) {
|
|
11
|
+
return rule.stable;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
// If no match found, return the original version
|
|
15
|
+
return version;
|
|
16
|
+
}
|
|
17
|
+
// If no version provided, return the latest stable (first in the array)
|
|
18
|
+
// Assuming the array is ordered with newest first
|
|
19
|
+
return toolRules[0].stable;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AddedInVersion, ChangedInVersion, DeprecatedInVersion } from './AdmonitionVersioned';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface VersionMapping {
|
|
2
|
+
stable: string;
|
|
3
|
+
replaces: string[];
|
|
4
|
+
}
|
|
5
|
+
export interface StableVersions {
|
|
6
|
+
nextflow: VersionMapping[];
|
|
7
|
+
}
|
|
8
|
+
export declare const stableVersions: StableVersions;
|
|
9
|
+
/**
|
|
10
|
+
* Get the display version, mapping edge versions to their stable equivalents
|
|
11
|
+
*/
|
|
12
|
+
export declare function getDisplayVersion(tool: keyof StableVersions, version?: string): string;
|
|
13
|
+
/**
|
|
14
|
+
* Check if a version is an edge version
|
|
15
|
+
*/
|
|
16
|
+
export declare function isEdgeVersion(tool: keyof StableVersions, version?: string): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Get the stable version for an edge version
|
|
19
|
+
*/
|
|
20
|
+
export declare function getStableVersion(tool: keyof StableVersions, version?: string): string | null;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
export const stableVersions = {
|
|
2
|
+
nextflow: [
|
|
3
|
+
{
|
|
4
|
+
stable: '24.10.0',
|
|
5
|
+
replaces: [
|
|
6
|
+
'24.05.0-edge',
|
|
7
|
+
'24.06.0-edge',
|
|
8
|
+
'24.07.0-edge',
|
|
9
|
+
'24.08.0-edge',
|
|
10
|
+
'24.09.0-edge',
|
|
11
|
+
],
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
stable: '24.04.0',
|
|
15
|
+
replaces: [
|
|
16
|
+
'23.11.0-edge',
|
|
17
|
+
'23.12.0-edge',
|
|
18
|
+
'24.01.0-edge',
|
|
19
|
+
'24.02.0-edge',
|
|
20
|
+
'24.03.0-edge',
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
stable: '23.10.0',
|
|
25
|
+
replaces: [
|
|
26
|
+
'23.05.0-edge',
|
|
27
|
+
'23.06.0-edge',
|
|
28
|
+
'23.07.0-edge',
|
|
29
|
+
'23.08.0-edge',
|
|
30
|
+
'23.09.0-edge',
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
stable: '23.04.0',
|
|
35
|
+
replaces: [
|
|
36
|
+
'22.11.0-edge',
|
|
37
|
+
'22.12.0-edge',
|
|
38
|
+
'23.01.0-edge',
|
|
39
|
+
'23.02.0-edge',
|
|
40
|
+
'23.03.0-edge',
|
|
41
|
+
],
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Get the display version, mapping edge versions to their stable equivalents
|
|
47
|
+
*/
|
|
48
|
+
export function getDisplayVersion(tool, version) {
|
|
49
|
+
if (!version) {
|
|
50
|
+
return 'latest';
|
|
51
|
+
}
|
|
52
|
+
// Check if this is an edge version that should be replaced
|
|
53
|
+
const toolMappings = stableVersions[tool];
|
|
54
|
+
for (const mapping of toolMappings) {
|
|
55
|
+
if (mapping.replaces.includes(version)) {
|
|
56
|
+
return `${mapping.stable} (stable)`;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
// If version ends with -edge, show it as edge
|
|
60
|
+
if (version.endsWith('-edge')) {
|
|
61
|
+
return `${version} (edge)`;
|
|
62
|
+
}
|
|
63
|
+
// Otherwise, return as stable
|
|
64
|
+
return `${version} (stable)`;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Check if a version is an edge version
|
|
68
|
+
*/
|
|
69
|
+
export function isEdgeVersion(tool, version) {
|
|
70
|
+
if (!version) return false;
|
|
71
|
+
const toolMappings = stableVersions[tool];
|
|
72
|
+
for (const mapping of toolMappings) {
|
|
73
|
+
if (mapping.replaces.includes(version)) {
|
|
74
|
+
return true;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
return version.endsWith('-edge');
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Get the stable version for an edge version
|
|
81
|
+
*/
|
|
82
|
+
export function getStableVersion(tool, version) {
|
|
83
|
+
if (!version) return null;
|
|
84
|
+
const toolMappings = stableVersions[tool];
|
|
85
|
+
for (const mapping of toolMappings) {
|
|
86
|
+
if (mapping.replaces.includes(version)) {
|
|
87
|
+
return mapping.stable;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
return null;
|
|
91
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import {translate} from '@docusaurus/Translate';
|
|
4
|
+
import IconClose from '@theme/Icon/Close';
|
|
5
|
+
import styles from './styles.module.css';
|
|
6
|
+
export default function AnnouncementBarCloseButton(props) {
|
|
7
|
+
return (
|
|
8
|
+
<button
|
|
9
|
+
type="button"
|
|
10
|
+
aria-label={translate({
|
|
11
|
+
id: 'theme.AnnouncementBar.closeButtonAriaLabel',
|
|
12
|
+
message: 'Close',
|
|
13
|
+
description: 'The ARIA label for close button of announcement bar',
|
|
14
|
+
})}
|
|
15
|
+
{...props}
|
|
16
|
+
className={clsx('clean-btn close', styles.closeButton, props.className)}>
|
|
17
|
+
<IconClose width={14} height={14} strokeWidth={3.1} />
|
|
18
|
+
</button>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import {useThemeConfig} from '@docusaurus/theme-common';
|
|
4
|
+
import styles from './styles.module.css';
|
|
5
|
+
export default function AnnouncementBarContent(props) {
|
|
6
|
+
const {announcementBar} = useThemeConfig();
|
|
7
|
+
const {content} = announcementBar;
|
|
8
|
+
return (
|
|
9
|
+
<div
|
|
10
|
+
{...props}
|
|
11
|
+
className={clsx(styles.content, props.className)}
|
|
12
|
+
// Developer provided the HTML, so assume it's safe.
|
|
13
|
+
// eslint-disable-next-line react/no-danger
|
|
14
|
+
dangerouslySetInnerHTML={{__html: content}}
|
|
15
|
+
/>
|
|
16
|
+
);
|
|
17
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import {ThemeClassNames, useThemeConfig} from '@docusaurus/theme-common';
|
|
4
|
+
import {useAnnouncementBar} from '@docusaurus/theme-common/internal';
|
|
5
|
+
import AnnouncementBarCloseButton from '@theme/AnnouncementBar/CloseButton';
|
|
6
|
+
import AnnouncementBarContent from '@theme/AnnouncementBar/Content';
|
|
7
|
+
import styles from './styles.module.css';
|
|
8
|
+
export default function AnnouncementBar() {
|
|
9
|
+
const {announcementBar} = useThemeConfig();
|
|
10
|
+
const {isActive, close} = useAnnouncementBar();
|
|
11
|
+
if (!isActive) {
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
const {backgroundColor, textColor, isCloseable} = announcementBar;
|
|
15
|
+
return (
|
|
16
|
+
<div
|
|
17
|
+
className={clsx(
|
|
18
|
+
ThemeClassNames.announcementBar.container,
|
|
19
|
+
styles.announcementBar,
|
|
20
|
+
)}
|
|
21
|
+
style={{backgroundColor, color: textColor}}
|
|
22
|
+
role="banner">
|
|
23
|
+
{isCloseable && <div className={styles.announcementBarPlaceholder} />}
|
|
24
|
+
<AnnouncementBarContent className={styles.announcementBarContent} />
|
|
25
|
+
{isCloseable && (
|
|
26
|
+
<AnnouncementBarCloseButton
|
|
27
|
+
onClick={close}
|
|
28
|
+
className={styles.announcementBarClose}
|
|
29
|
+
/>
|
|
30
|
+
)}
|
|
31
|
+
</div>
|
|
32
|
+
);
|
|
33
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--docusaurus-announcement-bar-height: auto;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.announcementBar {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
height: var(--docusaurus-announcement-bar-height);
|
|
11
|
+
background-color: var(--ifm-color-white);
|
|
12
|
+
color: var(--ifm-color-black);
|
|
13
|
+
|
|
14
|
+
/*
|
|
15
|
+
Unfortunately we can't make announcement bar render above the navbar
|
|
16
|
+
IE need to use border-bottom instead of shadow
|
|
17
|
+
See https://github.com/facebookincubator/infima/issues/275
|
|
18
|
+
|
|
19
|
+
box-shadow: var(--ifm-global-shadow-lw);
|
|
20
|
+
z-index: calc(var(--ifm-z-index-fixed) + 1);
|
|
21
|
+
*/
|
|
22
|
+
border-bottom: 1px solid var(--ifm-color-emphasis-100);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
html[data-announcement-bar-initially-dismissed='true'] .announcementBar {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.announcementBarPlaceholder {
|
|
30
|
+
flex: 0 0 10px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.announcementBarClose {
|
|
34
|
+
flex: 0 0 30px;
|
|
35
|
+
align-self: stretch;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.announcementBarContent {
|
|
39
|
+
flex: 1 1 auto;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@media print {
|
|
43
|
+
.announcementBar {
|
|
44
|
+
display: none;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@media (min-width: 997px) {
|
|
49
|
+
:root {
|
|
50
|
+
--docusaurus-announcement-bar-height: 30px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.announcementBarPlaceholder,
|
|
54
|
+
.announcementBarClose {
|
|
55
|
+
flex-basis: 50px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import {translate} from '@docusaurus/Translate';
|
|
4
|
+
import {ThemeClassNames} from '@docusaurus/theme-common';
|
|
5
|
+
import {useBackToTopButton} from '@docusaurus/theme-common/internal';
|
|
6
|
+
import styles from './styles.module.css';
|
|
7
|
+
export default function BackToTopButton() {
|
|
8
|
+
const {shown, scrollToTop} = useBackToTopButton({threshold: 300});
|
|
9
|
+
return (
|
|
10
|
+
<button
|
|
11
|
+
aria-label={translate({
|
|
12
|
+
id: 'theme.BackToTopButton.buttonAriaLabel',
|
|
13
|
+
message: 'Scroll back to top',
|
|
14
|
+
description: 'The ARIA label for the back to top button',
|
|
15
|
+
})}
|
|
16
|
+
className={clsx(
|
|
17
|
+
'clean-btn',
|
|
18
|
+
ThemeClassNames.common.backToTopButton,
|
|
19
|
+
styles.backToTopButton,
|
|
20
|
+
shown && styles.backToTopButtonShow,
|
|
21
|
+
)}
|
|
22
|
+
type="button"
|
|
23
|
+
onClick={scrollToTop}
|
|
24
|
+
/>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
.backToTopButton {
|
|
4
|
+
position: fixed;
|
|
5
|
+
right: 1.3rem;
|
|
6
|
+
bottom: 1.3rem;
|
|
7
|
+
border-radius: 50%;
|
|
8
|
+
background-color: var(--ifm-color-emphasis-200);
|
|
9
|
+
width: 3rem;
|
|
10
|
+
height: 3rem;
|
|
11
|
+
z-index: calc(var(--ifm-z-index-fixed) - 1);
|
|
12
|
+
box-shadow: var(--ifm-global-shadow-lw);
|
|
13
|
+
transition: all var(--ifm-transition-fast)
|
|
14
|
+
var(--ifm-transition-timing-default);
|
|
15
|
+
opacity: 0;
|
|
16
|
+
transform: scale(0);
|
|
17
|
+
visibility: hidden;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.backToTopButton::after {
|
|
21
|
+
content: ' ';
|
|
22
|
+
display: inline-block;
|
|
23
|
+
mask: var(--ifm-menu-link-sublist-icon) 50% / 2rem 2rem no-repeat;
|
|
24
|
+
background-color: var(--ifm-color-emphasis-1000);
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: 100%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@media (hover: hover) {
|
|
30
|
+
.backToTopButton:hover {
|
|
31
|
+
background-color: var(--ifm-color-emphasis-300);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.backToTopButtonShow {
|
|
36
|
+
opacity: 1;
|
|
37
|
+
transform: scale(1);
|
|
38
|
+
visibility: visible;
|
|
39
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import Link from '@docusaurus/Link';
|
|
4
|
+
import Twitter from '@theme/Icon/Socials/Twitter';
|
|
5
|
+
import GitHub from '@theme/Icon/Socials/GitHub';
|
|
6
|
+
import X from '@theme/Icon/Socials/X';
|
|
7
|
+
import StackOverflow from '@theme/Icon/Socials/StackOverflow';
|
|
8
|
+
import LinkedIn from '@theme/Icon/Socials/LinkedIn';
|
|
9
|
+
import DefaultSocialIcon from '@theme/Icon/Socials/Default';
|
|
10
|
+
import Bluesky from '@theme/Icon/Socials/Bluesky';
|
|
11
|
+
import Instagram from '@theme/Icon/Socials/Instagram';
|
|
12
|
+
import Threads from '@theme/Icon/Socials/Threads';
|
|
13
|
+
import Youtube from '@theme/Icon/Socials/YouTube';
|
|
14
|
+
import Mastodon from '@theme/Icon/Socials/Mastodon';
|
|
15
|
+
import Twitch from '@theme/Icon/Socials/Twitch';
|
|
16
|
+
import Email from '@theme/Icon/Socials/Email';
|
|
17
|
+
import styles from './styles.module.css';
|
|
18
|
+
const SocialPlatformConfigs = {
|
|
19
|
+
twitter: {Icon: Twitter, label: 'Twitter'},
|
|
20
|
+
github: {Icon: GitHub, label: 'GitHub'},
|
|
21
|
+
stackoverflow: {Icon: StackOverflow, label: 'Stack Overflow'},
|
|
22
|
+
linkedin: {Icon: LinkedIn, label: 'LinkedIn'},
|
|
23
|
+
x: {Icon: X, label: 'X'},
|
|
24
|
+
bluesky: {Icon: Bluesky, label: 'Bluesky'},
|
|
25
|
+
instagram: {Icon: Instagram, label: 'Instagram'},
|
|
26
|
+
threads: {Icon: Threads, label: 'Threads'},
|
|
27
|
+
mastodon: {Icon: Mastodon, label: 'Mastodon'},
|
|
28
|
+
youtube: {Icon: Youtube, label: 'YouTube'},
|
|
29
|
+
twitch: {Icon: Twitch, label: 'Twitch'},
|
|
30
|
+
email: {Icon: Email, label: 'Email'},
|
|
31
|
+
};
|
|
32
|
+
function getSocialPlatformConfig(platformKey) {
|
|
33
|
+
return (
|
|
34
|
+
SocialPlatformConfigs[platformKey] ?? {
|
|
35
|
+
Icon: DefaultSocialIcon,
|
|
36
|
+
label: platformKey,
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
function SocialLink({platform, link}) {
|
|
41
|
+
const {Icon, label} = getSocialPlatformConfig(platform);
|
|
42
|
+
return (
|
|
43
|
+
<Link className={styles.authorSocialLink} href={link} title={label}>
|
|
44
|
+
<Icon className={clsx(styles.authorSocialIcon)} />
|
|
45
|
+
</Link>
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
export default function BlogAuthorSocials({author}) {
|
|
49
|
+
const entries = Object.entries(author.socials ?? {});
|
|
50
|
+
return (
|
|
51
|
+
<div className={styles.authorSocials}>
|
|
52
|
+
{entries.map(([platform, linkUrl]) => {
|
|
53
|
+
return <SocialLink key={platform} platform={platform} link={linkUrl} />;
|
|
54
|
+
})}
|
|
55
|
+
</div>
|
|
56
|
+
);
|
|
57
|
+
}
|