mordoc 0.1.13 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +7 -0
- package/bin/cli.js +24 -71
- package/dist/cli/asset-rewrite.d.ts +40 -0
- package/dist/cli/asset-rewrite.d.ts.map +1 -0
- package/dist/cli/asset-rewrite.js +67 -0
- package/dist/cli/asset-rewrite.js.map +1 -0
- package/dist/cli/build.d.ts +45 -15
- package/dist/cli/build.d.ts.map +1 -1
- package/dist/cli/build.js +186 -101
- package/dist/cli/build.js.map +1 -1
- package/dist/cli/dev.d.ts +26 -14
- package/dist/cli/dev.d.ts.map +1 -1
- package/dist/cli/dev.js +116 -159
- package/dist/cli/dev.js.map +1 -1
- package/dist/cli/pagefind-indexer.d.ts +15 -0
- package/dist/cli/pagefind-indexer.d.ts.map +1 -0
- package/dist/cli/pagefind-indexer.js +68 -0
- package/dist/cli/pagefind-indexer.js.map +1 -0
- package/dist/cli/paths.d.ts +26 -0
- package/dist/cli/paths.d.ts.map +1 -0
- package/dist/cli/paths.js +32 -0
- package/dist/cli/paths.js.map +1 -0
- package/dist/cli/ssg-runner.d.ts +58 -0
- package/dist/cli/ssg-runner.d.ts.map +1 -0
- package/dist/cli/ssg-runner.js +126 -0
- package/dist/cli/ssg-runner.js.map +1 -0
- package/dist/config/assets-loader.d.ts +11 -0
- package/dist/config/assets-loader.d.ts.map +1 -0
- package/dist/config/assets-loader.js +46 -0
- package/dist/config/assets-loader.js.map +1 -0
- package/dist/config/language-loader.d.ts +11 -0
- package/dist/config/language-loader.d.ts.map +1 -0
- package/dist/config/language-loader.js +61 -0
- package/dist/config/language-loader.js.map +1 -0
- package/dist/config/language.d.ts +11 -0
- package/dist/config/language.d.ts.map +1 -0
- package/dist/config/language.js +61 -0
- package/dist/config/language.js.map +1 -0
- package/dist/config/sidenav-loader.d.ts +14 -0
- package/dist/config/sidenav-loader.d.ts.map +1 -0
- package/dist/config/sidenav-loader.js +78 -0
- package/dist/config/sidenav-loader.js.map +1 -0
- package/dist/config/site-loader.d.ts +11 -0
- package/dist/config/site-loader.d.ts.map +1 -0
- package/dist/config/site-loader.js +72 -0
- package/dist/config/site-loader.js.map +1 -0
- package/dist/config/site.d.ts +11 -0
- package/dist/config/site.d.ts.map +1 -0
- package/dist/config/site.js +72 -0
- package/dist/config/site.js.map +1 -0
- package/dist/config/topnav-loader.d.ts +10 -0
- package/dist/config/topnav-loader.d.ts.map +1 -0
- package/dist/config/topnav-loader.js +78 -0
- package/dist/config/topnav-loader.js.map +1 -0
- package/dist/config/translations-loader.d.ts +7 -0
- package/dist/config/translations-loader.d.ts.map +1 -0
- package/dist/config/translations-loader.js +51 -0
- package/dist/config/translations-loader.js.map +1 -0
- package/dist/content/content-loader.d.ts +16 -0
- package/dist/content/content-loader.d.ts.map +1 -0
- package/dist/content/content-loader.js +126 -0
- package/dist/content/content-loader.js.map +1 -0
- package/dist/content/content-parser.d.ts +12 -0
- package/dist/content/content-parser.d.ts.map +1 -0
- package/dist/content/content-parser.js +54 -0
- package/dist/content/content-parser.js.map +1 -0
- package/dist/content/content-transformer.d.ts +17 -0
- package/dist/content/content-transformer.d.ts.map +1 -0
- package/dist/content/content-transformer.js +94 -0
- package/dist/content/content-transformer.js.map +1 -0
- package/dist/content/markdoc-config.d.ts +13 -0
- package/dist/content/markdoc-config.d.ts.map +1 -0
- package/dist/content/markdoc-config.js +210 -0
- package/dist/content/markdoc-config.js.map +1 -0
- package/dist/content/slug.d.ts +26 -0
- package/dist/content/slug.d.ts.map +1 -0
- package/dist/content/slug.js +31 -0
- package/dist/content/slug.js.map +1 -0
- package/dist/pipeline.d.ts +61 -0
- package/dist/pipeline.d.ts.map +1 -0
- package/dist/pipeline.js +123 -0
- package/dist/pipeline.js.map +1 -0
- package/dist/types/assets.d.ts +15 -0
- package/dist/types/assets.d.ts.map +1 -0
- package/dist/types/assets.js +2 -0
- package/dist/types/assets.js.map +1 -0
- package/dist/types/content.d.ts +114 -32
- package/dist/types/content.d.ts.map +1 -1
- package/dist/types/content.js +1 -6
- package/dist/types/content.js.map +1 -1
- package/dist/types/language.d.ts +9 -0
- package/dist/types/language.d.ts.map +1 -0
- package/dist/types/language.js +2 -0
- package/dist/types/language.js.map +1 -0
- package/dist/types/navigation.d.ts +24 -36
- package/dist/types/navigation.d.ts.map +1 -1
- package/dist/types/navigation.js +1 -6
- package/dist/types/navigation.js.map +1 -1
- package/dist/types/pipeline.d.ts +70 -0
- package/dist/types/pipeline.d.ts.map +1 -0
- package/dist/types/pipeline.js +2 -0
- package/dist/types/pipeline.js.map +1 -0
- package/dist/types/site.d.ts +20 -0
- package/dist/types/site.d.ts.map +1 -0
- package/dist/types/site.js +2 -0
- package/dist/types/site.js.map +1 -0
- package/dist/utils/lang-utils.d.ts +23 -0
- package/dist/utils/lang-utils.d.ts.map +1 -0
- package/dist/utils/lang-utils.js +40 -0
- package/dist/utils/lang-utils.js.map +1 -0
- package/dist/utils/paths.d.ts +25 -0
- package/dist/utils/paths.d.ts.map +1 -0
- package/dist/utils/paths.js +31 -0
- package/dist/utils/paths.js.map +1 -0
- package/dist/vite/plugin.d.ts +93 -0
- package/dist/vite/plugin.d.ts.map +1 -0
- package/dist/vite/plugin.js +435 -0
- package/dist/vite/plugin.js.map +1 -0
- package/package.json +46 -61
- package/src/app/App.module.css +82 -0
- package/src/app/App.tsx +95 -0
- package/src/app/content/Content.module.css +357 -0
- package/src/app/content/Content.tsx +212 -0
- package/src/app/content/callout/Callout.module.css +110 -0
- package/src/app/content/callout/Callout.tsx +82 -0
- package/src/app/content/card/Card.module.css +146 -0
- package/src/app/content/card/Card.tsx +110 -0
- package/src/app/content/card/CardGrid.module.css +22 -0
- package/src/app/content/card/CardGrid.tsx +34 -0
- package/src/app/content/code-block/CodeBlock.module.css +237 -0
- package/src/app/content/code-block/CodeBlock.tsx +123 -0
- package/src/app/content/heading/Heading.module.css +52 -0
- package/src/app/content/heading/Heading.tsx +75 -0
- package/src/app/content/image/Image.module.css +113 -0
- package/src/app/content/image/Image.tsx +98 -0
- package/src/app/content/link/ContentLink.tsx +46 -0
- package/src/app/data-context.tsx +39 -0
- package/src/app/entry-server.tsx +58 -0
- package/src/app/footer/Footer.module.css +36 -0
- package/src/app/footer/Footer.tsx +28 -0
- package/src/app/globals.d.ts +40 -0
- package/src/app/header/Header.module.css +205 -0
- package/src/app/header/Header.tsx +188 -0
- package/src/app/header/LanguagePicker.module.css +97 -0
- package/src/app/header/LanguagePicker.tsx +174 -0
- package/src/app/header/SearchBar.module.css +92 -0
- package/src/app/header/SearchBar.tsx +37 -0
- package/src/app/header/SearchModal.module.css +185 -0
- package/src/app/header/SearchModal.tsx +245 -0
- package/src/app/header/Topnav.module.css +37 -0
- package/src/app/header/Topnav.tsx +30 -0
- package/src/app/index.css +119 -0
- package/src/app/index.html +13 -0
- package/src/app/landing/LandingPage.module.css +14 -0
- package/src/app/landing/LandingPage.tsx +62 -0
- package/src/app/landing/button/Button.module.css +37 -0
- package/src/app/landing/button/Button.tsx +50 -0
- package/src/app/landing/hero/Hero.module.css +108 -0
- package/src/app/landing/hero/Hero.tsx +81 -0
- package/src/app/landing/section/Section.module.css +100 -0
- package/src/app/landing/section/Section.tsx +61 -0
- package/src/app/lang-utils.ts +11 -0
- package/src/app/main.tsx +67 -0
- package/src/app/not-found/NotFound.module.css +92 -0
- package/src/app/not-found/NotFound.tsx +34 -0
- package/src/app/routes.tsx +86 -0
- package/src/app/sidenav/Sidenav.module.css +239 -0
- package/src/app/sidenav/Sidenav.tsx +182 -0
- package/src/app/skeleton/Skeleton.module.css +100 -0
- package/src/app/skeleton/Skeleton.tsx +75 -0
- package/src/app/toc/Toc.module.css +59 -0
- package/src/app/toc/Toc.tsx +77 -0
- package/src/app/tsconfig.json +18 -0
- package/src/app/virtual-modules.d.ts +74 -0
- package/dist/assets/fonts/inter/Inter-Italic-VariableFont_opsz,wght.ttf +0 -0
- package/dist/assets/fonts/inter/Inter-VariableFont_opsz,wght.ttf +0 -0
- package/dist/assets/fonts/inter/OFL.txt +0 -93
- package/dist/build/Builder.d.ts +0 -92
- package/dist/build/Builder.d.ts.map +0 -1
- package/dist/build/Builder.js +0 -394
- package/dist/build/Builder.js.map +0 -1
- package/dist/build/ClientBundler.d.ts +0 -48
- package/dist/build/ClientBundler.d.ts.map +0 -1
- package/dist/build/ClientBundler.js +0 -169
- package/dist/build/ClientBundler.js.map +0 -1
- package/dist/build/HtmlGenerator.d.ts +0 -46
- package/dist/build/HtmlGenerator.d.ts.map +0 -1
- package/dist/build/HtmlGenerator.js +0 -190
- package/dist/build/HtmlGenerator.js.map +0 -1
- package/dist/build/SearchIndexer.d.ts +0 -31
- package/dist/build/SearchIndexer.d.ts.map +0 -1
- package/dist/build/SearchIndexer.js +0 -116
- package/dist/build/SearchIndexer.js.map +0 -1
- package/dist/bundles/client.js +0 -126
- package/dist/cli/create-app.d.ts +0 -14
- package/dist/cli/create-app.d.ts.map +0 -1
- package/dist/cli/create-app.js +0 -241
- package/dist/cli/create-app.js.map +0 -1
- package/dist/client/App.d.ts +0 -17
- package/dist/client/App.d.ts.map +0 -1
- package/dist/client/App.js +0 -91
- package/dist/client/App.js.map +0 -1
- package/dist/client/contexts/ConfigContext.d.ts +0 -22
- package/dist/client/contexts/ConfigContext.d.ts.map +0 -1
- package/dist/client/contexts/ConfigContext.js +0 -27
- package/dist/client/contexts/ConfigContext.js.map +0 -1
- package/dist/client/contexts/ContentContext.d.ts +0 -31
- package/dist/client/contexts/ContentContext.d.ts.map +0 -1
- package/dist/client/contexts/ContentContext.js +0 -46
- package/dist/client/contexts/ContentContext.js.map +0 -1
- package/dist/client/contexts/SearchContext.d.ts +0 -38
- package/dist/client/contexts/SearchContext.d.ts.map +0 -1
- package/dist/client/contexts/SearchContext.js +0 -185
- package/dist/client/contexts/SearchContext.js.map +0 -1
- package/dist/client/contexts/ThemeContext.d.ts +0 -23
- package/dist/client/contexts/ThemeContext.d.ts.map +0 -1
- package/dist/client/contexts/ThemeContext.js +0 -53
- package/dist/client/contexts/ThemeContext.js.map +0 -1
- package/dist/client/hooks/useContent.d.ts +0 -12
- package/dist/client/hooks/useContent.d.ts.map +0 -1
- package/dist/client/hooks/useContent.js +0 -74
- package/dist/client/hooks/useContent.js.map +0 -1
- package/dist/client/hooks/useNavigation.d.ts +0 -15
- package/dist/client/hooks/useNavigation.d.ts.map +0 -1
- package/dist/client/hooks/useNavigation.js +0 -101
- package/dist/client/hooks/useNavigation.js.map +0 -1
- package/dist/client/hooks/useSearch.d.ts +0 -22
- package/dist/client/hooks/useSearch.d.ts.map +0 -1
- package/dist/client/hooks/useSearch.js +0 -64
- package/dist/client/hooks/useSearch.js.map +0 -1
- package/dist/client/main.d.ts +0 -5
- package/dist/client/main.d.ts.map +0 -1
- package/dist/client/main.js +0 -66
- package/dist/client/main.js.map +0 -1
- package/dist/components/Callout.d.ts +0 -9
- package/dist/components/Callout.d.ts.map +0 -1
- package/dist/components/Callout.js +0 -24
- package/dist/components/Callout.js.map +0 -1
- package/dist/components/Card.d.ts +0 -10
- package/dist/components/Card.d.ts.map +0 -1
- package/dist/components/Card.js +0 -15
- package/dist/components/Card.js.map +0 -1
- package/dist/components/CardGrid.d.ts +0 -8
- package/dist/components/CardGrid.d.ts.map +0 -1
- package/dist/components/CardGrid.js +0 -9
- package/dist/components/CardGrid.js.map +0 -1
- package/dist/components/CodeBlock.d.ts +0 -28
- package/dist/components/CodeBlock.d.ts.map +0 -1
- package/dist/components/CodeBlock.js +0 -80
- package/dist/components/CodeBlock.js.map +0 -1
- package/dist/components/ContentPage.d.ts +0 -9
- package/dist/components/ContentPage.d.ts.map +0 -1
- package/dist/components/ContentPage.js +0 -102
- package/dist/components/ContentPage.js.map +0 -1
- package/dist/components/Header.d.ts +0 -14
- package/dist/components/Header.d.ts.map +0 -1
- package/dist/components/Header.js +0 -30
- package/dist/components/Header.js.map +0 -1
- package/dist/components/Heading.d.ts +0 -16
- package/dist/components/Heading.d.ts.map +0 -1
- package/dist/components/Heading.js +0 -31
- package/dist/components/Heading.js.map +0 -1
- package/dist/components/Image.d.ts +0 -8
- package/dist/components/Image.d.ts.map +0 -1
- package/dist/components/Image.js +0 -24
- package/dist/components/Image.js.map +0 -1
- package/dist/components/Layout.d.ts +0 -14
- package/dist/components/Layout.d.ts.map +0 -1
- package/dist/components/Layout.js +0 -32
- package/dist/components/Layout.js.map +0 -1
- package/dist/components/MarkdocRenderer.d.ts +0 -15
- package/dist/components/MarkdocRenderer.d.ts.map +0 -1
- package/dist/components/MarkdocRenderer.js +0 -73
- package/dist/components/MarkdocRenderer.js.map +0 -1
- package/dist/components/MobileMenu.d.ts +0 -14
- package/dist/components/MobileMenu.d.ts.map +0 -1
- package/dist/components/MobileMenu.js +0 -45
- package/dist/components/MobileMenu.js.map +0 -1
- package/dist/components/PageNavigation.d.ts +0 -9
- package/dist/components/PageNavigation.d.ts.map +0 -1
- package/dist/components/PageNavigation.js +0 -23
- package/dist/components/PageNavigation.js.map +0 -1
- package/dist/components/SearchModal.d.ts +0 -9
- package/dist/components/SearchModal.d.ts.map +0 -1
- package/dist/components/SearchModal.js +0 -74
- package/dist/components/SearchModal.js.map +0 -1
- package/dist/components/SideNav.d.ts +0 -9
- package/dist/components/SideNav.d.ts.map +0 -1
- package/dist/components/SideNav.js +0 -66
- package/dist/components/SideNav.js.map +0 -1
- package/dist/components/TableOfContents.d.ts +0 -10
- package/dist/components/TableOfContents.d.ts.map +0 -1
- package/dist/components/TableOfContents.js +0 -151
- package/dist/components/TableOfContents.js.map +0 -1
- package/dist/config/ConfigLoader.d.ts +0 -50
- package/dist/config/ConfigLoader.d.ts.map +0 -1
- package/dist/config/ConfigLoader.js +0 -214
- package/dist/config/ConfigLoader.js.map +0 -1
- package/dist/config/StyleCompiler.d.ts +0 -17
- package/dist/config/StyleCompiler.d.ts.map +0 -1
- package/dist/config/StyleCompiler.js +0 -116
- package/dist/config/StyleCompiler.js.map +0 -1
- package/dist/config/ThemeGenerator.d.ts +0 -14
- package/dist/config/ThemeGenerator.d.ts.map +0 -1
- package/dist/config/ThemeGenerator.js +0 -129
- package/dist/config/ThemeGenerator.js.map +0 -1
- package/dist/content/ContentLoader.d.ts +0 -70
- package/dist/content/ContentLoader.d.ts.map +0 -1
- package/dist/content/ContentLoader.js +0 -146
- package/dist/content/ContentLoader.js.map +0 -1
- package/dist/content/ContentProcessor.d.ts +0 -84
- package/dist/content/ContentProcessor.d.ts.map +0 -1
- package/dist/content/ContentProcessor.js +0 -380
- package/dist/content/ContentProcessor.js.map +0 -1
- package/dist/content/RouteManager.d.ts +0 -69
- package/dist/content/RouteManager.d.ts.map +0 -1
- package/dist/content/RouteManager.js +0 -143
- package/dist/content/RouteManager.js.map +0 -1
- package/dist/styles/components/callout.d.ts +0 -11
- package/dist/styles/components/callout.d.ts.map +0 -1
- package/dist/styles/components/callout.js +0 -87
- package/dist/styles/components/callout.js.map +0 -1
- package/dist/styles/components/card.d.ts +0 -11
- package/dist/styles/components/card.d.ts.map +0 -1
- package/dist/styles/components/card.js +0 -179
- package/dist/styles/components/card.js.map +0 -1
- package/dist/styles/components/codeblock.d.ts +0 -11
- package/dist/styles/components/codeblock.d.ts.map +0 -1
- package/dist/styles/components/codeblock.js +0 -251
- package/dist/styles/components/codeblock.js.map +0 -1
- package/dist/styles/components/content.d.ts +0 -11
- package/dist/styles/components/content.d.ts.map +0 -1
- package/dist/styles/components/content.js +0 -197
- package/dist/styles/components/content.js.map +0 -1
- package/dist/styles/components/fonts.d.ts +0 -11
- package/dist/styles/components/fonts.d.ts.map +0 -1
- package/dist/styles/components/fonts.js +0 -34
- package/dist/styles/components/fonts.js.map +0 -1
- package/dist/styles/components/header.d.ts +0 -11
- package/dist/styles/components/header.d.ts.map +0 -1
- package/dist/styles/components/header.js +0 -293
- package/dist/styles/components/header.js.map +0 -1
- package/dist/styles/components/heading.d.ts +0 -11
- package/dist/styles/components/heading.d.ts.map +0 -1
- package/dist/styles/components/heading.js +0 -115
- package/dist/styles/components/heading.js.map +0 -1
- package/dist/styles/components/layout.d.ts +0 -11
- package/dist/styles/components/layout.d.ts.map +0 -1
- package/dist/styles/components/layout.js +0 -79
- package/dist/styles/components/layout.js.map +0 -1
- package/dist/styles/components/mobilemenu.d.ts +0 -11
- package/dist/styles/components/mobilemenu.d.ts.map +0 -1
- package/dist/styles/components/mobilemenu.js +0 -112
- package/dist/styles/components/mobilemenu.js.map +0 -1
- package/dist/styles/components/reset.d.ts +0 -11
- package/dist/styles/components/reset.d.ts.map +0 -1
- package/dist/styles/components/reset.js +0 -131
- package/dist/styles/components/reset.js.map +0 -1
- package/dist/styles/components/searchmodal.d.ts +0 -11
- package/dist/styles/components/searchmodal.d.ts.map +0 -1
- package/dist/styles/components/searchmodal.js +0 -333
- package/dist/styles/components/searchmodal.js.map +0 -1
- package/dist/styles/components/sidenav.d.ts +0 -11
- package/dist/styles/components/sidenav.d.ts.map +0 -1
- package/dist/styles/components/sidenav.js +0 -212
- package/dist/styles/components/sidenav.js.map +0 -1
- package/dist/styles/components/toc.d.ts +0 -11
- package/dist/styles/components/toc.d.ts.map +0 -1
- package/dist/styles/components/toc.js +0 -120
- package/dist/styles/components/toc.js.map +0 -1
- package/dist/styles/components/typography.d.ts +0 -11
- package/dist/styles/components/typography.d.ts.map +0 -1
- package/dist/styles/components/typography.js +0 -248
- package/dist/styles/components/typography.js.map +0 -1
- package/dist/styles/components/utility.d.ts +0 -11
- package/dist/styles/components/utility.d.ts.map +0 -1
- package/dist/styles/components/utility.js +0 -231
- package/dist/styles/components/utility.js.map +0 -1
- package/dist/styles/types.d.ts +0 -79
- package/dist/styles/types.d.ts.map +0 -1
- package/dist/styles/types.js +0 -7
- package/dist/styles/types.js.map +0 -1
- package/dist/styles/utils.d.ts +0 -21
- package/dist/styles/utils.d.ts.map +0 -1
- package/dist/styles/utils.js +0 -50
- package/dist/styles/utils.js.map +0 -1
- package/dist/styles/variables/main.d.ts +0 -15
- package/dist/styles/variables/main.d.ts.map +0 -1
- package/dist/styles/variables/main.js +0 -116
- package/dist/styles/variables/main.js.map +0 -1
- package/dist/types/config.d.ts +0 -43
- package/dist/types/config.d.ts.map +0 -1
- package/dist/types/config.js +0 -7
- package/dist/types/config.js.map +0 -1
- package/dist/utils/language-utils.d.ts +0 -41
- package/dist/utils/language-utils.d.ts.map +0 -1
- package/dist/utils/language-utils.js +0 -79
- package/dist/utils/language-utils.js.map +0 -1
- package/dist/utils/slugify.d.ts +0 -20
- package/dist/utils/slugify.d.ts.map +0 -1
- package/dist/utils/slugify.js +0 -44
- package/dist/utils/slugify.js.map +0 -1
- package/templates/default/config/favicon.ico +0 -0
- package/templates/default/config/logo-dark.png +0 -0
- package/templates/default/config/logo.png +0 -0
- package/templates/default/config/sidenav.yaml +0 -36
- package/templates/default/config/site.json +0 -16
- package/templates/default/config/styles/main.json +0 -6
- package/templates/default/config/styles/typography.json +0 -6
- package/templates/default/content/en/changelog.md +0 -35
- package/templates/default/content/en/faq.md +0 -50
- package/templates/default/content/en/field-manual/engines.md +0 -59
- package/templates/default/content/en/field-manual/relativity.md +0 -46
- package/templates/default/content/en/field-manual/safety.md +0 -44
- package/templates/default/content/en/field-manual.md +0 -22
- package/templates/default/content/en/flight-school/navigation.md +0 -61
- package/templates/default/content/en/flight-school/primer.md +0 -64
- package/templates/default/content/en/flight-school.md +0 -48
- package/templates/default/content/en/index.md +0 -83
- package/templates/default/content/en/ship-systems/flux-sails.md +0 -33
- package/templates/default/content/en/ship-systems/photonic-core.md +0 -39
- package/templates/default/content/en/ship-systems.md +0 -25
- package/templates/default/package.json +0 -21
- package/templates/default/public/icons/academy.svg +0 -15
- package/templates/default/public/icons/manual.svg +0 -16
- package/templates/default/public/icons/relativity.svg +0 -16
- package/templates/default/public/icons/systems.svg +0 -14
- package/templates/default/public/icons/warning.svg +0 -14
- package/templates/default/public/images/flux-sails.svg +0 -33
- package/templates/default/public/images/photonic-core.svg +0 -44
- package/templates/default/public/images/starwake.svg +0 -49
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Skeleton loading screen shown during SPA navigations.
|
|
3
|
+
*
|
|
4
|
+
* Mirrors the article-column layout (same max-width, padding, grid structure
|
|
5
|
+
* as Content.tsx) so the transition feels continuous rather than jarring.
|
|
6
|
+
* Rendered by App.tsx when useNavigation().state === 'loading'.
|
|
7
|
+
*
|
|
8
|
+
* Each Block is a shimmer pill whose width and height are supplied as inline
|
|
9
|
+
* styles. The shimmer animation is driven purely by CSS — no JS timers.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import styles from './Skeleton.module.css';
|
|
13
|
+
|
|
14
|
+
function Block({ width = '100%', height = '1rem' }: { width?: string; height?: string }) {
|
|
15
|
+
return <div className={styles.block} style={{ width, height }} aria-hidden="true" />;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export function Skeleton() {
|
|
19
|
+
return (
|
|
20
|
+
<div className={styles.page} aria-busy="true" aria-label="Loading page">
|
|
21
|
+
<div className={styles.articleArea}>
|
|
22
|
+
<div className={styles.article}>
|
|
23
|
+
|
|
24
|
+
{/* Breadcrumb stub */}
|
|
25
|
+
<div className={styles.breadcrumbRow}>
|
|
26
|
+
<Block width="8rem" height="0.75rem" />
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
{/* Article header: title, description lines, meta row */}
|
|
30
|
+
<div className={styles.header}>
|
|
31
|
+
<Block width="62%" height="2.5rem" />
|
|
32
|
+
<div className={styles.headerDesc}>
|
|
33
|
+
<Block width="85%" height="1rem" />
|
|
34
|
+
<Block width="58%" height="1rem" />
|
|
35
|
+
</div>
|
|
36
|
+
<Block width="5rem" height="0.7rem" />
|
|
37
|
+
</div>
|
|
38
|
+
|
|
39
|
+
{/* Prose body: paragraph groups + a heading break */}
|
|
40
|
+
<div className={styles.prose}>
|
|
41
|
+
<div className={styles.paraGroup}>
|
|
42
|
+
<Block width="100%" />
|
|
43
|
+
<Block width="96%" />
|
|
44
|
+
<Block width="88%" />
|
|
45
|
+
<Block width="72%" />
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
<div className={styles.paraGroup}>
|
|
49
|
+
<Block width="100%" />
|
|
50
|
+
<Block width="93%" />
|
|
51
|
+
<Block width="81%" />
|
|
52
|
+
</div>
|
|
53
|
+
|
|
54
|
+
<div className={styles.heading}>
|
|
55
|
+
<Block width="42%" height="1.5rem" />
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
<div className={styles.paraGroup}>
|
|
59
|
+
<Block width="100%" />
|
|
60
|
+
<Block width="97%" />
|
|
61
|
+
<Block width="89%" />
|
|
62
|
+
<Block width="64%" />
|
|
63
|
+
</div>
|
|
64
|
+
|
|
65
|
+
<div className={styles.paraGroup}>
|
|
66
|
+
<Block width="100%" />
|
|
67
|
+
<Block width="76%" />
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
);
|
|
75
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
.toc {
|
|
2
|
+
/* positioning handled by .tocAside in Content.module.css */
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.heading {
|
|
6
|
+
margin: 0 0 16px;
|
|
7
|
+
font-size: 14px;
|
|
8
|
+
font-weight: 600;
|
|
9
|
+
color: var(--color-fg);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.list {
|
|
13
|
+
list-style: none;
|
|
14
|
+
padding: 0;
|
|
15
|
+
margin: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.item {
|
|
19
|
+
margin: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* Base link — H2 level (no extra indent) */
|
|
23
|
+
.link {
|
|
24
|
+
display: block;
|
|
25
|
+
padding: 0.25rem 0;
|
|
26
|
+
padding-left: 12px;
|
|
27
|
+
color: var(--color-fg-muted);
|
|
28
|
+
text-decoration: none;
|
|
29
|
+
font-size: 14px;
|
|
30
|
+
font-weight: 400;
|
|
31
|
+
line-height: 1.5;
|
|
32
|
+
border-left: 2px solid transparent;
|
|
33
|
+
transition: color 200ms ease;
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
width: 100%;
|
|
36
|
+
text-align: left;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Indentation by heading level */
|
|
40
|
+
.link[data-level="3"] { padding-left: 28px; }
|
|
41
|
+
.link[data-level="4"] { padding-left: 36px; }
|
|
42
|
+
.link[data-level="5"] { padding-left: 44px; }
|
|
43
|
+
.link[data-level="6"] { padding-left: 52px; }
|
|
44
|
+
|
|
45
|
+
.link:hover {
|
|
46
|
+
color: var(--accent-emphasis);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.link:focus-visible {
|
|
50
|
+
outline: 2px solid var(--accent-emphasis);
|
|
51
|
+
outline-offset: 2px;
|
|
52
|
+
border-radius: 2px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.link.active {
|
|
56
|
+
color: var(--accent-emphasis);
|
|
57
|
+
font-weight: 500;
|
|
58
|
+
border-left-color: var(--accent-emphasis);
|
|
59
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import React, { useEffect, useRef, useState } from 'react';
|
|
2
|
+
import type { TocEntry } from '../../types/content.js';
|
|
3
|
+
import styles from './Toc.module.css';
|
|
4
|
+
|
|
5
|
+
interface TocProps {
|
|
6
|
+
items: TocEntry[];
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export function Toc({ items }: TocProps) {
|
|
10
|
+
const [activeId, setActiveId] = useState<string | null>(null);
|
|
11
|
+
const observerRef = useRef<IntersectionObserver | null>(null);
|
|
12
|
+
|
|
13
|
+
useEffect(() => {
|
|
14
|
+
if (items.length === 0) return;
|
|
15
|
+
|
|
16
|
+
observerRef.current?.disconnect();
|
|
17
|
+
|
|
18
|
+
const headingIds = items.map((item) => item.id);
|
|
19
|
+
const headerHeight = document.querySelector('header')?.offsetHeight ?? 64;
|
|
20
|
+
|
|
21
|
+
observerRef.current = new IntersectionObserver(
|
|
22
|
+
(entries) => {
|
|
23
|
+
for (const entry of entries) {
|
|
24
|
+
if (entry.isIntersecting) {
|
|
25
|
+
setActiveId(entry.target.id);
|
|
26
|
+
break;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
rootMargin: `-${headerHeight + 16}px 0px -80% 0px`,
|
|
32
|
+
threshold: 0,
|
|
33
|
+
},
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
for (const id of headingIds) {
|
|
37
|
+
const el = document.getElementById(id);
|
|
38
|
+
if (el) observerRef.current.observe(el);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
return () => {
|
|
42
|
+
observerRef.current?.disconnect();
|
|
43
|
+
};
|
|
44
|
+
}, [items]);
|
|
45
|
+
|
|
46
|
+
function handleClick(e: React.MouseEvent<HTMLAnchorElement>, id: string) {
|
|
47
|
+
e.preventDefault();
|
|
48
|
+
const el = document.getElementById(id);
|
|
49
|
+
if (!el) return;
|
|
50
|
+
// scroll-margin-top on headings (Content.module.css) accounts for the sticky
|
|
51
|
+
// header height via --header-total, so scrollIntoView gives the correct offset.
|
|
52
|
+
el.scrollIntoView({ behavior: 'smooth', block: 'start' });
|
|
53
|
+
history.pushState(null, '', `#${id}`);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
if (items.length === 0) return null;
|
|
57
|
+
|
|
58
|
+
return (
|
|
59
|
+
<nav className={styles.toc} aria-label="On this page">
|
|
60
|
+
<p className={styles.heading}>On this page</p>
|
|
61
|
+
<ul className={styles.list}>
|
|
62
|
+
{items.map((entry) => (
|
|
63
|
+
<li key={entry.id} className={styles.item}>
|
|
64
|
+
<a
|
|
65
|
+
href={`#${entry.id}`}
|
|
66
|
+
data-level={entry.level}
|
|
67
|
+
className={`${styles.link} ${activeId === entry.id ? styles.active : ''}`}
|
|
68
|
+
onClick={(e) => handleClick(e, entry.id)}
|
|
69
|
+
>
|
|
70
|
+
{entry.title}
|
|
71
|
+
</a>
|
|
72
|
+
</li>
|
|
73
|
+
))}
|
|
74
|
+
</ul>
|
|
75
|
+
</nav>
|
|
76
|
+
);
|
|
77
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "TypeScript config for the browser-facing React app. Separate from the root tsconfig because the app ships as source (Vite compiles it at the user's dev/build time) rather than being emitted into dist/. This config exists purely for IDE type-checking and emits nothing. Located inside src/app/ so the TS language server auto-discovers it as the nearest tsconfig for every app file.",
|
|
3
|
+
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"target": "ES2022",
|
|
6
|
+
"module": "ESNext",
|
|
7
|
+
"moduleResolution": "Bundler",
|
|
8
|
+
"jsx": "react-jsx",
|
|
9
|
+
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
10
|
+
"strict": true,
|
|
11
|
+
"esModuleInterop": true,
|
|
12
|
+
"skipLibCheck": true,
|
|
13
|
+
"noEmit": true,
|
|
14
|
+
"isolatedModules": true,
|
|
15
|
+
"types": []
|
|
16
|
+
},
|
|
17
|
+
"include": ["**/*", "../types/**/*"]
|
|
18
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// Type declarations for the virtual modules exposed by mordoc's Vite plugin.
|
|
2
|
+
// These files don't exist on disk — the plugin generates their contents at
|
|
3
|
+
// import time. These declarations let the client code import them with full
|
|
4
|
+
// type safety despite the "virtual:" prefix.
|
|
5
|
+
//
|
|
6
|
+
// Kept in sync with EAGER_VIRTUAL_IDS in src/vite/plugin.ts.
|
|
7
|
+
//
|
|
8
|
+
// Uses inline `import()` type expressions rather than top-level `import type`
|
|
9
|
+
// statements, because:
|
|
10
|
+
// 1. TS forbids relative imports inside `declare module 'x' { ... }` blocks.
|
|
11
|
+
// 2. Hoisting imports to file scope would make this file a module, and
|
|
12
|
+
// module-scope `declare module` declarations only register globally if
|
|
13
|
+
// the containing file is imported elsewhere. Staying fully ambient (no
|
|
14
|
+
// top-level imports) keeps the declarations globally available to every
|
|
15
|
+
// file in the project without ceremony.
|
|
16
|
+
|
|
17
|
+
declare module 'virtual:mordoc/site' {
|
|
18
|
+
const value: import('../types/site.js').SiteConfig;
|
|
19
|
+
export default value;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
declare module 'virtual:mordoc/language' {
|
|
23
|
+
const value: import('../types/language.js').LanguageConfig | null;
|
|
24
|
+
export default value;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare module 'virtual:mordoc/navigation' {
|
|
28
|
+
const value: import('../types/pipeline.js').NavigationConfig;
|
|
29
|
+
export default value;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
declare module 'virtual:mordoc/assets' {
|
|
33
|
+
const value: import('../types/assets.js').ResolvedAssets;
|
|
34
|
+
export default value;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare module 'virtual:mordoc/pages-index' {
|
|
38
|
+
const value: import('../types/content.js').PageMeta[];
|
|
39
|
+
export default value;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
declare module 'virtual:mordoc/page-loaders' {
|
|
43
|
+
// A record keyed by routePath, each value a function that dynamically
|
|
44
|
+
// imports the matching lazy page module. The plugin emits a literal
|
|
45
|
+
// `import()` expression per route so Vite can statically code-split.
|
|
46
|
+
const value: Record<
|
|
47
|
+
string,
|
|
48
|
+
() => Promise<{ default: import('../types/content.js').PageData }>
|
|
49
|
+
>;
|
|
50
|
+
export default value;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
declare module 'virtual:mordoc/translations' {
|
|
54
|
+
// Outer key: language code (e.g. "de"). Inner key: default (English) label.
|
|
55
|
+
// Value: translated label. Empty for single-language projects.
|
|
56
|
+
const value: Record<string, Record<string, string>>;
|
|
57
|
+
export default value;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// CSS-only side-effect import; resolves to config/theme.css when present.
|
|
61
|
+
declare module 'virtual:mordoc/theme' {}
|
|
62
|
+
|
|
63
|
+
// Wildcard declaration for per-route lazy page modules.
|
|
64
|
+
//
|
|
65
|
+
// Every specifier of the form `virtual:mordoc/page/<routePath>` resolves
|
|
66
|
+
// to a module whose default export is the page's full `PageData` payload.
|
|
67
|
+
// TypeScript accepts any path after the prefix here; the plugin throws at
|
|
68
|
+
// runtime if the routePath doesn't exist. In practice, specifiers are
|
|
69
|
+
// only ever produced by the static `page-loaders` map, which enumerates
|
|
70
|
+
// known routes, so invalid specifiers shouldn't occur.
|
|
71
|
+
declare module 'virtual:mordoc/page/*' {
|
|
72
|
+
const value: import('../types/content.js').PageData;
|
|
73
|
+
export default value;
|
|
74
|
+
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
|
|
2
|
-
|
|
3
|
-
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
-
This license is copied below, and is also available with a FAQ at:
|
|
5
|
-
https://openfontlicense.org
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
-----------------------------------------------------------
|
|
9
|
-
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
-
-----------------------------------------------------------
|
|
11
|
-
|
|
12
|
-
PREAMBLE
|
|
13
|
-
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
-
development of collaborative font projects, to support the font creation
|
|
15
|
-
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
-
open framework in which fonts may be shared and improved in partnership
|
|
17
|
-
with others.
|
|
18
|
-
|
|
19
|
-
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
-
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
-
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
-
redistributed and/or sold with any software provided that any reserved
|
|
23
|
-
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
-
however, cannot be released under any other type of license. The
|
|
25
|
-
requirement for fonts to remain under this license does not apply
|
|
26
|
-
to any document created using the fonts or their derivatives.
|
|
27
|
-
|
|
28
|
-
DEFINITIONS
|
|
29
|
-
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
-
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
-
include source files, build scripts and documentation.
|
|
32
|
-
|
|
33
|
-
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
-
copyright statement(s).
|
|
35
|
-
|
|
36
|
-
"Original Version" refers to the collection of Font Software components as
|
|
37
|
-
distributed by the Copyright Holder(s).
|
|
38
|
-
|
|
39
|
-
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
-
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
-
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
-
new environment.
|
|
43
|
-
|
|
44
|
-
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
-
writer or other person who contributed to the Font Software.
|
|
46
|
-
|
|
47
|
-
PERMISSION & CONDITIONS
|
|
48
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
-
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
-
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
-
Software, subject to the following conditions:
|
|
52
|
-
|
|
53
|
-
1) Neither the Font Software nor any of its individual components,
|
|
54
|
-
in Original or Modified Versions, may be sold by itself.
|
|
55
|
-
|
|
56
|
-
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
-
redistributed and/or sold with any software, provided that each copy
|
|
58
|
-
contains the above copyright notice and this license. These can be
|
|
59
|
-
included either as stand-alone text files, human-readable headers or
|
|
60
|
-
in the appropriate machine-readable metadata fields within text or
|
|
61
|
-
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
-
|
|
63
|
-
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
-
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
-
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
-
presented to the users.
|
|
67
|
-
|
|
68
|
-
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
-
Software shall not be used to promote, endorse or advertise any
|
|
70
|
-
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
-
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
-
permission.
|
|
73
|
-
|
|
74
|
-
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
-
must be distributed entirely under this license, and must not be
|
|
76
|
-
distributed under any other license. The requirement for fonts to
|
|
77
|
-
remain under this license does not apply to any document created
|
|
78
|
-
using the Font Software.
|
|
79
|
-
|
|
80
|
-
TERMINATION
|
|
81
|
-
This license becomes null and void if any of the above conditions are
|
|
82
|
-
not met.
|
|
83
|
-
|
|
84
|
-
DISCLAIMER
|
|
85
|
-
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
-
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
-
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
-
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
-
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
-
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
-
OTHER DEALINGS IN THE FONT SOFTWARE.
|
package/dist/build/Builder.d.ts
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Builder - Main build orchestrator for Mordoc
|
|
3
|
-
* Coordinates the entire static site generation process
|
|
4
|
-
*/
|
|
5
|
-
export interface BuilderOptions {
|
|
6
|
-
projectRoot: string;
|
|
7
|
-
outputDir?: string;
|
|
8
|
-
clean?: boolean;
|
|
9
|
-
includeDrafts?: boolean;
|
|
10
|
-
verbose?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare class Builder {
|
|
13
|
-
private projectRoot;
|
|
14
|
-
private outputDir;
|
|
15
|
-
private contentDir;
|
|
16
|
-
private configDir;
|
|
17
|
-
private publicDir;
|
|
18
|
-
private clean;
|
|
19
|
-
private includeDrafts;
|
|
20
|
-
private verbose;
|
|
21
|
-
constructor(options: BuilderOptions);
|
|
22
|
-
/**
|
|
23
|
-
* Execute the complete build process
|
|
24
|
-
*/
|
|
25
|
-
build(): Promise<void>;
|
|
26
|
-
/**
|
|
27
|
-
* Load site configuration
|
|
28
|
-
*/
|
|
29
|
-
private loadConfig;
|
|
30
|
-
/**
|
|
31
|
-
* Load and process all content files
|
|
32
|
-
*/
|
|
33
|
-
private loadAndProcessContent;
|
|
34
|
-
/**
|
|
35
|
-
* Generate static HTML pages for all content
|
|
36
|
-
*/
|
|
37
|
-
private generateHtmlPages;
|
|
38
|
-
/**
|
|
39
|
-
* Write HTML file for a content page
|
|
40
|
-
*/
|
|
41
|
-
private writeHtmlFile;
|
|
42
|
-
/**
|
|
43
|
-
* Generate JSON data files for SPA navigation
|
|
44
|
-
*/
|
|
45
|
-
private generateContentDataFiles;
|
|
46
|
-
/**
|
|
47
|
-
* Generate theme CSS and component styles
|
|
48
|
-
*/
|
|
49
|
-
private generateThemeCSS;
|
|
50
|
-
/**
|
|
51
|
-
* Bundle client React application
|
|
52
|
-
*/
|
|
53
|
-
private bundleClientApp;
|
|
54
|
-
/**
|
|
55
|
-
* Copy static assets (logo, favicon, public/ folder, and MORDOC fonts)
|
|
56
|
-
*/
|
|
57
|
-
private copyStaticAssets;
|
|
58
|
-
/**
|
|
59
|
-
* Copy MORDOC's built-in assets (fonts, etc.)
|
|
60
|
-
* Uses pre-copied assets from dist/ in installed package
|
|
61
|
-
*/
|
|
62
|
-
private copyMordocAssets;
|
|
63
|
-
/**
|
|
64
|
-
* Generate client configuration JSON
|
|
65
|
-
*/
|
|
66
|
-
private generateClientConfig;
|
|
67
|
-
/**
|
|
68
|
-
* Generate search index using Pagefind
|
|
69
|
-
*/
|
|
70
|
-
private generateSearchIndex;
|
|
71
|
-
/**
|
|
72
|
-
* Clean output directory
|
|
73
|
-
*/
|
|
74
|
-
private cleanOutputDir;
|
|
75
|
-
/**
|
|
76
|
-
* Ensure output directory exists
|
|
77
|
-
*/
|
|
78
|
-
private ensureOutputDir;
|
|
79
|
-
/**
|
|
80
|
-
* Copy directory recursively
|
|
81
|
-
*/
|
|
82
|
-
private copyDirectory;
|
|
83
|
-
/**
|
|
84
|
-
* Log message if verbose mode is enabled
|
|
85
|
-
*/
|
|
86
|
-
private log;
|
|
87
|
-
/**
|
|
88
|
-
* Print build statistics
|
|
89
|
-
*/
|
|
90
|
-
private printBuildStats;
|
|
91
|
-
}
|
|
92
|
-
//# sourceMappingURL=Builder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Builder.d.ts","sourceRoot":"","sources":["../../src/build/Builder.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAiBH,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,qBAAa,OAAO;IAClB,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,KAAK,CAAU;IACvB,OAAO,CAAC,aAAa,CAAU;IAC/B,OAAO,CAAC,OAAO,CAAU;gBAEb,OAAO,EAAE,cAAc;IAWnC;;OAEG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IA2D5B;;OAEG;YACW,UAAU;IAKxB;;OAEG;YACW,qBAAqB;IAkBnC;;OAEG;YACW,iBAAiB;IAsB/B;;OAEG;IACH,OAAO,CAAC,aAAa;IAyBrB;;OAEG;IACH,OAAO,CAAC,wBAAwB;IAyDhC;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAkBxB;;OAEG;YACW,eAAe;IAc7B;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAwCxB;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IAqBxB;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAc5B;;OAEG;YACW,mBAAmB;IAmBjC;;OAEG;IACH,OAAO,CAAC,cAAc;IAMtB;;OAEG;IACH,OAAO,CAAC,eAAe;IAMvB;;OAEG;IACH,OAAO,CAAC,aAAa;IAgBrB;;OAEG;IACH,OAAO,CAAC,GAAG;IAOX;;OAEG;IACH,OAAO,CAAC,eAAe;CAmBxB"}
|