@diplodoc/cli 5.46.1 → 5.47.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/build/index.js +3 -3
- package/build/index.mjs +3 -3
- package/package.json +24 -8
- package/tests/.eslintrc.js +9 -0
- package/tests/e2e/__snapshots__/alternates.test.ts.snap +1199 -0
- package/tests/e2e/__snapshots__/assets.spec.ts.snap +0 -0
- package/tests/e2e/__snapshots__/build-content-map.spec.ts.snap +329 -0
- package/tests/e2e/__snapshots__/bundles.spec.ts.snap +172 -0
- package/tests/e2e/__snapshots__/cleanup-empty-dirs.spec.ts.snap +65 -0
- package/tests/e2e/__snapshots__/crawler-manifest.spec.ts.snap +28 -0
- package/tests/e2e/__snapshots__/files.spec.ts.snap +164 -0
- package/tests/e2e/__snapshots__/files.test.ts.snap +146 -0
- package/tests/e2e/__snapshots__/generate-map.spec.ts.snap +408 -0
- package/tests/e2e/__snapshots__/include-toc.test.ts.snap +797 -0
- package/tests/e2e/__snapshots__/include-with-meta.test.ts.snap +67 -0
- package/tests/e2e/__snapshots__/includes-conditions.test.ts.snap +78 -0
- package/tests/e2e/__snapshots__/includes.test.ts.snap +780 -0
- package/tests/e2e/__snapshots__/init.test.ts.snap +283 -0
- package/tests/e2e/__snapshots__/llms.spec.ts.snap +257 -0
- package/tests/e2e/__snapshots__/load-custom-resources.spec.ts.snap +362 -0
- package/tests/e2e/__snapshots__/markdown-options.spec.ts.snap +209 -0
- package/tests/e2e/__snapshots__/merge-includes.spec.ts.snap +1058 -0
- package/tests/e2e/__snapshots__/metadata.spec.ts.snap +200 -0
- package/tests/e2e/__snapshots__/neuro-expert.test.ts.snap +625 -0
- package/tests/e2e/__snapshots__/pdf-page.spec.ts.snap +341 -0
- package/tests/e2e/__snapshots__/plugin-corner-cases.spec.ts.snap +0 -0
- package/tests/e2e/__snapshots__/preprocess.test.ts.snap +1558 -0
- package/tests/e2e/__snapshots__/regression.test.ts.snap +2033 -0
- package/tests/e2e/__snapshots__/restricted-access.test.ts.snap +244 -0
- package/tests/e2e/__snapshots__/rtl.spec.ts.snap +234 -0
- package/tests/e2e/__snapshots__/search.test.ts.snap +56 -0
- package/tests/e2e/__snapshots__/single-page.spec.ts.snap +163 -0
- package/tests/e2e/__snapshots__/skip-html-extension.spec.ts.snap +519 -0
- package/tests/e2e/__snapshots__/toc-label.test.ts.snap +127 -0
- package/tests/e2e/__snapshots__/translation.spec.ts.snap +2386 -0
- package/tests/e2e/__snapshots__/vars-conditions.spec.ts.snap +131 -0
- package/tests/e2e/alternates.test.ts +49 -0
- package/tests/e2e/assets.spec.ts +31 -0
- package/tests/e2e/autotitles.spec.ts +37 -0
- package/tests/e2e/build-content-map.spec.ts +220 -0
- package/tests/e2e/bundles.spec.ts +16 -0
- package/tests/e2e/cleanup-empty-dirs.spec.ts +59 -0
- package/tests/e2e/crawler-manifest.spec.ts +129 -0
- package/tests/e2e/disable-csp.spec.ts +55 -0
- package/tests/e2e/empty-presets.spec.ts +32 -0
- package/tests/e2e/errors.spec.ts +158 -0
- package/tests/e2e/files.spec.ts +21 -0
- package/tests/e2e/generate-map.spec.ts +47 -0
- package/tests/e2e/include-toc.test.ts +73 -0
- package/tests/e2e/include-with-meta.test.ts +20 -0
- package/tests/e2e/includes-conditions.test.ts +23 -0
- package/tests/e2e/includes.test.ts +52 -0
- package/tests/e2e/init.test.ts +105 -0
- package/tests/e2e/llms.spec.ts +24 -0
- package/tests/e2e/load-custom-resources.spec.ts +23 -0
- package/tests/e2e/markdown-options.spec.ts +17 -0
- package/tests/e2e/merge-includes.spec.ts +196 -0
- package/tests/e2e/metadata.spec.ts +79 -0
- package/tests/e2e/nested-include-links.spec.ts +26 -0
- package/tests/e2e/neuro-expert.test.ts +16 -0
- package/tests/e2e/openapi-companion.spec.ts +213 -0
- package/tests/e2e/openapi-include-size.spec.ts +55 -0
- package/tests/e2e/pdf-page.spec.ts +127 -0
- package/tests/e2e/plugin-corner-cases.spec.ts +14 -0
- package/tests/e2e/preprocess.test.ts +40 -0
- package/tests/e2e/redirects-validation.spec.ts +62 -0
- package/tests/e2e/regression.test.ts +39 -0
- package/tests/e2e/restricted-access.test.ts +19 -0
- package/tests/e2e/rtl.spec.ts +17 -0
- package/tests/e2e/search.test.ts +16 -0
- package/tests/e2e/single-page.spec.ts +23 -0
- package/tests/e2e/skip-html-extension.spec.ts +17 -0
- package/tests/e2e/themer.test.ts +307 -0
- package/tests/e2e/toc-label.test.ts +23 -0
- package/tests/e2e/translation.spec.ts +221 -0
- package/tests/e2e/vars-conditions.spec.ts +16 -0
- package/tests/e2e/vars-ignore.test.ts +168 -0
- package/tests/fixtures/cli.ts +103 -0
- package/tests/fixtures/file.ts +148 -0
- package/tests/fixtures/globals.d.ts +4 -0
- package/tests/fixtures/index.ts +4 -0
- package/tests/fixtures/runner.ts +49 -0
- package/tests/fixtures/test.ts +210 -0
- package/tests/mocks/alternates/input/.yfm +1 -0
- package/tests/mocks/alternates/input/az/about.md +3 -0
- package/tests/mocks/alternates/input/az/deep/test.md +3 -0
- package/tests/mocks/alternates/input/az/index.yaml +3 -0
- package/tests/mocks/alternates/input/az/toc.yaml +6 -0
- package/tests/mocks/alternates/input/en/about.md +3 -0
- package/tests/mocks/alternates/input/en/deep/test.md +3 -0
- package/tests/mocks/alternates/input/en/index.yaml +3 -0
- package/tests/mocks/alternates/input/en/toc.yaml +6 -0
- package/tests/mocks/alternates/input/ru/about.md +8 -0
- package/tests/mocks/alternates/input/ru/deep/test.md +3 -0
- package/tests/mocks/alternates/input/ru/index.yaml +3 -0
- package/tests/mocks/alternates/input/ru/toc.yaml +6 -0
- package/tests/mocks/assets/input/.yfm +1 -0
- package/tests/mocks/assets/input/_images/camera.svg +1 -0
- package/tests/mocks/assets/input/_images/icons/bulb.svg +1 -0
- package/tests/mocks/assets/input/_images/mountain.jpg +0 -0
- package/tests/mocks/assets/input/_images/versions.png +0 -0
- package/tests/mocks/assets/input/index.md +18 -0
- package/tests/mocks/assets/input/page.yaml +7 -0
- package/tests/mocks/assets/input/toc.yaml +7 -0
- package/tests/mocks/autotitles/input/docs/index.md +3 -0
- package/tests/mocks/autotitles/input/docs/target.md +3 -0
- package/tests/mocks/autotitles/input/toc.yaml +5 -0
- package/tests/mocks/build-content-map/autotitle-chain/input/.yfm +0 -0
- package/tests/mocks/build-content-map/autotitle-chain/input/a.md +3 -0
- package/tests/mocks/build-content-map/autotitle-chain/input/b.md +3 -0
- package/tests/mocks/build-content-map/autotitle-chain/input/c.md +3 -0
- package/tests/mocks/build-content-map/autotitle-chain/input/toc.yaml +9 -0
- package/tests/mocks/build-content-map/autotitle-target-with-include/input/.yfm +0 -0
- package/tests/mocks/build-content-map/autotitle-target-with-include/input/_includes/snippet.md +3 -0
- package/tests/mocks/build-content-map/autotitle-target-with-include/input/a.md +3 -0
- package/tests/mocks/build-content-map/autotitle-target-with-include/input/b.md +3 -0
- package/tests/mocks/build-content-map/autotitle-target-with-include/input/toc.yaml +7 -0
- package/tests/mocks/build-content-map/diamond-includes/input/.yfm +0 -0
- package/tests/mocks/build-content-map/diamond-includes/input/_includes/branch-a.md +5 -0
- package/tests/mocks/build-content-map/diamond-includes/input/_includes/branch-b.md +5 -0
- package/tests/mocks/build-content-map/diamond-includes/input/_includes/shared.md +3 -0
- package/tests/mocks/build-content-map/diamond-includes/input/index.md +7 -0
- package/tests/mocks/build-content-map/diamond-includes/input/toc.yaml +5 -0
- package/tests/mocks/build-content-map/nested-includes/input/.yfm +0 -0
- package/tests/mocks/build-content-map/nested-includes/input/_includes/level1.md +5 -0
- package/tests/mocks/build-content-map/nested-includes/input/_includes/level2.md +3 -0
- package/tests/mocks/build-content-map/nested-includes/input/index.md +5 -0
- package/tests/mocks/build-content-map/nested-includes/input/toc.yaml +5 -0
- package/tests/mocks/build-content-map/with-autotitles/input/.yfm +0 -0
- package/tests/mocks/build-content-map/with-autotitles/input/index.md +3 -0
- package/tests/mocks/build-content-map/with-autotitles/input/other.md +3 -0
- package/tests/mocks/build-content-map/with-autotitles/input/toc.yaml +7 -0
- package/tests/mocks/build-content-map/with-includes/input/.yfm +0 -0
- package/tests/mocks/build-content-map/with-includes/input/_includes/snippet.md +1 -0
- package/tests/mocks/build-content-map/with-includes/input/index.md +5 -0
- package/tests/mocks/build-content-map/with-includes/input/logo.svg +1 -0
- package/tests/mocks/build-content-map/with-includes/input/toc.yaml +5 -0
- package/tests/mocks/bundles/input/.yfm +13 -0
- package/tests/mocks/bundles/input/index.md +12 -0
- package/tests/mocks/bundles/input/page1.md +3 -0
- package/tests/mocks/bundles/input/page2.md +5 -0
- package/tests/mocks/bundles/input/toc.yaml +9 -0
- package/tests/mocks/cleanup-empty-dirs/input/.yfm +2 -0
- package/tests/mocks/cleanup-empty-dirs/input/active/page.md +5 -0
- package/tests/mocks/cleanup-empty-dirs/input/active/presets.yaml +2 -0
- package/tests/mocks/cleanup-empty-dirs/input/active/toc.yaml +4 -0
- package/tests/mocks/cleanup-empty-dirs/input/empty-section/page.md +5 -0
- package/tests/mocks/cleanup-empty-dirs/input/empty-section/presets.yaml +2 -0
- package/tests/mocks/cleanup-empty-dirs/input/empty-section/toc.yaml +5 -0
- package/tests/mocks/cleanup-empty-dirs/input/index.md +5 -0
- package/tests/mocks/cleanup-empty-dirs/input/presets.yaml +2 -0
- package/tests/mocks/cleanup-empty-dirs/input/toc.yaml +5 -0
- package/tests/mocks/crawler-manifest/config/input/.yfm +1 -0
- package/tests/mocks/crawler-manifest/config/input/index.md +3 -0
- package/tests/mocks/crawler-manifest/config/input/toc.yaml +4 -0
- package/tests/mocks/crawler-manifest/exclude/input/.yfm +9 -0
- package/tests/mocks/crawler-manifest/exclude/input/index.md +5 -0
- package/tests/mocks/crawler-manifest/exclude/input/toc.yaml +4 -0
- package/tests/mocks/crawler-manifest/no-links/input/index.md +5 -0
- package/tests/mocks/crawler-manifest/no-links/input/toc.yaml +4 -0
- package/tests/mocks/crawler-manifest/notifications-docs-viewer/input/.yfm +8 -0
- package/tests/mocks/crawler-manifest/notifications-docs-viewer/input/index.md +3 -0
- package/tests/mocks/crawler-manifest/notifications-docs-viewer/input/toc.yaml +4 -0
- package/tests/mocks/crawler-manifest/notifications-no-receivers/input/.yfm +5 -0
- package/tests/mocks/crawler-manifest/notifications-no-receivers/input/index.md +3 -0
- package/tests/mocks/crawler-manifest/notifications-no-receivers/input/toc.yaml +4 -0
- package/tests/mocks/crawler-manifest/notifications-root/input/.yfm +11 -0
- package/tests/mocks/crawler-manifest/notifications-root/input/index.md +3 -0
- package/tests/mocks/crawler-manifest/notifications-root/input/toc.yaml +4 -0
- package/tests/mocks/crawler-manifest/with-links/input/redirects.yaml +5 -0
- package/tests/mocks/crawler-manifest/with-links/input/ru/_includes/snippet.md +1 -0
- package/tests/mocks/crawler-manifest/with-links/input/ru/index.md +35 -0
- package/tests/mocks/crawler-manifest/with-links/input/ru/leading.yaml +5 -0
- package/tests/mocks/crawler-manifest/with-links/input/ru/no-links.md +3 -0
- package/tests/mocks/crawler-manifest/with-links/input/ru/references.md +5 -0
- package/tests/mocks/crawler-manifest/with-links/input/toc.yaml +12 -0
- package/tests/mocks/disable-csp/input/.yfm +8 -0
- package/tests/mocks/disable-csp/input/en/index.md +3 -0
- package/tests/mocks/disable-csp/input/en/page.md +3 -0
- package/tests/mocks/disable-csp/input/en/toc.yaml +5 -0
- package/tests/mocks/docs-viewer-interface/input/.yfm +6 -0
- package/tests/mocks/docs-viewer-interface/input/index.md +3 -0
- package/tests/mocks/docs-viewer-interface/input/toc.yaml +5 -0
- package/tests/mocks/empty-presets/input/.yfm +1 -0
- package/tests/mocks/empty-presets/input/index.md +3 -0
- package/tests/mocks/empty-presets/input/presets.yaml +3 -0
- package/tests/mocks/empty-presets/input/subfolder/presets.yaml +3 -0
- package/tests/mocks/empty-presets/input/subfolder/subpage.md +3 -0
- package/tests/mocks/empty-presets/input/subfolder/toc.yaml +4 -0
- package/tests/mocks/empty-presets/input/toc.yaml +4 -0
- package/tests/mocks/errors/extract-filtered-link/input/filtered.md +1 -0
- package/tests/mocks/errors/extract-filtered-link/input/filtered2.md +0 -0
- package/tests/mocks/errors/extract-filtered-link/input/index.md +7 -0
- package/tests/mocks/errors/extract-filtered-link/input/toc.yaml +1 -0
- package/tests/mocks/errors/invalid-frontmatter/input/index.md +9 -0
- package/tests/mocks/errors/invalid-frontmatter/input/toc.yaml +1 -0
- package/tests/mocks/errors/invalid-toc-entry-href/input/.yfm +1 -0
- package/tests/mocks/errors/invalid-toc-entry-href/input/ru/toc.yaml +3 -0
- package/tests/mocks/errors/invalid-toc-root-array/input/.yfm +1 -0
- package/tests/mocks/errors/invalid-toc-root-array/input/ru/toc.yaml +2 -0
- package/tests/mocks/errors/max-asset-size/input/_images/large-image.png +0 -0
- package/tests/mocks/errors/max-asset-size/input/index.md +5 -0
- package/tests/mocks/errors/max-asset-size/input/toc.yaml +1 -0
- package/tests/mocks/errors/object-validation/input/index.md +3 -0
- package/tests/mocks/errors/object-validation/input/toc.yaml +14 -0
- package/tests/mocks/errors/unreachable-link/input/exists.md +1 -0
- package/tests/mocks/errors/unreachable-link/input/index.md +2 -0
- package/tests/mocks/errors/unreachable-link/input/toc.yaml +1 -0
- package/tests/mocks/errors/unreachable-link-in-include/input/_includes/chapter.md +1 -0
- package/tests/mocks/errors/unreachable-link-in-include/input/index.md +5 -0
- package/tests/mocks/errors/unreachable-link-in-include/input/toc.yaml +1 -0
- package/tests/mocks/errors/unreachable-link-in-nested-include/input/_includes/chapter.md +3 -0
- package/tests/mocks/errors/unreachable-link-in-nested-include/input/_includes/details.md +1 -0
- package/tests/mocks/errors/unreachable-link-in-nested-include/input/index.md +3 -0
- package/tests/mocks/errors/unreachable-link-in-nested-include/input/toc.yaml +1 -0
- package/tests/mocks/errors/valid-link-in-include/input/_includes/content.md +1 -0
- package/tests/mocks/errors/valid-link-in-include/input/index.md +3 -0
- package/tests/mocks/errors/valid-link-in-include/input/page.md +3 -0
- package/tests/mocks/errors/valid-link-in-include/input/toc.yaml +4 -0
- package/tests/mocks/fileContent/metadata/authorAliasInMetadata.md +7 -0
- package/tests/mocks/fileContent/metadata/fullAuthorInMetadata.md +10 -0
- package/tests/mocks/fileContent/metadata/includesContent/firstIncludeFile.md +7 -0
- package/tests/mocks/fileContent/metadata/includesContent/secondIncludeFile.md +5 -0
- package/tests/mocks/fileContent/metadata/includesContent/withIncludes.md +7 -0
- package/tests/mocks/fileContent/metadata/keywordsInMetadata.md +9 -0
- package/tests/mocks/fileContent/metadata/simpleMetadata.md +6 -0
- package/tests/mocks/fileContent/metadata/substitutionsInMetadataPropertyKeys.md +7 -0
- package/tests/mocks/fileContent/metadata/substitutionsInMetadataPropertyValues.md +11 -0
- package/tests/mocks/fileContent/metadata/substitutionsWithEmptyString.md +7 -0
- package/tests/mocks/fileContent/metadata/variableInMetadata.md +7 -0
- package/tests/mocks/fileContent/metadata/withAdditionalSeparatorsInContent.md +9 -0
- package/tests/mocks/fileContent/metadata/withoutMetadata.md +2 -0
- package/tests/mocks/fileContent/metadata/withoutMetadataWithAdditionalSeparatorsInContent.md +6 -0
- package/tests/mocks/files/input/_assets/test.csv +0 -0
- package/tests/mocks/files/input/_assets/test.docx +0 -0
- package/tests/mocks/files/input/_assets/test.pdf +0 -0
- package/tests/mocks/files/input/_assets/test.pptx +0 -0
- package/tests/mocks/files/input/_assets/test.txt +0 -0
- package/tests/mocks/files/input/_assets/test.xlsx +0 -0
- package/tests/mocks/files/input/_assets/test.yaml +50 -0
- package/tests/mocks/files/input/index.md +17 -0
- package/tests/mocks/files/input/pc-index.yaml +70 -0
- package/tests/mocks/files/input/toc.yaml +6 -0
- package/tests/mocks/generate-map/test1/input/.yfm +0 -0
- package/tests/mocks/generate-map/test1/input/ru/_includes/file.md +0 -0
- package/tests/mocks/generate-map/test1/input/ru/_includes/plugins.md +0 -0
- package/tests/mocks/generate-map/test1/input/ru/folder1/a1.md +1 -0
- package/tests/mocks/generate-map/test1/input/ru/folder1/folder2/a1.md +1 -0
- package/tests/mocks/generate-map/test1/input/ru/folder1/folder2/toc.yaml +5 -0
- package/tests/mocks/generate-map/test1/input/ru/folder1/toc.yaml +7 -0
- package/tests/mocks/generate-map/test1/input/ru/index.md +0 -0
- package/tests/mocks/generate-map/test1/input/ru/plugins/import.md +0 -0
- package/tests/mocks/generate-map/test1/input/ru/plugins/index.md +0 -0
- package/tests/mocks/generate-map/test1/input/ru/project/config.md +0 -0
- package/tests/mocks/generate-map/test1/input/ru/project/index.md +0 -0
- package/tests/mocks/generate-map/test1/input/ru/settings.md +0 -0
- package/tests/mocks/generate-map/test1/input/ru/toc.yaml +22 -0
- package/tests/mocks/generate-map/test2/input/en/_includes/file.md +0 -0
- package/tests/mocks/generate-map/test2/input/en/_includes/plugins.md +0 -0
- package/tests/mocks/generate-map/test2/input/en/index.md +0 -0
- package/tests/mocks/generate-map/test2/input/en/plugins/import.md +0 -0
- package/tests/mocks/generate-map/test2/input/en/plugins/index.md +0 -0
- package/tests/mocks/generate-map/test2/input/en/project/config.md +0 -0
- package/tests/mocks/generate-map/test2/input/en/project/index.md +0 -0
- package/tests/mocks/generate-map/test2/input/en/settings.md +0 -0
- package/tests/mocks/generate-map/test2/input/en/toc.yaml +18 -0
- package/tests/mocks/generate-map/test2/input/ru/_includes/file.md +0 -0
- package/tests/mocks/generate-map/test2/input/ru/_includes/plugins.md +0 -0
- package/tests/mocks/generate-map/test2/input/ru/index.md +0 -0
- package/tests/mocks/generate-map/test2/input/ru/plugins/import.md +0 -0
- package/tests/mocks/generate-map/test2/input/ru/plugins/index.md +0 -0
- package/tests/mocks/generate-map/test2/input/ru/project/config.md +0 -0
- package/tests/mocks/generate-map/test2/input/ru/project/index.md +0 -0
- package/tests/mocks/generate-map/test2/input/ru/settings.md +0 -0
- package/tests/mocks/generate-map/test2/input/ru/toc.yaml +18 -0
- package/tests/mocks/generate-map/test3/input/.yfm +0 -0
- package/tests/mocks/generate-map/test3/input/ru/_includes/file.md +0 -0
- package/tests/mocks/generate-map/test3/input/ru/_includes/plugins.md +0 -0
- package/tests/mocks/generate-map/test3/input/ru/folder1/a1.md +1 -0
- package/tests/mocks/generate-map/test3/input/ru/folder1/folder2/a1.md +1 -0
- package/tests/mocks/generate-map/test3/input/ru/folder1/folder2/toc.yaml +5 -0
- package/tests/mocks/generate-map/test3/input/ru/folder1/toc.yaml +7 -0
- package/tests/mocks/generate-map/test3/input/ru/index.md +0 -0
- package/tests/mocks/generate-map/test3/input/ru/plugins/import.md +0 -0
- package/tests/mocks/generate-map/test3/input/ru/plugins/index.md +0 -0
- package/tests/mocks/generate-map/test3/input/ru/project/config.md +0 -0
- package/tests/mocks/generate-map/test3/input/ru/project/index.md +0 -0
- package/tests/mocks/generate-map/test3/input/ru/settings.md +0 -0
- package/tests/mocks/generate-map/test3/input/ru/toc.yaml +22 -0
- package/tests/mocks/include-skip/test1/input/includes/missing.md +1 -0
- package/tests/mocks/include-skip/test1/input/index.md +3 -0
- package/tests/mocks/include-skip/test1/input/toc.yaml +3 -0
- package/tests/mocks/include-skip/test2/input/includes/missing.md +1 -0
- package/tests/mocks/include-skip/test2/input/includes/valid.md +4 -0
- package/tests/mocks/include-skip/test2/input/index.md +4 -0
- package/tests/mocks/include-skip/test2/input/toc.yaml +4 -0
- package/tests/mocks/include-toc/test1/input/a1.md +1 -0
- package/tests/mocks/include-toc/test1/input/folder1/a1.md +1 -0
- package/tests/mocks/include-toc/test1/input/folder1/folder2/a1.md +1 -0
- package/tests/mocks/include-toc/test1/input/folder1/folder2/toc.yaml +5 -0
- package/tests/mocks/include-toc/test1/input/folder1/toc.yaml +7 -0
- package/tests/mocks/include-toc/test1/input/toc.yaml +9 -0
- package/tests/mocks/include-toc/test10/input/test/index.md +4 -0
- package/tests/mocks/include-toc/test10/input/test/sub/index.md +1 -0
- package/tests/mocks/include-toc/test10/input/test/sub/sub/sub-3.md +1 -0
- package/tests/mocks/include-toc/test10/input/test/sub/sub-1.md +5 -0
- package/tests/mocks/include-toc/test10/input/test/sub/sub-2.md +1 -0
- package/tests/mocks/include-toc/test10/input/test/test.md +1 -0
- package/tests/mocks/include-toc/test10/input/toc.yaml +9 -0
- package/tests/mocks/include-toc/test2/input/.yfm +1 -0
- package/tests/mocks/include-toc/test2/input/file1.md +1 -0
- package/tests/mocks/include-toc/test2/input/fileX.md +1 -0
- package/tests/mocks/include-toc/test2/input/folder/fileA.md +11 -0
- package/tests/mocks/include-toc/test2/input/folder/fileB.md +9 -0
- package/tests/mocks/include-toc/test2/input/folder/folder/fileC.md +1 -0
- package/tests/mocks/include-toc/test2/input/folder/folder/toc.yaml +3 -0
- package/tests/mocks/include-toc/test2/input/folder/toc.yaml +6 -0
- package/tests/mocks/include-toc/test2/input/presets.yaml +2 -0
- package/tests/mocks/include-toc/test2/input/toc.yaml +6 -0
- package/tests/mocks/include-toc/test3/input/product1/core/_includes/inc.md +1 -0
- package/tests/mocks/include-toc/test3/input/product1/core/article1.md +3 -0
- package/tests/mocks/include-toc/test3/input/product1/core/toc_m.yaml +2 -0
- package/tests/mocks/include-toc/test3/input/product1/product/toc_p.yaml +3 -0
- package/tests/mocks/include-toc/test3/input/product1/toc.yaml +3 -0
- package/tests/mocks/include-toc/test3/input/product2/core/_includes/inc.md +1 -0
- package/tests/mocks/include-toc/test3/input/product2/core/article1.md +3 -0
- package/tests/mocks/include-toc/test3/input/product2/core/toc_m.yaml +2 -0
- package/tests/mocks/include-toc/test3/input/product2/overlay1/product/article1.md +3 -0
- package/tests/mocks/include-toc/test3/input/product2/overlay1/product/toc_p.yaml +3 -0
- package/tests/mocks/include-toc/test3/input/product2/overlay1/toc.yaml +2 -0
- package/tests/mocks/include-toc/test3/input/product2/overlay2/product/article1.md +3 -0
- package/tests/mocks/include-toc/test3/input/product2/overlay2/product/toc_p.yaml +3 -0
- package/tests/mocks/include-toc/test3/input/product2/overlay2/toc.yaml +2 -0
- package/tests/mocks/include-toc/test3/input/product2/overlay3/product/toc_p.yaml +3 -0
- package/tests/mocks/include-toc/test3/input/product2/overlay3/toc.yaml +2 -0
- package/tests/mocks/include-toc/test3/input/product2/p2.md +4 -0
- package/tests/mocks/include-toc/test3/input/product2/toc.yaml +10 -0
- package/tests/mocks/include-toc/test4/input/a1.md +1 -0
- package/tests/mocks/include-toc/test4/input/index.yaml +20 -0
- package/tests/mocks/include-toc/test4/input/toc.yaml +9 -0
- package/tests/mocks/include-toc/test5/input/core/concepts/toc_i.yaml +2 -0
- package/tests/mocks/include-toc/test5/input/core/concepts/toc_p.yaml +3 -0
- package/tests/mocks/include-toc/test5/input/core/toc_i.yaml +6 -0
- package/tests/mocks/include-toc/test5/input/core/toc_m.yaml +3 -0
- package/tests/mocks/include-toc/test5/input/core/toc_p.yaml +5 -0
- package/tests/mocks/include-toc/test5/input/overlay/toc_p.yaml +3 -0
- package/tests/mocks/include-toc/test5/input/toc.yaml +4 -0
- package/tests/mocks/include-toc/test6/input/test/index.md +4 -0
- package/tests/mocks/include-toc/test6/input/test/sub/sub/sub-3.md +1 -0
- package/tests/mocks/include-toc/test6/input/test/sub/sub-1.md +5 -0
- package/tests/mocks/include-toc/test6/input/test/sub/sub-2.md +1 -0
- package/tests/mocks/include-toc/test6/input/test/test.md +1 -0
- package/tests/mocks/include-toc/test6/input/toc.yaml +8 -0
- package/tests/mocks/include-toc/test7/input/.yfm +1 -0
- package/tests/mocks/include-toc/test7/input/ru/presets.yaml +2 -0
- package/tests/mocks/include-toc/test7/input/ru/sub/folder/index.yaml +4 -0
- package/tests/mocks/include-toc/test7/input/ru/sub/folder/toc.yaml +3 -0
- package/tests/mocks/include-toc/test7/input/ru/toc.yaml +3 -0
- package/tests/mocks/include-toc/test8/input/test/index.md +4 -0
- package/tests/mocks/include-toc/test8/input/test/sub/index.md +1 -0
- package/tests/mocks/include-toc/test8/input/test/sub/sub/sub-3.md +1 -0
- package/tests/mocks/include-toc/test8/input/test/sub/sub-1.md +5 -0
- package/tests/mocks/include-toc/test8/input/test/sub/sub-2.md +1 -0
- package/tests/mocks/include-toc/test8/input/test/test.md +1 -0
- package/tests/mocks/include-toc/test8/input/toc.yaml +9 -0
- package/tests/mocks/include-toc/test9/input/test/index.md +4 -0
- package/tests/mocks/include-toc/test9/input/test/sub/index.md +1 -0
- package/tests/mocks/include-toc/test9/input/test/sub/sub/sub-3.md +1 -0
- package/tests/mocks/include-toc/test9/input/test/sub/sub-1.md +5 -0
- package/tests/mocks/include-toc/test9/input/test/sub/sub-2.md +1 -0
- package/tests/mocks/include-toc/test9/input/test/test.md +1 -0
- package/tests/mocks/include-toc/test9/input/toc.yaml +8 -0
- package/tests/mocks/include-with-meta/input/included.md +16 -0
- package/tests/mocks/include-with-meta/input/index.md +15 -0
- package/tests/mocks/include-with-meta/input/toc.yaml +6 -0
- package/tests/mocks/includes/input/.yfm +1 -0
- package/tests/mocks/includes/input/_assets/4.png +0 -0
- package/tests/mocks/includes/input/includes/commented-include.md +5 -0
- package/tests/mocks/includes/input/includes/deep-include.md +13 -0
- package/tests/mocks/includes/input/includes/fragments.md +23 -0
- package/tests/mocks/includes/input/includes/nested-include.md +5 -0
- package/tests/mocks/includes/input/includes/no-title-include.md +19 -0
- package/tests/mocks/includes/input/includes/root-include.md +11 -0
- package/tests/mocks/includes/input/includes/user.md +5 -0
- package/tests/mocks/includes/input/index.md +69 -0
- package/tests/mocks/includes/input/level1/includes/level1-include.md +11 -0
- package/tests/mocks/includes/input/level1/level2/includes/level2-include.md +11 -0
- package/tests/mocks/includes/input/level1/level2/page2.md +29 -0
- package/tests/mocks/includes/input/level1/page1.md +29 -0
- package/tests/mocks/includes/input/presets.yaml +3 -0
- package/tests/mocks/includes/input/toc-include.md +13 -0
- package/tests/mocks/includes/input/toc.yaml +13 -0
- package/tests/mocks/includes-conditions/input/includes/first.md +5 -0
- package/tests/mocks/includes-conditions/input/includes/second.md +5 -0
- package/tests/mocks/includes-conditions/input/includes/third.md +1 -0
- package/tests/mocks/includes-conditions/input/index.md +7 -0
- package/tests/mocks/includes-conditions/input/presets.yaml +2 -0
- package/tests/mocks/includes-conditions/input/toc.yaml +3 -0
- package/tests/mocks/includes-missing/input/index.md +7 -0
- package/tests/mocks/includes-missing/input/toc.yaml +3 -0
- package/tests/mocks/llms/input/.yfm +1 -0
- package/tests/mocks/llms/input/_includes/requirements.md +4 -0
- package/tests/mocks/llms/input/api.md +9 -0
- package/tests/mocks/llms/input/beta.md +4 -0
- package/tests/mocks/llms/input/index.md +8 -0
- package/tests/mocks/llms/input/presets.yaml +2 -0
- package/tests/mocks/llms/input/start.md +9 -0
- package/tests/mocks/llms/input/toc.yaml +11 -0
- package/tests/mocks/load-custom-resources/md2html-with-resources/input/.yfm +5 -0
- package/tests/mocks/load-custom-resources/md2html-with-resources/input/_assets/script/test1.js +0 -0
- package/tests/mocks/load-custom-resources/md2html-with-resources/input/_assets/style/test.css +13 -0
- package/tests/mocks/load-custom-resources/md2html-with-resources/input/index.yaml +9 -0
- package/tests/mocks/load-custom-resources/md2html-with-resources/input/page.md +14 -0
- package/tests/mocks/load-custom-resources/md2html-with-resources/input/project/config.md +1 -0
- package/tests/mocks/load-custom-resources/md2html-with-resources/input/toc.yaml +7 -0
- package/tests/mocks/load-custom-resources/md2md-with-resources/input/.yfm +5 -0
- package/tests/mocks/load-custom-resources/md2md-with-resources/input/_assets/script/test1.js +0 -0
- package/tests/mocks/load-custom-resources/md2md-with-resources/input/_assets/style/test.css +13 -0
- package/tests/mocks/load-custom-resources/md2md-with-resources/input/index.yaml +9 -0
- package/tests/mocks/load-custom-resources/md2md-with-resources/input/page.md +14 -0
- package/tests/mocks/load-custom-resources/md2md-with-resources/input/project/config.md +1 -0
- package/tests/mocks/load-custom-resources/md2md-with-resources/input/toc.yaml +7 -0
- package/tests/mocks/load-custom-resources/single-page-with-resources/input/.yfm +5 -0
- package/tests/mocks/load-custom-resources/single-page-with-resources/input/_assets/script/test1.js +0 -0
- package/tests/mocks/load-custom-resources/single-page-with-resources/input/_assets/style/test.css +13 -0
- package/tests/mocks/load-custom-resources/single-page-with-resources/input/index.yaml +9 -0
- package/tests/mocks/load-custom-resources/single-page-with-resources/input/page.md +14 -0
- package/tests/mocks/load-custom-resources/single-page-with-resources/input/project/config.md +1 -0
- package/tests/mocks/load-custom-resources/single-page-with-resources/input/toc.yaml +7 -0
- package/tests/mocks/markdown-options/example-1/input/.yfm +5 -0
- package/tests/mocks/markdown-options/example-1/input/breaks.md +5 -0
- package/tests/mocks/markdown-options/example-1/input/linkify-tlds.md +7 -0
- package/tests/mocks/markdown-options/example-1/input/linkify.md +3 -0
- package/tests/mocks/markdown-options/example-1/input/toc.yaml +7 -0
- package/tests/mocks/markdown-options/example-2/input/.yfm +3 -0
- package/tests/mocks/markdown-options/example-2/input/breaks.md +5 -0
- package/tests/mocks/markdown-options/example-2/input/linkify-tlds.md +7 -0
- package/tests/mocks/markdown-options/example-2/input/linkify.md +3 -0
- package/tests/mocks/markdown-options/example-2/input/toc.yaml +7 -0
- package/tests/mocks/merge-includes/basic/input/_includes/simple.md +3 -0
- package/tests/mocks/merge-includes/basic/input/index.md +3 -0
- package/tests/mocks/merge-includes/basic/input/main.md +7 -0
- package/tests/mocks/merge-includes/basic/input/toc.yaml +5 -0
- package/tests/mocks/merge-includes/hash-fallback/input/_includes/sections.md +19 -0
- package/tests/mocks/merge-includes/hash-fallback/input/index.md +1 -0
- package/tests/mocks/merge-includes/hash-fallback/input/main.md +5 -0
- package/tests/mocks/merge-includes/hash-fallback/input/toc.yaml +5 -0
- package/tests/mocks/merge-includes/hash-section-html/input/_includes/mixed.md +11 -0
- package/tests/mocks/merge-includes/hash-section-html/input/index.md +3 -0
- package/tests/mocks/merge-includes/hash-section-html/input/main.md +13 -0
- package/tests/mocks/merge-includes/hash-section-html/input/toc.yaml +5 -0
- package/tests/mocks/merge-includes/html-comment-blanks/input/_includes/examples.md +27 -0
- package/tests/mocks/merge-includes/html-comment-blanks/input/index.md +3 -0
- package/tests/mocks/merge-includes/html-comment-blanks/input/main.md +15 -0
- package/tests/mocks/merge-includes/html-comment-blanks/input/toc.yaml +5 -0
- package/tests/mocks/merge-includes/html-in-list/input/_includes/styles.md +7 -0
- package/tests/mocks/merge-includes/html-in-list/input/index.md +3 -0
- package/tests/mocks/merge-includes/html-in-list/input/main.md +11 -0
- package/tests/mocks/merge-includes/html-in-list/input/toc.yaml +5 -0
- package/tests/mocks/merge-includes/include-after-fence/input/_includes/chat-button.md +1 -0
- package/tests/mocks/merge-includes/include-after-fence/input/_includes/footer.md +1 -0
- package/tests/mocks/merge-includes/include-after-fence/input/index.md +3 -0
- package/tests/mocks/merge-includes/include-after-fence/input/main.md +14 -0
- package/tests/mocks/merge-includes/include-after-fence/input/toc.yaml +5 -0
- package/tests/mocks/merge-includes/include-in-code-block/input/_includes/glossary.md +1 -0
- package/tests/mocks/merge-includes/include-in-code-block/input/index.md +3 -0
- package/tests/mocks/merge-includes/include-in-code-block/input/main.md +19 -0
- package/tests/mocks/merge-includes/include-in-code-block/input/toc.yaml +5 -0
- package/tests/mocks/merge-includes/indent-paragraph-in-include/input/_includes/requirements.md +9 -0
- package/tests/mocks/merge-includes/indent-paragraph-in-include/input/index.md +3 -0
- package/tests/mocks/merge-includes/indent-paragraph-in-include/input/main.md +12 -0
- package/tests/mocks/merge-includes/indent-paragraph-in-include/input/toc.yaml +5 -0
- package/tests/mocks/merge-includes/inline-context/input/_includes/snippet.md +12 -0
- package/tests/mocks/merge-includes/inline-context/input/index.md +3 -0
- package/tests/mocks/merge-includes/inline-context/input/main.md +11 -0
- package/tests/mocks/merge-includes/inline-context/input/toc.yaml +5 -0
- package/tests/mocks/merge-includes/nested/input/_includes/inner.md +3 -0
- package/tests/mocks/merge-includes/nested/input/_includes/outer.md +7 -0
- package/tests/mocks/merge-includes/nested/input/index.md +3 -0
- package/tests/mocks/merge-includes/nested/input/main.md +7 -0
- package/tests/mocks/merge-includes/nested/input/toc.yaml +5 -0
- package/tests/mocks/merge-includes/relative-paths/input/_includes/sub/with-links.md +7 -0
- package/tests/mocks/merge-includes/relative-paths/input/index.md +3 -0
- package/tests/mocks/merge-includes/relative-paths/input/main.md +3 -0
- package/tests/mocks/merge-includes/relative-paths/input/toc.yaml +5 -0
- package/tests/mocks/merge-includes/term-extract/input/_includes/chapter.md +7 -0
- package/tests/mocks/merge-includes/term-extract/input/index.md +3 -0
- package/tests/mocks/merge-includes/term-extract/input/main.md +7 -0
- package/tests/mocks/merge-includes/term-extract/input/toc.yaml +5 -0
- package/tests/mocks/merge-includes/term-inline/input/_includes/defs.md +20 -0
- package/tests/mocks/merge-includes/term-inline/input/index.md +3 -0
- package/tests/mocks/merge-includes/term-inline/input/main.md +19 -0
- package/tests/mocks/merge-includes/term-inline/input/toc.yaml +5 -0
- package/tests/mocks/merge-includes/yfm-table/input/_includes/cell-content.md +1 -0
- package/tests/mocks/merge-includes/yfm-table/input/index.md +3 -0
- package/tests/mocks/merge-includes/yfm-table/input/main.md +12 -0
- package/tests/mocks/merge-includes/yfm-table/input/toc.yaml +5 -0
- package/tests/mocks/merge-includes/yfm-table-html-block/input/_includes/button.md +8 -0
- package/tests/mocks/merge-includes/yfm-table-html-block/input/index.md +3 -0
- package/tests/mocks/merge-includes/yfm-table-html-block/input/main.md +12 -0
- package/tests/mocks/merge-includes/yfm-table-html-block/input/toc.yaml +5 -0
- package/tests/mocks/merge-includes/yfm-table-pipe-in-content/input/_includes/example.md +1 -0
- package/tests/mocks/merge-includes/yfm-table-pipe-in-content/input/index.md +3 -0
- package/tests/mocks/merge-includes/yfm-table-pipe-in-content/input/main.md +22 -0
- package/tests/mocks/merge-includes/yfm-table-pipe-in-content/input/toc.yaml +5 -0
- package/tests/mocks/metadata/include-with-csp-meta/input/.yfm +8 -0
- package/tests/mocks/metadata/include-with-csp-meta/input/_includes/support.md +1 -0
- package/tests/mocks/metadata/include-with-csp-meta/input/page.md +7 -0
- package/tests/mocks/metadata/include-with-csp-meta/input/toc.yaml +4 -0
- package/tests/mocks/metadata/md2html-with-metadata/input/.yfm +1 -0
- package/tests/mocks/metadata/md2html-with-metadata/input/index.yaml +9 -0
- package/tests/mocks/metadata/md2html-with-metadata/input/page.md +16 -0
- package/tests/mocks/metadata/md2html-with-metadata/input/presets.yaml +6 -0
- package/tests/mocks/metadata/md2html-with-metadata/input/project/config.md +7 -0
- package/tests/mocks/metadata/md2html-with-metadata/input/toc.yaml +7 -0
- package/tests/mocks/metadata/md2md-with-metadata/input/index.yaml +9 -0
- package/tests/mocks/metadata/md2md-with-metadata/input/page.md +14 -0
- package/tests/mocks/metadata/md2md-with-metadata/input/presets.yaml +6 -0
- package/tests/mocks/metadata/md2md-with-metadata/input/project/config.md +7 -0
- package/tests/mocks/metadata/md2md-with-metadata/input/toc.yaml +7 -0
- package/tests/mocks/nested-docs/input/.yfm +1 -0
- package/tests/mocks/nested-docs/input/.yfm-subdoc +5 -0
- package/tests/mocks/nested-docs/input/index.md +5 -0
- package/tests/mocks/nested-docs/input/presets.yaml +3 -0
- package/tests/mocks/nested-docs/input/subdoc/.yfm +0 -0
- package/tests/mocks/nested-docs/input/subdoc/index.md +5 -0
- package/tests/mocks/nested-docs/input/subdoc/presets.yaml +3 -0
- package/tests/mocks/nested-docs/input/subdoc/toc.yaml +4 -0
- package/tests/mocks/nested-docs/input/toc.yaml +6 -0
- package/tests/mocks/nested-include-links/input/includes/middle.md +4 -0
- package/tests/mocks/nested-include-links/input/other/page.md +4 -0
- package/tests/mocks/nested-include-links/input/sub/deep/entry.md +8 -0
- package/tests/mocks/nested-include-links/input/target.md +4 -0
- package/tests/mocks/nested-include-links/input/toc.yaml +6 -0
- package/tests/mocks/neuro-expert/input/.yfm +14 -0
- package/tests/mocks/neuro-expert/input/en/folder/index.md +1 -0
- package/tests/mocks/neuro-expert/input/en/index-test-html/index.md +4 -0
- package/tests/mocks/neuro-expert/input/en/index.md +11 -0
- package/tests/mocks/neuro-expert/input/en/page1.md +8 -0
- package/tests/mocks/neuro-expert/input/en/page2.md +6 -0
- package/tests/mocks/neuro-expert/input/en/toc.yaml +13 -0
- package/tests/mocks/neuro-expert/input/ru/folder/index.md +1 -0
- package/tests/mocks/neuro-expert/input/ru/index-test-html/index.md +4 -0
- package/tests/mocks/neuro-expert/input/ru/index.md +5 -0
- package/tests/mocks/neuro-expert/input/ru/page1.md +3 -0
- package/tests/mocks/neuro-expert/input/ru/page2.md +11 -0
- package/tests/mocks/neuro-expert/input/ru/toc.yaml +12 -0
- package/tests/mocks/openapi-companion/input/petstore.yaml +29 -0
- package/tests/mocks/openapi-companion/input/toc.yaml +9 -0
- package/tests/mocks/openapi-companion-disabled/input/.yfm +2 -0
- package/tests/mocks/openapi-companion-disabled/input/petstore.yaml +29 -0
- package/tests/mocks/openapi-companion-disabled/input/toc.yaml +9 -0
- package/tests/mocks/openapi-companion-link/input/petstore.yaml +29 -0
- package/tests/mocks/openapi-companion-link/input/toc.yaml +12 -0
- package/tests/mocks/openapi-include-size-exceeds/input/openapi-spec.yaml +190 -0
- package/tests/mocks/openapi-include-size-exceeds/input/toc.yaml +9 -0
- package/tests/mocks/openapi-include-size-within/input/openapi-spec.yaml +16 -0
- package/tests/mocks/openapi-include-size-within/input/toc.yaml +9 -0
- package/tests/mocks/pdf-page/custom-pdf-icon/input/.yfm +6 -0
- package/tests/mocks/pdf-page/custom-pdf-icon/input/_assets/custom-pdf-icon.svg +1 -0
- package/tests/mocks/pdf-page/custom-pdf-icon/input/index.md +1 -0
- package/tests/mocks/pdf-page/custom-pdf-icon/input/pdf/output.pdf +0 -0
- package/tests/mocks/pdf-page/custom-pdf-icon/input/toc.yaml +2 -0
- package/tests/mocks/pdf-page/flag-enabled/input/__includes/include1.md +3 -0
- package/tests/mocks/pdf-page/flag-enabled/input/index.md +7 -0
- package/tests/mocks/pdf-page/flag-enabled/input/page1.md +6 -0
- package/tests/mocks/pdf-page/flag-enabled/input/page2.md +7 -0
- package/tests/mocks/pdf-page/flag-enabled/input/page3.md +1 -0
- package/tests/mocks/pdf-page/flag-enabled/input/syntax/test.md +1 -0
- package/tests/mocks/pdf-page/flag-enabled/input/toc.yaml +17 -0
- package/tests/mocks/pdf-page/multiple-tocs/input/.yfm +2 -0
- package/tests/mocks/pdf-page/multiple-tocs/input/section1/index.md +5 -0
- package/tests/mocks/pdf-page/multiple-tocs/input/section1/page1.md +3 -0
- package/tests/mocks/pdf-page/multiple-tocs/input/section1/toc.yaml +6 -0
- package/tests/mocks/pdf-page/multiple-tocs/input/section2/index.md +5 -0
- package/tests/mocks/pdf-page/multiple-tocs/input/section2/page1.md +3 -0
- package/tests/mocks/pdf-page/multiple-tocs/input/section2/toc.yaml +6 -0
- package/tests/mocks/pdf-page/pc-page/input/__images/mountain.jpg +0 -0
- package/tests/mocks/pdf-page/pc-page/input/__includes/include1.md +1 -0
- package/tests/mocks/pdf-page/pc-page/input/index.md +1 -0
- package/tests/mocks/pdf-page/pc-page/input/index.yaml +87 -0
- package/tests/mocks/pdf-page/pc-page/input/index2.yaml +135 -0
- package/tests/mocks/pdf-page/pc-page/input/page1.md +3 -0
- package/tests/mocks/pdf-page/pc-page/input/page2.md +3 -0
- package/tests/mocks/pdf-page/pc-page/input/pdf-titles/pdf-title-page1.md +13 -0
- package/tests/mocks/pdf-page/pc-page/input/pdf-titles/pdf-title-page2.md +5 -0
- package/tests/mocks/pdf-page/pc-page/input/presets.yaml +2 -0
- package/tests/mocks/pdf-page/pc-page/input/toc.yaml +13 -0
- package/tests/mocks/pdf-page/pc-page/input/with-pc-page.md +363 -0
- package/tests/mocks/pdf-page/title-pages/input/.yfm +6 -0
- package/tests/mocks/pdf-page/title-pages/input/__assets/start-page.css +16 -0
- package/tests/mocks/pdf-page/title-pages/input/__images/mountain.jpg +0 -0
- package/tests/mocks/pdf-page/title-pages/input/__includes/include1.md +1 -0
- package/tests/mocks/pdf-page/title-pages/input/index.md +1 -0
- package/tests/mocks/pdf-page/title-pages/input/page1.md +3 -0
- package/tests/mocks/pdf-page/title-pages/input/page2.md +3 -0
- package/tests/mocks/pdf-page/title-pages/input/pdf-endings/pdf-ending-page1.md +13 -0
- package/tests/mocks/pdf-page/title-pages/input/pdf-endings/pdf-ending-page2.md +3 -0
- package/tests/mocks/pdf-page/title-pages/input/pdf-titles/pdf-title-page1.md +13 -0
- package/tests/mocks/pdf-page/title-pages/input/pdf-titles/pdf-title-page2.md +3 -0
- package/tests/mocks/pdf-page/title-pages/input/presets.yaml +2 -0
- package/tests/mocks/pdf-page/title-pages/input/toc.yaml +15 -0
- package/tests/mocks/pdf-page/yfm-config/input/.yfm +5 -0
- package/tests/mocks/pdf-page/yfm-config/input/index.md +6 -0
- package/tests/mocks/pdf-page/yfm-config/input/page1.md +3 -0
- package/tests/mocks/pdf-page/yfm-config/input/page2.md +7 -0
- package/tests/mocks/pdf-page/yfm-config/input/page3.md +1 -0
- package/tests/mocks/pdf-page/yfm-config/input/toc.yaml +15 -0
- package/tests/mocks/plugin-corner-cases/images-in-deflists/input/image.jpeg +0 -0
- package/tests/mocks/plugin-corner-cases/images-in-deflists/input/index.md +5 -0
- package/tests/mocks/plugin-corner-cases/images-in-deflists/input/toc.yaml +4 -0
- package/tests/mocks/preprocess/input/.yfm +1 -0
- package/tests/mocks/preprocess/input/1.md +29 -0
- package/tests/mocks/preprocess/input/_assets/1.png +0 -0
- package/tests/mocks/preprocess/input/_assets/1.svg +15 -0
- package/tests/mocks/preprocess/input/_assets/2.svg +19 -0
- package/tests/mocks/preprocess/input/autotitle.md +39 -0
- package/tests/mocks/preprocess/input/commented-include.md +3 -0
- package/tests/mocks/preprocess/input/images.md +163 -0
- package/tests/mocks/preprocess/input/included-item.md +12 -0
- package/tests/mocks/preprocess/input/includes/deep.md +1 -0
- package/tests/mocks/preprocess/input/includes/deepWithIndent.md +6 -0
- package/tests/mocks/preprocess/input/includes/level1.md +9 -0
- package/tests/mocks/preprocess/input/includes/level11.md +1 -0
- package/tests/mocks/preprocess/input/includes/presets.yaml +2 -0
- package/tests/mocks/preprocess/input/includes/sub/level2.md +7 -0
- package/tests/mocks/preprocess/input/includes/sub/user.md +1 -0
- package/tests/mocks/preprocess/input/includes/sub/userWithIndent.md +5 -0
- package/tests/mocks/preprocess/input/includes/test.md +1 -0
- package/tests/mocks/preprocess/input/includes/user.md +1 -0
- package/tests/mocks/preprocess/input/includes.md +18 -0
- package/tests/mocks/preprocess/input/latex.md +3 -0
- package/tests/mocks/preprocess/input/level0.md +7 -0
- package/tests/mocks/preprocess/input/level1/level1.md +7 -0
- package/tests/mocks/preprocess/input/level1/level2/level2.md +6 -0
- package/tests/mocks/preprocess/input/level1/toc.yaml +5 -0
- package/tests/mocks/preprocess/input/mermaid.md +13 -0
- package/tests/mocks/preprocess/input/presets.yaml +8 -0
- package/tests/mocks/preprocess/input/sub/folder/item-1.md +7 -0
- package/tests/mocks/preprocess/input/sub/toc.yaml +5 -0
- package/tests/mocks/preprocess/input/toc-i.yaml +3 -0
- package/tests/mocks/preprocess/input/toc.yaml +24 -0
- package/tests/mocks/redirects-validation/extensions-deprecation/input/blah.md +0 -0
- package/tests/mocks/redirects-validation/extensions-deprecation/input/redirects.yaml +5 -0
- package/tests/mocks/redirects-validation/extensions-deprecation/input/toc.yaml +4 -0
- package/tests/mocks/redirects-validation/invalid-regex/input/blah.md +0 -0
- package/tests/mocks/redirects-validation/invalid-regex/input/redirects.yaml +3 -0
- package/tests/mocks/redirects-validation/invalid-regex/input/toc.yaml +4 -0
- package/tests/mocks/redirects-validation/malformed-redirect/input/blah.md +0 -0
- package/tests/mocks/redirects-validation/malformed-redirect/input/redirects.yaml +6 -0
- package/tests/mocks/redirects-validation/malformed-redirect/input/toc.yaml +4 -0
- package/tests/mocks/redirects-validation/same-path/input/blah.md +0 -0
- package/tests/mocks/redirects-validation/same-path/input/redirects.yaml +3 -0
- package/tests/mocks/redirects-validation/same-path/input/toc.yaml +4 -0
- package/tests/mocks/redirects-validation/unparseable/input/blah.md +0 -0
- package/tests/mocks/redirects-validation/unparseable/input/redirects.yaml +11 -0
- package/tests/mocks/redirects-validation/unparseable/input/toc.yaml +4 -0
- package/tests/mocks/regression/input/.yfm +2 -0
- package/tests/mocks/regression/input/1.md +29 -0
- package/tests/mocks/regression/input/_assets/1.png +0 -0
- package/tests/mocks/regression/input/_assets/2.png +0 -0
- package/tests/mocks/regression/input/_assets/3.png +0 -0
- package/tests/mocks/regression/input/_assets/4.png +0 -0
- package/tests/mocks/regression/input/_assets/5_1.png +0 -0
- package/tests/mocks/regression/input/_assets/empty.pdf +0 -0
- package/tests/mocks/regression/input/autotitle.md +58 -0
- package/tests/mocks/regression/input/commented-include.md +3 -0
- package/tests/mocks/regression/input/entry-as-include.md +3 -0
- package/tests/mocks/regression/input/generic/1.md +3 -0
- package/tests/mocks/regression/input/generic/2.md +3 -0
- package/tests/mocks/regression/input/generic/3.md +1 -0
- package/tests/mocks/regression/input/generic/Sub notes/1.md +3 -0
- package/tests/mocks/regression/input/generic/Sub notes/2.md +3 -0
- package/tests/mocks/regression/input/images.md +13 -0
- package/tests/mocks/regression/input/included-item.md +13 -0
- package/tests/mocks/regression/input/includer-of-entry.md +5 -0
- package/tests/mocks/regression/input/includes/deep.md +3 -0
- package/tests/mocks/regression/input/includes/fragments.md +41 -0
- package/tests/mocks/regression/input/includes/presets.yaml +3 -0
- package/tests/mocks/regression/input/includes/styles.md +8 -0
- package/tests/mocks/regression/input/includes/test.md +1 -0
- package/tests/mocks/regression/input/includes/tools.md +1 -0
- package/tests/mocks/regression/input/includes/user.md +1 -0
- package/tests/mocks/regression/input/includes.md +33 -0
- package/tests/mocks/regression/input/index.yaml +9 -0
- package/tests/mocks/regression/input/latex.md +3 -0
- package/tests/mocks/regression/input/merge/merge.md +5 -0
- package/tests/mocks/regression/input/merge/presets.yaml +3 -0
- package/tests/mocks/regression/input/merge/toc.yaml +6 -0
- package/tests/mocks/regression/input/merge-source/merged.md +3 -0
- package/tests/mocks/regression/input/merge-source/toc-m.yaml +4 -0
- package/tests/mocks/regression/input/mermaid.md +13 -0
- package/tests/mocks/regression/input/openapi-spec.yaml +111 -0
- package/tests/mocks/regression/input/presets.yaml +12 -0
- package/tests/mocks/regression/input/redirects.yaml +6 -0
- package/tests/mocks/regression/input/sub/folder/item-1.md +5 -0
- package/tests/mocks/regression/input/sub/toc.yaml +5 -0
- package/tests/mocks/regression/input/toc-i.yaml +3 -0
- package/tests/mocks/regression/input/toc.yaml +43 -0
- package/tests/mocks/restricted-access/test1/input/index.md +0 -0
- package/tests/mocks/restricted-access/test1/input/plugins/index.md +0 -0
- package/tests/mocks/restricted-access/test1/input/plugins/index2.md +0 -0
- package/tests/mocks/restricted-access/test1/input/plugins/index3.md +0 -0
- package/tests/mocks/restricted-access/test1/input/plugins/index4.md +4 -0
- package/tests/mocks/restricted-access/test1/input/toc.yaml +28 -0
- package/tests/mocks/restricted-access/test2/input/index.md +0 -0
- package/tests/mocks/restricted-access/test2/input/plugins/index.md +0 -0
- package/tests/mocks/restricted-access/test2/input/project/index.md +0 -0
- package/tests/mocks/restricted-access/test2/input/toc.yaml +21 -0
- package/tests/mocks/restricted-access/test3/input/a1.md +1 -0
- package/tests/mocks/restricted-access/test3/input/folder1/a1.md +1 -0
- package/tests/mocks/restricted-access/test3/input/folder1/folder2/a1.md +1 -0
- package/tests/mocks/restricted-access/test3/input/folder1/folder2/toc.yaml +8 -0
- package/tests/mocks/restricted-access/test3/input/folder1/toc.yaml +10 -0
- package/tests/mocks/restricted-access/test3/input/index.md +0 -0
- package/tests/mocks/restricted-access/test3/input/toc.yaml +16 -0
- package/tests/mocks/rtl/multidirectional-languages/input/.yfm +1 -0
- package/tests/mocks/rtl/multidirectional-languages/input/ar/index.yaml +4 -0
- package/tests/mocks/rtl/multidirectional-languages/input/ar/page.md +1 -0
- package/tests/mocks/rtl/multidirectional-languages/input/ar/toc.yaml +5 -0
- package/tests/mocks/rtl/multidirectional-languages/input/en/index.yaml +9 -0
- package/tests/mocks/rtl/multidirectional-languages/input/en/page.md +7 -0
- package/tests/mocks/rtl/multidirectional-languages/input/en/toc.yaml +5 -0
- package/tests/mocks/rtl/rtl-language/input/.yfm +1 -0
- package/tests/mocks/rtl/rtl-language/input/index.yaml +4 -0
- package/tests/mocks/rtl/rtl-language/input/page.md +1 -0
- package/tests/mocks/rtl/rtl-language/input/toc.yaml +5 -0
- package/tests/mocks/search/input/.yfm +12 -0
- package/tests/mocks/search/input/index.md +3 -0
- package/tests/mocks/search/input/toc.yaml +1 -0
- package/tests/mocks/single-page/input/ru/index.yaml +9 -0
- package/tests/mocks/single-page/input/ru/page.md +14 -0
- package/tests/mocks/single-page/input/ru/project/config.md +1 -0
- package/tests/mocks/single-page/input/ru/toc.yaml +7 -0
- package/tests/mocks/skip-html-extension/monolingual/input/.yfm +1 -0
- package/tests/mocks/skip-html-extension/monolingual/input/folder/index.md +1 -0
- package/tests/mocks/skip-html-extension/monolingual/input/index-test-html/index.md +4 -0
- package/tests/mocks/skip-html-extension/monolingual/input/index.md +6 -0
- package/tests/mocks/skip-html-extension/monolingual/input/page1.md +3 -0
- package/tests/mocks/skip-html-extension/monolingual/input/page2.md +6 -0
- package/tests/mocks/skip-html-extension/monolingual/input/toc.yaml +13 -0
- package/tests/mocks/skip-html-extension/multilingual/input/.yfm +2 -0
- package/tests/mocks/skip-html-extension/multilingual/input/en/folder/index.md +1 -0
- package/tests/mocks/skip-html-extension/multilingual/input/en/index-test-html/index.md +4 -0
- package/tests/mocks/skip-html-extension/multilingual/input/en/index.md +6 -0
- package/tests/mocks/skip-html-extension/multilingual/input/en/page1.md +3 -0
- package/tests/mocks/skip-html-extension/multilingual/input/en/page2.md +6 -0
- package/tests/mocks/skip-html-extension/multilingual/input/en/toc.yaml +13 -0
- package/tests/mocks/skip-html-extension/multilingual/input/ru/folder/index.md +1 -0
- package/tests/mocks/skip-html-extension/multilingual/input/ru/index-test-html/index.md +4 -0
- package/tests/mocks/skip-html-extension/multilingual/input/ru/index.md +5 -0
- package/tests/mocks/skip-html-extension/multilingual/input/ru/page1.md +3 -0
- package/tests/mocks/skip-html-extension/multilingual/input/ru/page2.md +6 -0
- package/tests/mocks/skip-html-extension/multilingual/input/ru/toc.yaml +12 -0
- package/tests/mocks/themer/test1/input/.yfm +3 -0
- package/tests/mocks/themer/test1/input/_assets/style/custom.css +3 -0
- package/tests/mocks/themer/test1/input/index.md +1 -0
- package/tests/mocks/themer/test1/input/theme.yaml +14 -0
- package/tests/mocks/themer/test1/input/toc.yaml +3 -0
- package/tests/mocks/themer/test2/input/index.md +1 -0
- package/tests/mocks/themer/test2/input/theme.yaml +8 -0
- package/tests/mocks/themer/test2/input/toc.yaml +3 -0
- package/tests/mocks/themer/test3/input/index.md +1 -0
- package/tests/mocks/themer/test3/input/toc.yaml +3 -0
- package/tests/mocks/themer/test4/input/index.md +1 -0
- package/tests/mocks/themer/test4/input/theme.yaml +3 -0
- package/tests/mocks/themer/test4/input/toc.yaml +3 -0
- package/tests/mocks/themer/test5/input/.yfm +1 -0
- package/tests/mocks/themer/test5/input/index.md +1 -0
- package/tests/mocks/themer/test5/input/toc.yaml +3 -0
- package/tests/mocks/themer/test6/input/.yfm +3 -0
- package/tests/mocks/themer/test6/input/index.md +11 -0
- package/tests/mocks/themer/test6/input/toc.yaml +5 -0
- package/tests/mocks/themer/test7/input/.yfm +3 -0
- package/tests/mocks/themer/test7/input/index.md +5 -0
- package/tests/mocks/themer/test7/input/theme.yaml +7 -0
- package/tests/mocks/themer/test7/input/toc.yaml +5 -0
- package/tests/mocks/themer/test8/input/.yfm +3 -0
- package/tests/mocks/themer/test8/input/index.md +5 -0
- package/tests/mocks/themer/test8/input/toc.yaml +5 -0
- package/tests/mocks/toc-label/input/.yfm +1 -0
- package/tests/mocks/toc-label/input/index.md +3 -0
- package/tests/mocks/toc-label/input/page1.md +3 -0
- package/tests/mocks/toc-label/input/toc.yaml +10 -0
- package/tests/mocks/translation/compose/input/openapi-spec.yaml.skl +41 -0
- package/tests/mocks/translation/compose/input/openapi-spec.yaml.xliff +52 -0
- package/tests/mocks/translation/compose/input/toc.yaml.skl +8 -0
- package/tests/mocks/translation/compose/input/toc.yaml.xliff +16 -0
- package/tests/mocks/translation/conditions/input/index.md +37 -0
- package/tests/mocks/translation/conditions/input/toc.yaml +5 -0
- package/tests/mocks/translation/custom-schema/custom-openapi-schema-30.yaml +1054 -0
- package/tests/mocks/translation/dir-files/input/.yfm +6 -0
- package/tests/mocks/translation/dir-files/input/ru/_includes/test.md +1 -0
- package/tests/mocks/translation/dir-files/input/ru/_no-translate/exclude.md +1 -0
- package/tests/mocks/translation/dir-files/input/ru/aboba.md +5 -0
- package/tests/mocks/translation/dir-files/input/ru/index.md +3 -0
- package/tests/mocks/translation/dir-files/input/ru/nested/a1.md +3 -0
- package/tests/mocks/translation/dir-files/input/ru/nested/folder1/a1.md +3 -0
- package/tests/mocks/translation/dir-files/input/ru/nested/folder1/toc-i.yaml +3 -0
- package/tests/mocks/translation/dir-files/input/ru/nested/index-yfm.md +2 -0
- package/tests/mocks/translation/dir-files/input/ru/nested/index.yaml +24 -0
- package/tests/mocks/translation/dir-files/input/ru/nested/not-in-toc.md +20 -0
- package/tests/mocks/translation/dir-files/input/ru/nested/syntax/base.md +3 -0
- package/tests/mocks/translation/dir-files/input/ru/nested/syntax/index.md +2 -0
- package/tests/mocks/translation/dir-files/input/ru/nested/syntax/lists.md +1 -0
- package/tests/mocks/translation/dir-files/input/ru/nested/toc.yaml +19 -0
- package/tests/mocks/translation/dir-files/input/ru/nested/use_filtered_above.md +4 -0
- package/tests/mocks/translation/dir-files/input/ru/no-var-page.md +3 -0
- package/tests/mocks/translation/dir-files/input/ru/not-in-toc.md +20 -0
- package/tests/mocks/translation/dir-files/input/ru/to-be-excluded.md +1 -0
- package/tests/mocks/translation/dir-files/input/ru/toc.yaml +13 -0
- package/tests/mocks/translation/no-translate/input/index.md +7 -0
- package/tests/mocks/translation/no-translate/input/no-translate.md +57 -0
- package/tests/mocks/translation/no-translate/input/openapi-spec.yaml +37 -0
- package/tests/mocks/translation/no-translate/input/toc.yaml +11 -0
- package/tests/mocks/translation/openapi/input/openapi-spec.yaml +50 -0
- package/tests/mocks/translation/openapi/input/toc.yaml +8 -0
- package/tests/mocks/translation/toc-include/input/included-toc/merged-included-toc-item.md +1 -0
- package/tests/mocks/translation/toc-include/input/included-toc/toc.yaml +3 -0
- package/tests/mocks/translation/toc-include/input/included-toc.md +1 -0
- package/tests/mocks/translation/toc-include/input/index.md +7 -0
- package/tests/mocks/translation/toc-include/input/merged-included-toc-item.md +1 -0
- package/tests/mocks/translation/toc-include/input/no-translate.md +57 -0
- package/tests/mocks/translation/toc-include/input/openapi-spec.yaml +37 -0
- package/tests/mocks/translation/toc-include/input/toc.yaml +14 -0
- package/tests/mocks/translation/yaml-scheme/input/ru/.yfm +1 -0
- package/tests/mocks/translation/yaml-scheme/input/ru/index-direct.yaml +133 -0
- package/tests/mocks/translation/yaml-scheme/input/ru/index.yaml +32 -0
- package/tests/mocks/translation/yaml-scheme/input/ru/toc.yaml +19 -0
- package/tests/mocks/vars-conditions/input/.yfm +1 -0
- package/tests/mocks/vars-conditions/input/index.md +3 -0
- package/tests/mocks/vars-conditions/input/page1.yaml +13 -0
- package/tests/mocks/vars-conditions/input/page2.md +24 -0
- package/tests/mocks/vars-conditions/input/page3.md +1 -0
- package/tests/mocks/vars-conditions/input/page4.md +1 -0
- package/tests/mocks/vars-conditions/input/page5.yaml +10 -0
- package/tests/mocks/vars-conditions/input/presets.yaml +9 -0
- package/tests/mocks/vars-conditions/input/toc.yaml +51 -0
- package/tests/mocks/vars-ignore/input/.yfm +1 -0
- package/tests/mocks/vars-ignore/input/data/data-test.md +4 -0
- package/tests/mocks/vars-ignore/input/data/presets.yaml +3 -0
- package/tests/mocks/vars-ignore/input/data/temp-test.md +4 -0
- package/tests/mocks/vars-ignore/input/ignored/ignored-test.md +4 -0
- package/tests/mocks/vars-ignore/input/ignored/presets.yaml +3 -0
- package/tests/mocks/vars-ignore/input/presets.yaml +3 -0
- package/tests/mocks/vars-ignore/input/test.md +6 -0
- package/tests/mocks/vars-ignore/input/toc.yaml +8 -0
- package/tests/mocks/warning/unreachable-autotitle/input/index.md +1 -0
- package/tests/mocks/warning/unreachable-autotitle/input/link.md +0 -0
- package/tests/mocks/warning/unreachable-autotitle/input/toc.yaml +4 -0
- package/tests/tsconfig.json +13 -0
- package/vitest.integration.config.ts +26 -0
|
@@ -0,0 +1,1199 @@
|
|
|
1
|
+
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
|
+
|
|
3
|
+
exports[`Alternates > internal > filelist 1`] = `
|
|
4
|
+
"[
|
|
5
|
+
".yfm",
|
|
6
|
+
"az/about.md",
|
|
7
|
+
"az/deep/test.md",
|
|
8
|
+
"az/index.yaml",
|
|
9
|
+
"az/toc.yaml",
|
|
10
|
+
"en/about.md",
|
|
11
|
+
"en/deep/test.md",
|
|
12
|
+
"en/index.yaml",
|
|
13
|
+
"en/toc.yaml",
|
|
14
|
+
"ru/about.md",
|
|
15
|
+
"ru/deep/test.md",
|
|
16
|
+
"ru/index.yaml",
|
|
17
|
+
"ru/toc.yaml"
|
|
18
|
+
]"
|
|
19
|
+
`;
|
|
20
|
+
|
|
21
|
+
exports[`Alternates > internal > filelist 2`] = `
|
|
22
|
+
"[
|
|
23
|
+
".yfm",
|
|
24
|
+
"az/about.html",
|
|
25
|
+
"az/deep/test.html",
|
|
26
|
+
"az/index.html",
|
|
27
|
+
"az/toc.js",
|
|
28
|
+
"en/about.html",
|
|
29
|
+
"en/deep/test.html",
|
|
30
|
+
"en/index.html",
|
|
31
|
+
"en/toc.js",
|
|
32
|
+
"index.html",
|
|
33
|
+
"ru/about.html",
|
|
34
|
+
"ru/deep/test.html",
|
|
35
|
+
"ru/index.html",
|
|
36
|
+
"ru/toc.js"
|
|
37
|
+
]"
|
|
38
|
+
`;
|
|
39
|
+
|
|
40
|
+
exports[`Alternates > internal 1`] = `
|
|
41
|
+
"langs: ['ru', 'en', {'lang': 'az', 'tld': 'az'}]
|
|
42
|
+
"
|
|
43
|
+
`;
|
|
44
|
+
|
|
45
|
+
exports[`Alternates > internal 2`] = `
|
|
46
|
+
"---
|
|
47
|
+
metadata:
|
|
48
|
+
- name: generator
|
|
49
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
50
|
+
alternate:
|
|
51
|
+
- az/about
|
|
52
|
+
- en/about
|
|
53
|
+
- ru/about
|
|
54
|
+
canonical: az/about.html
|
|
55
|
+
vcsPath: az/about.md
|
|
56
|
+
---
|
|
57
|
+
# About
|
|
58
|
+
|
|
59
|
+
Content
|
|
60
|
+
"
|
|
61
|
+
`;
|
|
62
|
+
|
|
63
|
+
exports[`Alternates > internal 3`] = `
|
|
64
|
+
"---
|
|
65
|
+
metadata:
|
|
66
|
+
- name: generator
|
|
67
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
68
|
+
alternate:
|
|
69
|
+
- az/deep/test
|
|
70
|
+
- en/deep/test
|
|
71
|
+
- ru/deep/test
|
|
72
|
+
canonical: az/deep/test.html
|
|
73
|
+
vcsPath: az/deep/test.md
|
|
74
|
+
---
|
|
75
|
+
# Test
|
|
76
|
+
|
|
77
|
+
Content
|
|
78
|
+
"
|
|
79
|
+
`;
|
|
80
|
+
|
|
81
|
+
exports[`Alternates > internal 4`] = `
|
|
82
|
+
"links:
|
|
83
|
+
- url: ./about
|
|
84
|
+
name: About
|
|
85
|
+
meta:
|
|
86
|
+
metadata:
|
|
87
|
+
- name: generator
|
|
88
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
89
|
+
alternate:
|
|
90
|
+
- az/
|
|
91
|
+
- en/
|
|
92
|
+
- ru/
|
|
93
|
+
canonical: az/index.html
|
|
94
|
+
vcsPath: az/index.yaml
|
|
95
|
+
"
|
|
96
|
+
`;
|
|
97
|
+
|
|
98
|
+
exports[`Alternates > internal 5`] = `
|
|
99
|
+
"href: index.yaml
|
|
100
|
+
items:
|
|
101
|
+
- href: about.md
|
|
102
|
+
name: About
|
|
103
|
+
- href: deep/test.md
|
|
104
|
+
name: Test
|
|
105
|
+
path: az/toc.yaml
|
|
106
|
+
"
|
|
107
|
+
`;
|
|
108
|
+
|
|
109
|
+
exports[`Alternates > internal 6`] = `
|
|
110
|
+
"---
|
|
111
|
+
metadata:
|
|
112
|
+
- name: generator
|
|
113
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
114
|
+
alternate:
|
|
115
|
+
- az/about
|
|
116
|
+
- en/about
|
|
117
|
+
- ru/about
|
|
118
|
+
canonical: en/about.html
|
|
119
|
+
vcsPath: en/about.md
|
|
120
|
+
---
|
|
121
|
+
# About
|
|
122
|
+
|
|
123
|
+
Content
|
|
124
|
+
"
|
|
125
|
+
`;
|
|
126
|
+
|
|
127
|
+
exports[`Alternates > internal 7`] = `
|
|
128
|
+
"---
|
|
129
|
+
metadata:
|
|
130
|
+
- name: generator
|
|
131
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
132
|
+
alternate:
|
|
133
|
+
- az/deep/test
|
|
134
|
+
- en/deep/test
|
|
135
|
+
- ru/deep/test
|
|
136
|
+
canonical: en/deep/test.html
|
|
137
|
+
vcsPath: en/deep/test.md
|
|
138
|
+
---
|
|
139
|
+
# Test
|
|
140
|
+
|
|
141
|
+
Content
|
|
142
|
+
"
|
|
143
|
+
`;
|
|
144
|
+
|
|
145
|
+
exports[`Alternates > internal 8`] = `
|
|
146
|
+
"links:
|
|
147
|
+
- url: ./about
|
|
148
|
+
name: About
|
|
149
|
+
meta:
|
|
150
|
+
metadata:
|
|
151
|
+
- name: generator
|
|
152
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
153
|
+
alternate:
|
|
154
|
+
- az/
|
|
155
|
+
- en/
|
|
156
|
+
- ru/
|
|
157
|
+
canonical: en/index.html
|
|
158
|
+
vcsPath: en/index.yaml
|
|
159
|
+
"
|
|
160
|
+
`;
|
|
161
|
+
|
|
162
|
+
exports[`Alternates > internal 9`] = `
|
|
163
|
+
"href: index.yaml
|
|
164
|
+
items:
|
|
165
|
+
- href: about.md
|
|
166
|
+
name: About
|
|
167
|
+
- href: deep/test.md
|
|
168
|
+
name: Test
|
|
169
|
+
path: en/toc.yaml
|
|
170
|
+
"
|
|
171
|
+
`;
|
|
172
|
+
|
|
173
|
+
exports[`Alternates > internal 10`] = `
|
|
174
|
+
"---
|
|
175
|
+
metadata:
|
|
176
|
+
- name: generator
|
|
177
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
178
|
+
alternate:
|
|
179
|
+
- az/about
|
|
180
|
+
- en/about
|
|
181
|
+
- https://my-other-site.com/about
|
|
182
|
+
- ru/about
|
|
183
|
+
canonical: ru/about.html
|
|
184
|
+
vcsPath: ru/about.md
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
# About
|
|
188
|
+
|
|
189
|
+
Content
|
|
190
|
+
"
|
|
191
|
+
`;
|
|
192
|
+
|
|
193
|
+
exports[`Alternates > internal 11`] = `
|
|
194
|
+
"---
|
|
195
|
+
metadata:
|
|
196
|
+
- name: generator
|
|
197
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
198
|
+
alternate:
|
|
199
|
+
- az/deep/test
|
|
200
|
+
- en/deep/test
|
|
201
|
+
- ru/deep/test
|
|
202
|
+
canonical: ru/deep/test.html
|
|
203
|
+
vcsPath: ru/deep/test.md
|
|
204
|
+
---
|
|
205
|
+
# Test
|
|
206
|
+
|
|
207
|
+
Content
|
|
208
|
+
"
|
|
209
|
+
`;
|
|
210
|
+
|
|
211
|
+
exports[`Alternates > internal 12`] = `
|
|
212
|
+
"links:
|
|
213
|
+
- url: ./about
|
|
214
|
+
name: About
|
|
215
|
+
meta:
|
|
216
|
+
metadata:
|
|
217
|
+
- name: generator
|
|
218
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
219
|
+
alternate:
|
|
220
|
+
- az/
|
|
221
|
+
- en/
|
|
222
|
+
- ru/
|
|
223
|
+
canonical: ru/index.html
|
|
224
|
+
vcsPath: ru/index.yaml
|
|
225
|
+
"
|
|
226
|
+
`;
|
|
227
|
+
|
|
228
|
+
exports[`Alternates > internal 13`] = `
|
|
229
|
+
"href: index.yaml
|
|
230
|
+
items:
|
|
231
|
+
- href: about.md
|
|
232
|
+
name: About
|
|
233
|
+
- href: deep/test.md
|
|
234
|
+
name: Test
|
|
235
|
+
path: ru/toc.yaml
|
|
236
|
+
"
|
|
237
|
+
`;
|
|
238
|
+
|
|
239
|
+
exports[`Alternates > internal 14`] = `
|
|
240
|
+
"langs: ['ru', 'en', {'lang': 'az', 'tld': 'az'}]
|
|
241
|
+
"
|
|
242
|
+
`;
|
|
243
|
+
|
|
244
|
+
exports[`Alternates > internal 15`] = `
|
|
245
|
+
"<!DOCTYPE html>
|
|
246
|
+
<html lang="az" dir="ltr">
|
|
247
|
+
<head>
|
|
248
|
+
<meta charset="utf-8">
|
|
249
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
250
|
+
<base href="../" />
|
|
251
|
+
<title>About</title>
|
|
252
|
+
<link rel="canonical" href="az/about.html">
|
|
253
|
+
<link rel="alternate" href="az/about.html" hreflang="az" />
|
|
254
|
+
<link rel="alternate" href="en/about.html" hreflang="en" />
|
|
255
|
+
<link rel="alternate" href="ru/about.html" hreflang="ru" />
|
|
256
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
257
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
258
|
+
</head>
|
|
259
|
+
<body class="g-root g-root_theme_light">
|
|
260
|
+
<div id="root"></div>
|
|
261
|
+
<script type="application/json" id="diplodoc-state">
|
|
262
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/about.html","hreflang":"az"},{"href":"en/about.html","hreflang":"en"},{"href":"ru/about.html","hreflang":"ru"}],"canonical":"az/about.html","vcsPath":"az/about.md"},"headings":[],"title":"About"},"router":{"pathname":"az/about","depth":2,"base":"../"},"lang":"az","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
263
|
+
</script>
|
|
264
|
+
<script type="application/javascript">
|
|
265
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
266
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
267
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
268
|
+
})(data.innerText));
|
|
269
|
+
window.STATIC_CONTENT = false;
|
|
270
|
+
</script>
|
|
271
|
+
<script type="application/javascript" defer src="az/toc.js"></script>
|
|
272
|
+
</body>
|
|
273
|
+
</html>"
|
|
274
|
+
`;
|
|
275
|
+
|
|
276
|
+
exports[`Alternates > internal 16`] = `
|
|
277
|
+
"<!DOCTYPE html>
|
|
278
|
+
<html lang="az" dir="ltr">
|
|
279
|
+
<head>
|
|
280
|
+
<meta charset="utf-8">
|
|
281
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
282
|
+
<base href="../../" />
|
|
283
|
+
<title>Test</title>
|
|
284
|
+
<link rel="canonical" href="az/deep/test.html">
|
|
285
|
+
<link rel="alternate" href="az/deep/test.html" hreflang="az" />
|
|
286
|
+
<link rel="alternate" href="en/deep/test.html" hreflang="en" />
|
|
287
|
+
<link rel="alternate" href="ru/deep/test.html" hreflang="ru" />
|
|
288
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
289
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
290
|
+
</head>
|
|
291
|
+
<body class="g-root g-root_theme_light">
|
|
292
|
+
<div id="root"></div>
|
|
293
|
+
<script type="application/json" id="diplodoc-state">
|
|
294
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/deep/test.html","hreflang":"az"},{"href":"en/deep/test.html","hreflang":"en"},{"href":"ru/deep/test.html","hreflang":"ru"}],"canonical":"az/deep/test.html","vcsPath":"az/deep/test.md"},"headings":[],"title":"Test"},"router":{"pathname":"az/deep/test","depth":3,"base":"../../"},"lang":"az","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
295
|
+
</script>
|
|
296
|
+
<script type="application/javascript">
|
|
297
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
298
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
299
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
300
|
+
})(data.innerText));
|
|
301
|
+
window.STATIC_CONTENT = false;
|
|
302
|
+
</script>
|
|
303
|
+
<script type="application/javascript" defer src="az/toc.js"></script>
|
|
304
|
+
</body>
|
|
305
|
+
</html>"
|
|
306
|
+
`;
|
|
307
|
+
|
|
308
|
+
exports[`Alternates > internal 17`] = `
|
|
309
|
+
"<!DOCTYPE html>
|
|
310
|
+
<html lang="az" dir="ltr">
|
|
311
|
+
<head>
|
|
312
|
+
<meta charset="utf-8">
|
|
313
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
314
|
+
<base href="../" />
|
|
315
|
+
<title></title>
|
|
316
|
+
<link rel="canonical" href="az/index.html">
|
|
317
|
+
<link rel="alternate" href="az/index.html" hreflang="az" />
|
|
318
|
+
<link rel="alternate" href="en/index.html" hreflang="en" />
|
|
319
|
+
<link rel="alternate" href="ru/index.html" hreflang="ru" />
|
|
320
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
321
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
322
|
+
</head>
|
|
323
|
+
<body class="g-root g-root_theme_light">
|
|
324
|
+
<div id="root"></div>
|
|
325
|
+
<script type="application/json" id="diplodoc-state">
|
|
326
|
+
{"data":{"leading":true,"data":{"links":[{"url":"az/about/index.html","name":"About"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/index.html","hreflang":"az"},{"href":"en/index.html","hreflang":"en"},{"href":"ru/index.html","hreflang":"ru"}],"canonical":"az/index.html","vcsPath":"az/index.yaml"},"title":""},"router":{"pathname":"az/index","depth":2,"base":"../"},"lang":"az","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
327
|
+
</script>
|
|
328
|
+
<script type="application/javascript">
|
|
329
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
330
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
331
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
332
|
+
})(data.innerText));
|
|
333
|
+
window.STATIC_CONTENT = false;
|
|
334
|
+
</script>
|
|
335
|
+
<script type="application/javascript" defer src="az/toc.js"></script>
|
|
336
|
+
</body>
|
|
337
|
+
</html>"
|
|
338
|
+
`;
|
|
339
|
+
|
|
340
|
+
exports[`Alternates > internal 18`] = `"window.__DATA__.data.toc = {"href":"az/index.html","items":[{"href":"az/about.html","name":"About","id":"UUID"},{"href":"az/deep/test.html","name":"Test","id":"UUID"}],"path":"az/toc.yaml","id":"UUID"};"`;
|
|
341
|
+
|
|
342
|
+
exports[`Alternates > internal 19`] = `
|
|
343
|
+
"<!DOCTYPE html>
|
|
344
|
+
<html lang="en" dir="ltr">
|
|
345
|
+
<head>
|
|
346
|
+
<meta charset="utf-8">
|
|
347
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
348
|
+
<base href="../" />
|
|
349
|
+
<title>About</title>
|
|
350
|
+
<link rel="canonical" href="en/about.html">
|
|
351
|
+
<link rel="alternate" href="az/about.html" hreflang="az" />
|
|
352
|
+
<link rel="alternate" href="en/about.html" hreflang="en" />
|
|
353
|
+
<link rel="alternate" href="ru/about.html" hreflang="ru" />
|
|
354
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
355
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
356
|
+
</head>
|
|
357
|
+
<body class="g-root g-root_theme_light">
|
|
358
|
+
<div id="root"></div>
|
|
359
|
+
<script type="application/json" id="diplodoc-state">
|
|
360
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/about.html","hreflang":"az"},{"href":"en/about.html","hreflang":"en"},{"href":"ru/about.html","hreflang":"ru"}],"canonical":"en/about.html","vcsPath":"en/about.md"},"headings":[],"title":"About"},"router":{"pathname":"en/about","depth":2,"base":"../"},"lang":"en","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
361
|
+
</script>
|
|
362
|
+
<script type="application/javascript">
|
|
363
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
364
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
365
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
366
|
+
})(data.innerText));
|
|
367
|
+
window.STATIC_CONTENT = false;
|
|
368
|
+
</script>
|
|
369
|
+
<script type="application/javascript" defer src="en/toc.js"></script>
|
|
370
|
+
</body>
|
|
371
|
+
</html>"
|
|
372
|
+
`;
|
|
373
|
+
|
|
374
|
+
exports[`Alternates > internal 20`] = `
|
|
375
|
+
"<!DOCTYPE html>
|
|
376
|
+
<html lang="en" dir="ltr">
|
|
377
|
+
<head>
|
|
378
|
+
<meta charset="utf-8">
|
|
379
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
380
|
+
<base href="../../" />
|
|
381
|
+
<title>Test</title>
|
|
382
|
+
<link rel="canonical" href="en/deep/test.html">
|
|
383
|
+
<link rel="alternate" href="az/deep/test.html" hreflang="az" />
|
|
384
|
+
<link rel="alternate" href="en/deep/test.html" hreflang="en" />
|
|
385
|
+
<link rel="alternate" href="ru/deep/test.html" hreflang="ru" />
|
|
386
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
387
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
388
|
+
</head>
|
|
389
|
+
<body class="g-root g-root_theme_light">
|
|
390
|
+
<div id="root"></div>
|
|
391
|
+
<script type="application/json" id="diplodoc-state">
|
|
392
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/deep/test.html","hreflang":"az"},{"href":"en/deep/test.html","hreflang":"en"},{"href":"ru/deep/test.html","hreflang":"ru"}],"canonical":"en/deep/test.html","vcsPath":"en/deep/test.md"},"headings":[],"title":"Test"},"router":{"pathname":"en/deep/test","depth":3,"base":"../../"},"lang":"en","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
393
|
+
</script>
|
|
394
|
+
<script type="application/javascript">
|
|
395
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
396
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
397
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
398
|
+
})(data.innerText));
|
|
399
|
+
window.STATIC_CONTENT = false;
|
|
400
|
+
</script>
|
|
401
|
+
<script type="application/javascript" defer src="en/toc.js"></script>
|
|
402
|
+
</body>
|
|
403
|
+
</html>"
|
|
404
|
+
`;
|
|
405
|
+
|
|
406
|
+
exports[`Alternates > internal 21`] = `
|
|
407
|
+
"<!DOCTYPE html>
|
|
408
|
+
<html lang="en" dir="ltr">
|
|
409
|
+
<head>
|
|
410
|
+
<meta charset="utf-8">
|
|
411
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
412
|
+
<base href="../" />
|
|
413
|
+
<title></title>
|
|
414
|
+
<link rel="canonical" href="en/index.html">
|
|
415
|
+
<link rel="alternate" href="az/index.html" hreflang="az" />
|
|
416
|
+
<link rel="alternate" href="en/index.html" hreflang="en" />
|
|
417
|
+
<link rel="alternate" href="ru/index.html" hreflang="ru" />
|
|
418
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
419
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
420
|
+
</head>
|
|
421
|
+
<body class="g-root g-root_theme_light">
|
|
422
|
+
<div id="root"></div>
|
|
423
|
+
<script type="application/json" id="diplodoc-state">
|
|
424
|
+
{"data":{"leading":true,"data":{"links":[{"url":"en/about/index.html","name":"About"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/index.html","hreflang":"az"},{"href":"en/index.html","hreflang":"en"},{"href":"ru/index.html","hreflang":"ru"}],"canonical":"en/index.html","vcsPath":"en/index.yaml"},"title":""},"router":{"pathname":"en/index","depth":2,"base":"../"},"lang":"en","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
425
|
+
</script>
|
|
426
|
+
<script type="application/javascript">
|
|
427
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
428
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
429
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
430
|
+
})(data.innerText));
|
|
431
|
+
window.STATIC_CONTENT = false;
|
|
432
|
+
</script>
|
|
433
|
+
<script type="application/javascript" defer src="en/toc.js"></script>
|
|
434
|
+
</body>
|
|
435
|
+
</html>"
|
|
436
|
+
`;
|
|
437
|
+
|
|
438
|
+
exports[`Alternates > internal 22`] = `"window.__DATA__.data.toc = {"href":"en/index.html","items":[{"href":"en/about.html","name":"About","id":"UUID"},{"href":"en/deep/test.html","name":"Test","id":"UUID"}],"path":"en/toc.yaml","id":"UUID"};"`;
|
|
439
|
+
|
|
440
|
+
exports[`Alternates > internal 23`] = `
|
|
441
|
+
"<!DOCTYPE html>
|
|
442
|
+
<html lang="ru" dir="ltr">
|
|
443
|
+
<head>
|
|
444
|
+
<meta charset="utf-8">
|
|
445
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
446
|
+
<base href="./" />
|
|
447
|
+
<title>Redirect to ./ru/index.html</title>
|
|
448
|
+
<meta http-equiv="refresh" content="0; url=./ru/index.html">
|
|
449
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
450
|
+
<script type="application/javascript">
|
|
451
|
+
window.location.replace("./ru/index.html");
|
|
452
|
+
</script>
|
|
453
|
+
</head>
|
|
454
|
+
<body class="g-root g-root_theme_light">
|
|
455
|
+
If you are not redirected automatically, follow this <a href="./ru/index.html">link</a>.
|
|
456
|
+
</body>
|
|
457
|
+
</html>"
|
|
458
|
+
`;
|
|
459
|
+
|
|
460
|
+
exports[`Alternates > internal 24`] = `
|
|
461
|
+
"<!DOCTYPE html>
|
|
462
|
+
<html lang="ru" dir="ltr">
|
|
463
|
+
<head>
|
|
464
|
+
<meta charset="utf-8">
|
|
465
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
466
|
+
<base href="../" />
|
|
467
|
+
<title>About</title>
|
|
468
|
+
<link rel="canonical" href="ru/about.html">
|
|
469
|
+
<link rel="alternate" href="az/about.html" hreflang="az" />
|
|
470
|
+
<link rel="alternate" href="en/about.html" hreflang="en" />
|
|
471
|
+
<link rel="alternate" href="https://my-other-site.com/about" />
|
|
472
|
+
<link rel="alternate" href="ru/about.html" hreflang="ru" />
|
|
473
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
474
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
475
|
+
</head>
|
|
476
|
+
<body class="g-root g-root_theme_light">
|
|
477
|
+
<div id="root"></div>
|
|
478
|
+
<script type="application/json" id="diplodoc-state">
|
|
479
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/about.html","hreflang":"az"},{"href":"en/about.html","hreflang":"en"},{"href":"https://my-other-site.com/about"},{"href":"ru/about.html","hreflang":"ru"}],"canonical":"ru/about.html","vcsPath":"ru/about.md"},"headings":[],"title":"About"},"router":{"pathname":"ru/about","depth":2,"base":"../"},"lang":"ru","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
480
|
+
</script>
|
|
481
|
+
<script type="application/javascript">
|
|
482
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
483
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
484
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
485
|
+
})(data.innerText));
|
|
486
|
+
window.STATIC_CONTENT = false;
|
|
487
|
+
</script>
|
|
488
|
+
<script type="application/javascript" defer src="ru/toc.js"></script>
|
|
489
|
+
</body>
|
|
490
|
+
</html>"
|
|
491
|
+
`;
|
|
492
|
+
|
|
493
|
+
exports[`Alternates > internal 25`] = `
|
|
494
|
+
"<!DOCTYPE html>
|
|
495
|
+
<html lang="ru" dir="ltr">
|
|
496
|
+
<head>
|
|
497
|
+
<meta charset="utf-8">
|
|
498
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
499
|
+
<base href="../../" />
|
|
500
|
+
<title>Test</title>
|
|
501
|
+
<link rel="canonical" href="ru/deep/test.html">
|
|
502
|
+
<link rel="alternate" href="az/deep/test.html" hreflang="az" />
|
|
503
|
+
<link rel="alternate" href="en/deep/test.html" hreflang="en" />
|
|
504
|
+
<link rel="alternate" href="ru/deep/test.html" hreflang="ru" />
|
|
505
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
506
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
507
|
+
</head>
|
|
508
|
+
<body class="g-root g-root_theme_light">
|
|
509
|
+
<div id="root"></div>
|
|
510
|
+
<script type="application/json" id="diplodoc-state">
|
|
511
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/deep/test.html","hreflang":"az"},{"href":"en/deep/test.html","hreflang":"en"},{"href":"ru/deep/test.html","hreflang":"ru"}],"canonical":"ru/deep/test.html","vcsPath":"ru/deep/test.md"},"headings":[],"title":"Test"},"router":{"pathname":"ru/deep/test","depth":3,"base":"../../"},"lang":"ru","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
512
|
+
</script>
|
|
513
|
+
<script type="application/javascript">
|
|
514
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
515
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
516
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
517
|
+
})(data.innerText));
|
|
518
|
+
window.STATIC_CONTENT = false;
|
|
519
|
+
</script>
|
|
520
|
+
<script type="application/javascript" defer src="ru/toc.js"></script>
|
|
521
|
+
</body>
|
|
522
|
+
</html>"
|
|
523
|
+
`;
|
|
524
|
+
|
|
525
|
+
exports[`Alternates > internal 26`] = `
|
|
526
|
+
"<!DOCTYPE html>
|
|
527
|
+
<html lang="ru" dir="ltr">
|
|
528
|
+
<head>
|
|
529
|
+
<meta charset="utf-8">
|
|
530
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
531
|
+
<base href="../" />
|
|
532
|
+
<title></title>
|
|
533
|
+
<link rel="canonical" href="ru/index.html">
|
|
534
|
+
<link rel="alternate" href="az/index.html" hreflang="az" />
|
|
535
|
+
<link rel="alternate" href="en/index.html" hreflang="en" />
|
|
536
|
+
<link rel="alternate" href="ru/index.html" hreflang="ru" />
|
|
537
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
538
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
539
|
+
</head>
|
|
540
|
+
<body class="g-root g-root_theme_light">
|
|
541
|
+
<div id="root"></div>
|
|
542
|
+
<script type="application/json" id="diplodoc-state">
|
|
543
|
+
{"data":{"leading":true,"data":{"links":[{"url":"ru/about/index.html","name":"About"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/index.html","hreflang":"az"},{"href":"en/index.html","hreflang":"en"},{"href":"ru/index.html","hreflang":"ru"}],"canonical":"ru/index.html","vcsPath":"ru/index.yaml"},"title":""},"router":{"pathname":"ru/index","depth":2,"base":"../"},"lang":"ru","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
544
|
+
</script>
|
|
545
|
+
<script type="application/javascript">
|
|
546
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
547
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
548
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
549
|
+
})(data.innerText));
|
|
550
|
+
window.STATIC_CONTENT = false;
|
|
551
|
+
</script>
|
|
552
|
+
<script type="application/javascript" defer src="ru/toc.js"></script>
|
|
553
|
+
</body>
|
|
554
|
+
</html>"
|
|
555
|
+
`;
|
|
556
|
+
|
|
557
|
+
exports[`Alternates > internal 27`] = `"window.__DATA__.data.toc = {"href":"ru/index.html","items":[{"href":"ru/about.html","name":"About","id":"UUID"},{"href":"ru/deep/test.html","name":"Test","id":"UUID"}],"path":"ru/toc.yaml","id":"UUID"};"`;
|
|
558
|
+
|
|
559
|
+
exports[`Alternates > skip-html-extension > filelist 1`] = `
|
|
560
|
+
"[
|
|
561
|
+
".yfm",
|
|
562
|
+
"az/about.html",
|
|
563
|
+
"az/deep/test.html",
|
|
564
|
+
"az/index.html",
|
|
565
|
+
"az/toc.js",
|
|
566
|
+
"en/about.html",
|
|
567
|
+
"en/deep/test.html",
|
|
568
|
+
"en/index.html",
|
|
569
|
+
"en/toc.js",
|
|
570
|
+
"index.html",
|
|
571
|
+
"ru/about.html",
|
|
572
|
+
"ru/deep/test.html",
|
|
573
|
+
"ru/index.html",
|
|
574
|
+
"ru/toc.js"
|
|
575
|
+
]"
|
|
576
|
+
`;
|
|
577
|
+
|
|
578
|
+
exports[`Alternates > skip-html-extension 1`] = `
|
|
579
|
+
"langs: ['ru', 'en', {'lang': 'az', 'tld': 'az'}]
|
|
580
|
+
"
|
|
581
|
+
`;
|
|
582
|
+
|
|
583
|
+
exports[`Alternates > skip-html-extension 2`] = `
|
|
584
|
+
"<!DOCTYPE html>
|
|
585
|
+
<html lang="az" dir="ltr">
|
|
586
|
+
<head>
|
|
587
|
+
<meta charset="utf-8">
|
|
588
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
589
|
+
<base href="../" />
|
|
590
|
+
<title>About</title>
|
|
591
|
+
<link rel="canonical" href="az/about">
|
|
592
|
+
<link rel="alternate" href="az/about" hreflang="az" />
|
|
593
|
+
<link rel="alternate" href="en/about" hreflang="en" />
|
|
594
|
+
<link rel="alternate" href="ru/about" hreflang="ru" />
|
|
595
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
596
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
597
|
+
</head>
|
|
598
|
+
<body class="g-root g-root_theme_light">
|
|
599
|
+
<div id="root"></div>
|
|
600
|
+
<script type="application/json" id="diplodoc-state">
|
|
601
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/about","hreflang":"az"},{"href":"en/about","hreflang":"en"},{"href":"ru/about","hreflang":"ru"}],"canonical":"az/about","vcsPath":"az/about.md"},"headings":[],"title":"About"},"router":{"pathname":"az/about","depth":2,"base":"../"},"lang":"az","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
602
|
+
</script>
|
|
603
|
+
<script type="application/javascript">
|
|
604
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
605
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
606
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
607
|
+
})(data.innerText));
|
|
608
|
+
window.STATIC_CONTENT = false;
|
|
609
|
+
</script>
|
|
610
|
+
<script type="application/javascript" defer src="az/toc.js"></script>
|
|
611
|
+
</body>
|
|
612
|
+
</html>"
|
|
613
|
+
`;
|
|
614
|
+
|
|
615
|
+
exports[`Alternates > skip-html-extension 3`] = `
|
|
616
|
+
"<!DOCTYPE html>
|
|
617
|
+
<html lang="az" dir="ltr">
|
|
618
|
+
<head>
|
|
619
|
+
<meta charset="utf-8">
|
|
620
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
621
|
+
<base href="../../" />
|
|
622
|
+
<title>Test</title>
|
|
623
|
+
<link rel="canonical" href="az/deep/test">
|
|
624
|
+
<link rel="alternate" href="az/deep/test" hreflang="az" />
|
|
625
|
+
<link rel="alternate" href="en/deep/test" hreflang="en" />
|
|
626
|
+
<link rel="alternate" href="ru/deep/test" hreflang="ru" />
|
|
627
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
628
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
629
|
+
</head>
|
|
630
|
+
<body class="g-root g-root_theme_light">
|
|
631
|
+
<div id="root"></div>
|
|
632
|
+
<script type="application/json" id="diplodoc-state">
|
|
633
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/deep/test","hreflang":"az"},{"href":"en/deep/test","hreflang":"en"},{"href":"ru/deep/test","hreflang":"ru"}],"canonical":"az/deep/test","vcsPath":"az/deep/test.md"},"headings":[],"title":"Test"},"router":{"pathname":"az/deep/test","depth":3,"base":"../../"},"lang":"az","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
634
|
+
</script>
|
|
635
|
+
<script type="application/javascript">
|
|
636
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
637
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
638
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
639
|
+
})(data.innerText));
|
|
640
|
+
window.STATIC_CONTENT = false;
|
|
641
|
+
</script>
|
|
642
|
+
<script type="application/javascript" defer src="az/toc.js"></script>
|
|
643
|
+
</body>
|
|
644
|
+
</html>"
|
|
645
|
+
`;
|
|
646
|
+
|
|
647
|
+
exports[`Alternates > skip-html-extension 4`] = `
|
|
648
|
+
"<!DOCTYPE html>
|
|
649
|
+
<html lang="az" dir="ltr">
|
|
650
|
+
<head>
|
|
651
|
+
<meta charset="utf-8">
|
|
652
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
653
|
+
<base href="../" />
|
|
654
|
+
<title></title>
|
|
655
|
+
<link rel="canonical" href="az/">
|
|
656
|
+
<link rel="alternate" href="az/" hreflang="az" />
|
|
657
|
+
<link rel="alternate" href="en/" hreflang="en" />
|
|
658
|
+
<link rel="alternate" href="ru/" hreflang="ru" />
|
|
659
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
660
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
661
|
+
</head>
|
|
662
|
+
<body class="g-root g-root_theme_light">
|
|
663
|
+
<div id="root"></div>
|
|
664
|
+
<script type="application/json" id="diplodoc-state">
|
|
665
|
+
{"data":{"leading":true,"data":{"links":[{"url":"az/about/","name":"About"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/","hreflang":"az"},{"href":"en/","hreflang":"en"},{"href":"ru/","hreflang":"ru"}],"canonical":"az/","vcsPath":"az/index.yaml"},"title":""},"router":{"pathname":"az/index","depth":2,"base":"../"},"lang":"az","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
666
|
+
</script>
|
|
667
|
+
<script type="application/javascript">
|
|
668
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
669
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
670
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
671
|
+
})(data.innerText));
|
|
672
|
+
window.STATIC_CONTENT = false;
|
|
673
|
+
</script>
|
|
674
|
+
<script type="application/javascript" defer src="az/toc.js"></script>
|
|
675
|
+
</body>
|
|
676
|
+
</html>"
|
|
677
|
+
`;
|
|
678
|
+
|
|
679
|
+
exports[`Alternates > skip-html-extension 5`] = `"window.__DATA__.data.toc = {"href":"az/","items":[{"href":"az/about","name":"About","id":"UUID"},{"href":"az/deep/test","name":"Test","id":"UUID"}],"path":"az/toc.yaml","id":"UUID"};"`;
|
|
680
|
+
|
|
681
|
+
exports[`Alternates > skip-html-extension 6`] = `
|
|
682
|
+
"<!DOCTYPE html>
|
|
683
|
+
<html lang="en" dir="ltr">
|
|
684
|
+
<head>
|
|
685
|
+
<meta charset="utf-8">
|
|
686
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
687
|
+
<base href="../" />
|
|
688
|
+
<title>About</title>
|
|
689
|
+
<link rel="canonical" href="en/about">
|
|
690
|
+
<link rel="alternate" href="az/about" hreflang="az" />
|
|
691
|
+
<link rel="alternate" href="en/about" hreflang="en" />
|
|
692
|
+
<link rel="alternate" href="ru/about" hreflang="ru" />
|
|
693
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
694
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
695
|
+
</head>
|
|
696
|
+
<body class="g-root g-root_theme_light">
|
|
697
|
+
<div id="root"></div>
|
|
698
|
+
<script type="application/json" id="diplodoc-state">
|
|
699
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/about","hreflang":"az"},{"href":"en/about","hreflang":"en"},{"href":"ru/about","hreflang":"ru"}],"canonical":"en/about","vcsPath":"en/about.md"},"headings":[],"title":"About"},"router":{"pathname":"en/about","depth":2,"base":"../"},"lang":"en","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
700
|
+
</script>
|
|
701
|
+
<script type="application/javascript">
|
|
702
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
703
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
704
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
705
|
+
})(data.innerText));
|
|
706
|
+
window.STATIC_CONTENT = false;
|
|
707
|
+
</script>
|
|
708
|
+
<script type="application/javascript" defer src="en/toc.js"></script>
|
|
709
|
+
</body>
|
|
710
|
+
</html>"
|
|
711
|
+
`;
|
|
712
|
+
|
|
713
|
+
exports[`Alternates > skip-html-extension 7`] = `
|
|
714
|
+
"<!DOCTYPE html>
|
|
715
|
+
<html lang="en" dir="ltr">
|
|
716
|
+
<head>
|
|
717
|
+
<meta charset="utf-8">
|
|
718
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
719
|
+
<base href="../../" />
|
|
720
|
+
<title>Test</title>
|
|
721
|
+
<link rel="canonical" href="en/deep/test">
|
|
722
|
+
<link rel="alternate" href="az/deep/test" hreflang="az" />
|
|
723
|
+
<link rel="alternate" href="en/deep/test" hreflang="en" />
|
|
724
|
+
<link rel="alternate" href="ru/deep/test" hreflang="ru" />
|
|
725
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
726
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
727
|
+
</head>
|
|
728
|
+
<body class="g-root g-root_theme_light">
|
|
729
|
+
<div id="root"></div>
|
|
730
|
+
<script type="application/json" id="diplodoc-state">
|
|
731
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/deep/test","hreflang":"az"},{"href":"en/deep/test","hreflang":"en"},{"href":"ru/deep/test","hreflang":"ru"}],"canonical":"en/deep/test","vcsPath":"en/deep/test.md"},"headings":[],"title":"Test"},"router":{"pathname":"en/deep/test","depth":3,"base":"../../"},"lang":"en","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
732
|
+
</script>
|
|
733
|
+
<script type="application/javascript">
|
|
734
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
735
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
736
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
737
|
+
})(data.innerText));
|
|
738
|
+
window.STATIC_CONTENT = false;
|
|
739
|
+
</script>
|
|
740
|
+
<script type="application/javascript" defer src="en/toc.js"></script>
|
|
741
|
+
</body>
|
|
742
|
+
</html>"
|
|
743
|
+
`;
|
|
744
|
+
|
|
745
|
+
exports[`Alternates > skip-html-extension 8`] = `
|
|
746
|
+
"<!DOCTYPE html>
|
|
747
|
+
<html lang="en" dir="ltr">
|
|
748
|
+
<head>
|
|
749
|
+
<meta charset="utf-8">
|
|
750
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
751
|
+
<base href="../" />
|
|
752
|
+
<title></title>
|
|
753
|
+
<link rel="canonical" href="en/">
|
|
754
|
+
<link rel="alternate" href="az/" hreflang="az" />
|
|
755
|
+
<link rel="alternate" href="en/" hreflang="en" />
|
|
756
|
+
<link rel="alternate" href="ru/" hreflang="ru" />
|
|
757
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
758
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
759
|
+
</head>
|
|
760
|
+
<body class="g-root g-root_theme_light">
|
|
761
|
+
<div id="root"></div>
|
|
762
|
+
<script type="application/json" id="diplodoc-state">
|
|
763
|
+
{"data":{"leading":true,"data":{"links":[{"url":"en/about/","name":"About"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/","hreflang":"az"},{"href":"en/","hreflang":"en"},{"href":"ru/","hreflang":"ru"}],"canonical":"en/","vcsPath":"en/index.yaml"},"title":""},"router":{"pathname":"en/index","depth":2,"base":"../"},"lang":"en","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
764
|
+
</script>
|
|
765
|
+
<script type="application/javascript">
|
|
766
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
767
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
768
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
769
|
+
})(data.innerText));
|
|
770
|
+
window.STATIC_CONTENT = false;
|
|
771
|
+
</script>
|
|
772
|
+
<script type="application/javascript" defer src="en/toc.js"></script>
|
|
773
|
+
</body>
|
|
774
|
+
</html>"
|
|
775
|
+
`;
|
|
776
|
+
|
|
777
|
+
exports[`Alternates > skip-html-extension 9`] = `"window.__DATA__.data.toc = {"href":"en/","items":[{"href":"en/about","name":"About","id":"UUID"},{"href":"en/deep/test","name":"Test","id":"UUID"}],"path":"en/toc.yaml","id":"UUID"};"`;
|
|
778
|
+
|
|
779
|
+
exports[`Alternates > skip-html-extension 10`] = `
|
|
780
|
+
"<!DOCTYPE html>
|
|
781
|
+
<html lang="ru" dir="ltr">
|
|
782
|
+
<head>
|
|
783
|
+
<meta charset="utf-8">
|
|
784
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
785
|
+
<base href="./" />
|
|
786
|
+
<title>Redirect to ./ru</title>
|
|
787
|
+
<meta http-equiv="refresh" content="0; url=./ru">
|
|
788
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
789
|
+
<script type="application/javascript">
|
|
790
|
+
window.location.replace("./ru");
|
|
791
|
+
</script>
|
|
792
|
+
</head>
|
|
793
|
+
<body class="g-root g-root_theme_light">
|
|
794
|
+
If you are not redirected automatically, follow this <a href="./ru">link</a>.
|
|
795
|
+
</body>
|
|
796
|
+
</html>"
|
|
797
|
+
`;
|
|
798
|
+
|
|
799
|
+
exports[`Alternates > skip-html-extension 11`] = `
|
|
800
|
+
"<!DOCTYPE html>
|
|
801
|
+
<html lang="ru" dir="ltr">
|
|
802
|
+
<head>
|
|
803
|
+
<meta charset="utf-8">
|
|
804
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
805
|
+
<base href="../" />
|
|
806
|
+
<title>About</title>
|
|
807
|
+
<link rel="canonical" href="ru/about">
|
|
808
|
+
<link rel="alternate" href="az/about" hreflang="az" />
|
|
809
|
+
<link rel="alternate" href="en/about" hreflang="en" />
|
|
810
|
+
<link rel="alternate" href="https://my-other-site.com/about" />
|
|
811
|
+
<link rel="alternate" href="ru/about" hreflang="ru" />
|
|
812
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
813
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
814
|
+
</head>
|
|
815
|
+
<body class="g-root g-root_theme_light">
|
|
816
|
+
<div id="root"></div>
|
|
817
|
+
<script type="application/json" id="diplodoc-state">
|
|
818
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/about","hreflang":"az"},{"href":"en/about","hreflang":"en"},{"href":"https://my-other-site.com/about"},{"href":"ru/about","hreflang":"ru"}],"canonical":"ru/about","vcsPath":"ru/about.md"},"headings":[],"title":"About"},"router":{"pathname":"ru/about","depth":2,"base":"../"},"lang":"ru","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
819
|
+
</script>
|
|
820
|
+
<script type="application/javascript">
|
|
821
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
822
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
823
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
824
|
+
})(data.innerText));
|
|
825
|
+
window.STATIC_CONTENT = false;
|
|
826
|
+
</script>
|
|
827
|
+
<script type="application/javascript" defer src="ru/toc.js"></script>
|
|
828
|
+
</body>
|
|
829
|
+
</html>"
|
|
830
|
+
`;
|
|
831
|
+
|
|
832
|
+
exports[`Alternates > skip-html-extension 12`] = `
|
|
833
|
+
"<!DOCTYPE html>
|
|
834
|
+
<html lang="ru" dir="ltr">
|
|
835
|
+
<head>
|
|
836
|
+
<meta charset="utf-8">
|
|
837
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
838
|
+
<base href="../../" />
|
|
839
|
+
<title>Test</title>
|
|
840
|
+
<link rel="canonical" href="ru/deep/test">
|
|
841
|
+
<link rel="alternate" href="az/deep/test" hreflang="az" />
|
|
842
|
+
<link rel="alternate" href="en/deep/test" hreflang="en" />
|
|
843
|
+
<link rel="alternate" href="ru/deep/test" hreflang="ru" />
|
|
844
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
845
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
846
|
+
</head>
|
|
847
|
+
<body class="g-root g-root_theme_light">
|
|
848
|
+
<div id="root"></div>
|
|
849
|
+
<script type="application/json" id="diplodoc-state">
|
|
850
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/deep/test","hreflang":"az"},{"href":"en/deep/test","hreflang":"en"},{"href":"ru/deep/test","hreflang":"ru"}],"canonical":"ru/deep/test","vcsPath":"ru/deep/test.md"},"headings":[],"title":"Test"},"router":{"pathname":"ru/deep/test","depth":3,"base":"../../"},"lang":"ru","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
851
|
+
</script>
|
|
852
|
+
<script type="application/javascript">
|
|
853
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
854
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
855
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
856
|
+
})(data.innerText));
|
|
857
|
+
window.STATIC_CONTENT = false;
|
|
858
|
+
</script>
|
|
859
|
+
<script type="application/javascript" defer src="ru/toc.js"></script>
|
|
860
|
+
</body>
|
|
861
|
+
</html>"
|
|
862
|
+
`;
|
|
863
|
+
|
|
864
|
+
exports[`Alternates > skip-html-extension 13`] = `
|
|
865
|
+
"<!DOCTYPE html>
|
|
866
|
+
<html lang="ru" dir="ltr">
|
|
867
|
+
<head>
|
|
868
|
+
<meta charset="utf-8">
|
|
869
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
870
|
+
<base href="../" />
|
|
871
|
+
<title></title>
|
|
872
|
+
<link rel="canonical" href="ru/">
|
|
873
|
+
<link rel="alternate" href="az/" hreflang="az" />
|
|
874
|
+
<link rel="alternate" href="en/" hreflang="en" />
|
|
875
|
+
<link rel="alternate" href="ru/" hreflang="ru" />
|
|
876
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
877
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
878
|
+
</head>
|
|
879
|
+
<body class="g-root g-root_theme_light">
|
|
880
|
+
<div id="root"></div>
|
|
881
|
+
<script type="application/json" id="diplodoc-state">
|
|
882
|
+
{"data":{"leading":true,"data":{"links":[{"url":"ru/about/","name":"About"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/","hreflang":"az"},{"href":"en/","hreflang":"en"},{"href":"ru/","hreflang":"ru"}],"canonical":"ru/","vcsPath":"ru/index.yaml"},"title":""},"router":{"pathname":"ru/index","depth":2,"base":"../"},"lang":"ru","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
883
|
+
</script>
|
|
884
|
+
<script type="application/javascript">
|
|
885
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
886
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
887
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
888
|
+
})(data.innerText));
|
|
889
|
+
window.STATIC_CONTENT = false;
|
|
890
|
+
</script>
|
|
891
|
+
<script type="application/javascript" defer src="ru/toc.js"></script>
|
|
892
|
+
</body>
|
|
893
|
+
</html>"
|
|
894
|
+
`;
|
|
895
|
+
|
|
896
|
+
exports[`Alternates > skip-html-extension 14`] = `"window.__DATA__.data.toc = {"href":"ru/","items":[{"href":"ru/about","name":"About","id":"UUID"},{"href":"ru/deep/test","name":"Test","id":"UUID"}],"path":"ru/toc.yaml","id":"UUID"};"`;
|
|
897
|
+
|
|
898
|
+
exports[`Alternates with --no-add-alternate-meta > should not add alternate meta tags when --no-add-alternate-meta is used > filelist 1`] = `
|
|
899
|
+
"[
|
|
900
|
+
".yfm",
|
|
901
|
+
"az/about.html",
|
|
902
|
+
"az/deep/test.html",
|
|
903
|
+
"az/index.html",
|
|
904
|
+
"az/toc.js",
|
|
905
|
+
"en/about.html",
|
|
906
|
+
"en/deep/test.html",
|
|
907
|
+
"en/index.html",
|
|
908
|
+
"en/toc.js",
|
|
909
|
+
"index.html",
|
|
910
|
+
"ru/about.html",
|
|
911
|
+
"ru/deep/test.html",
|
|
912
|
+
"ru/index.html",
|
|
913
|
+
"ru/toc.js"
|
|
914
|
+
]"
|
|
915
|
+
`;
|
|
916
|
+
|
|
917
|
+
exports[`Alternates with --no-add-alternate-meta > should not add alternate meta tags when --no-add-alternate-meta is used 1`] = `
|
|
918
|
+
"langs: ['ru', 'en', {'lang': 'az', 'tld': 'az'}]
|
|
919
|
+
"
|
|
920
|
+
`;
|
|
921
|
+
|
|
922
|
+
exports[`Alternates with --no-add-alternate-meta > should not add alternate meta tags when --no-add-alternate-meta is used 2`] = `
|
|
923
|
+
"<!DOCTYPE html>
|
|
924
|
+
<html lang="az" dir="ltr">
|
|
925
|
+
<head>
|
|
926
|
+
<meta charset="utf-8">
|
|
927
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
928
|
+
<base href="../" />
|
|
929
|
+
<title>About</title>
|
|
930
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
931
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
932
|
+
</head>
|
|
933
|
+
<body class="g-root g-root_theme_light">
|
|
934
|
+
<div id="root"></div>
|
|
935
|
+
<script type="application/json" id="diplodoc-state">
|
|
936
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"az/about.md"},"headings":[],"title":"About"},"router":{"pathname":"az/about","depth":2,"base":"../"},"lang":"az","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
937
|
+
</script>
|
|
938
|
+
<script type="application/javascript">
|
|
939
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
940
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
941
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
942
|
+
})(data.innerText));
|
|
943
|
+
window.STATIC_CONTENT = false;
|
|
944
|
+
</script>
|
|
945
|
+
<script type="application/javascript" defer src="az/toc.js"></script>
|
|
946
|
+
</body>
|
|
947
|
+
</html>"
|
|
948
|
+
`;
|
|
949
|
+
|
|
950
|
+
exports[`Alternates with --no-add-alternate-meta > should not add alternate meta tags when --no-add-alternate-meta is used 3`] = `
|
|
951
|
+
"<!DOCTYPE html>
|
|
952
|
+
<html lang="az" dir="ltr">
|
|
953
|
+
<head>
|
|
954
|
+
<meta charset="utf-8">
|
|
955
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
956
|
+
<base href="../../" />
|
|
957
|
+
<title>Test</title>
|
|
958
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
959
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
960
|
+
</head>
|
|
961
|
+
<body class="g-root g-root_theme_light">
|
|
962
|
+
<div id="root"></div>
|
|
963
|
+
<script type="application/json" id="diplodoc-state">
|
|
964
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"az/deep/test.md"},"headings":[],"title":"Test"},"router":{"pathname":"az/deep/test","depth":3,"base":"../../"},"lang":"az","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
965
|
+
</script>
|
|
966
|
+
<script type="application/javascript">
|
|
967
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
968
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
969
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
970
|
+
})(data.innerText));
|
|
971
|
+
window.STATIC_CONTENT = false;
|
|
972
|
+
</script>
|
|
973
|
+
<script type="application/javascript" defer src="az/toc.js"></script>
|
|
974
|
+
</body>
|
|
975
|
+
</html>"
|
|
976
|
+
`;
|
|
977
|
+
|
|
978
|
+
exports[`Alternates with --no-add-alternate-meta > should not add alternate meta tags when --no-add-alternate-meta is used 4`] = `
|
|
979
|
+
"<!DOCTYPE html>
|
|
980
|
+
<html lang="az" dir="ltr">
|
|
981
|
+
<head>
|
|
982
|
+
<meta charset="utf-8">
|
|
983
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
984
|
+
<base href="../" />
|
|
985
|
+
<title></title>
|
|
986
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
987
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
988
|
+
</head>
|
|
989
|
+
<body class="g-root g-root_theme_light">
|
|
990
|
+
<div id="root"></div>
|
|
991
|
+
<script type="application/json" id="diplodoc-state">
|
|
992
|
+
{"data":{"leading":true,"data":{"links":[{"url":"az/about/index.html","name":"About"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"az/index.yaml"},"title":""},"router":{"pathname":"az/index","depth":2,"base":"../"},"lang":"az","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
993
|
+
</script>
|
|
994
|
+
<script type="application/javascript">
|
|
995
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
996
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
997
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
998
|
+
})(data.innerText));
|
|
999
|
+
window.STATIC_CONTENT = false;
|
|
1000
|
+
</script>
|
|
1001
|
+
<script type="application/javascript" defer src="az/toc.js"></script>
|
|
1002
|
+
</body>
|
|
1003
|
+
</html>"
|
|
1004
|
+
`;
|
|
1005
|
+
|
|
1006
|
+
exports[`Alternates with --no-add-alternate-meta > should not add alternate meta tags when --no-add-alternate-meta is used 5`] = `"window.__DATA__.data.toc = {"href":"az/index.html","items":[{"href":"az/about.html","name":"About","id":"UUID"},{"href":"az/deep/test.html","name":"Test","id":"UUID"}],"path":"az/toc.yaml","id":"UUID"};"`;
|
|
1007
|
+
|
|
1008
|
+
exports[`Alternates with --no-add-alternate-meta > should not add alternate meta tags when --no-add-alternate-meta is used 6`] = `
|
|
1009
|
+
"<!DOCTYPE html>
|
|
1010
|
+
<html lang="en" dir="ltr">
|
|
1011
|
+
<head>
|
|
1012
|
+
<meta charset="utf-8">
|
|
1013
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1014
|
+
<base href="../" />
|
|
1015
|
+
<title>About</title>
|
|
1016
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1017
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1018
|
+
</head>
|
|
1019
|
+
<body class="g-root g-root_theme_light">
|
|
1020
|
+
<div id="root"></div>
|
|
1021
|
+
<script type="application/json" id="diplodoc-state">
|
|
1022
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"en/about.md"},"headings":[],"title":"About"},"router":{"pathname":"en/about","depth":2,"base":"../"},"lang":"en","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1023
|
+
</script>
|
|
1024
|
+
<script type="application/javascript">
|
|
1025
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1026
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1027
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1028
|
+
})(data.innerText));
|
|
1029
|
+
window.STATIC_CONTENT = false;
|
|
1030
|
+
</script>
|
|
1031
|
+
<script type="application/javascript" defer src="en/toc.js"></script>
|
|
1032
|
+
</body>
|
|
1033
|
+
</html>"
|
|
1034
|
+
`;
|
|
1035
|
+
|
|
1036
|
+
exports[`Alternates with --no-add-alternate-meta > should not add alternate meta tags when --no-add-alternate-meta is used 7`] = `
|
|
1037
|
+
"<!DOCTYPE html>
|
|
1038
|
+
<html lang="en" dir="ltr">
|
|
1039
|
+
<head>
|
|
1040
|
+
<meta charset="utf-8">
|
|
1041
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1042
|
+
<base href="../../" />
|
|
1043
|
+
<title>Test</title>
|
|
1044
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1045
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1046
|
+
</head>
|
|
1047
|
+
<body class="g-root g-root_theme_light">
|
|
1048
|
+
<div id="root"></div>
|
|
1049
|
+
<script type="application/json" id="diplodoc-state">
|
|
1050
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"en/deep/test.md"},"headings":[],"title":"Test"},"router":{"pathname":"en/deep/test","depth":3,"base":"../../"},"lang":"en","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1051
|
+
</script>
|
|
1052
|
+
<script type="application/javascript">
|
|
1053
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1054
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1055
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1056
|
+
})(data.innerText));
|
|
1057
|
+
window.STATIC_CONTENT = false;
|
|
1058
|
+
</script>
|
|
1059
|
+
<script type="application/javascript" defer src="en/toc.js"></script>
|
|
1060
|
+
</body>
|
|
1061
|
+
</html>"
|
|
1062
|
+
`;
|
|
1063
|
+
|
|
1064
|
+
exports[`Alternates with --no-add-alternate-meta > should not add alternate meta tags when --no-add-alternate-meta is used 8`] = `
|
|
1065
|
+
"<!DOCTYPE html>
|
|
1066
|
+
<html lang="en" dir="ltr">
|
|
1067
|
+
<head>
|
|
1068
|
+
<meta charset="utf-8">
|
|
1069
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1070
|
+
<base href="../" />
|
|
1071
|
+
<title></title>
|
|
1072
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1073
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1074
|
+
</head>
|
|
1075
|
+
<body class="g-root g-root_theme_light">
|
|
1076
|
+
<div id="root"></div>
|
|
1077
|
+
<script type="application/json" id="diplodoc-state">
|
|
1078
|
+
{"data":{"leading":true,"data":{"links":[{"url":"en/about/index.html","name":"About"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"en/index.yaml"},"title":""},"router":{"pathname":"en/index","depth":2,"base":"../"},"lang":"en","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1079
|
+
</script>
|
|
1080
|
+
<script type="application/javascript">
|
|
1081
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1082
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1083
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1084
|
+
})(data.innerText));
|
|
1085
|
+
window.STATIC_CONTENT = false;
|
|
1086
|
+
</script>
|
|
1087
|
+
<script type="application/javascript" defer src="en/toc.js"></script>
|
|
1088
|
+
</body>
|
|
1089
|
+
</html>"
|
|
1090
|
+
`;
|
|
1091
|
+
|
|
1092
|
+
exports[`Alternates with --no-add-alternate-meta > should not add alternate meta tags when --no-add-alternate-meta is used 9`] = `"window.__DATA__.data.toc = {"href":"en/index.html","items":[{"href":"en/about.html","name":"About","id":"UUID"},{"href":"en/deep/test.html","name":"Test","id":"UUID"}],"path":"en/toc.yaml","id":"UUID"};"`;
|
|
1093
|
+
|
|
1094
|
+
exports[`Alternates with --no-add-alternate-meta > should not add alternate meta tags when --no-add-alternate-meta is used 10`] = `
|
|
1095
|
+
"<!DOCTYPE html>
|
|
1096
|
+
<html lang="ru" dir="ltr">
|
|
1097
|
+
<head>
|
|
1098
|
+
<meta charset="utf-8">
|
|
1099
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1100
|
+
<base href="./" />
|
|
1101
|
+
<title>Redirect to ./ru/index.html</title>
|
|
1102
|
+
<meta http-equiv="refresh" content="0; url=./ru/index.html">
|
|
1103
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1104
|
+
<script type="application/javascript">
|
|
1105
|
+
window.location.replace("./ru/index.html");
|
|
1106
|
+
</script>
|
|
1107
|
+
</head>
|
|
1108
|
+
<body class="g-root g-root_theme_light">
|
|
1109
|
+
If you are not redirected automatically, follow this <a href="./ru/index.html">link</a>.
|
|
1110
|
+
</body>
|
|
1111
|
+
</html>"
|
|
1112
|
+
`;
|
|
1113
|
+
|
|
1114
|
+
exports[`Alternates with --no-add-alternate-meta > should not add alternate meta tags when --no-add-alternate-meta is used 11`] = `
|
|
1115
|
+
"<!DOCTYPE html>
|
|
1116
|
+
<html lang="ru" dir="ltr">
|
|
1117
|
+
<head>
|
|
1118
|
+
<meta charset="utf-8">
|
|
1119
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1120
|
+
<base href="../" />
|
|
1121
|
+
<title>About</title>
|
|
1122
|
+
<link rel="alternate" href="https://my-other-site.com/about" />
|
|
1123
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1124
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1125
|
+
</head>
|
|
1126
|
+
<body class="g-root g-root_theme_light">
|
|
1127
|
+
<div id="root"></div>
|
|
1128
|
+
<script type="application/json" id="diplodoc-state">
|
|
1129
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"https://my-other-site.com/about"}],"vcsPath":"ru/about.md"},"headings":[],"title":"About"},"router":{"pathname":"ru/about","depth":2,"base":"../"},"lang":"ru","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1130
|
+
</script>
|
|
1131
|
+
<script type="application/javascript">
|
|
1132
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1133
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1134
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1135
|
+
})(data.innerText));
|
|
1136
|
+
window.STATIC_CONTENT = false;
|
|
1137
|
+
</script>
|
|
1138
|
+
<script type="application/javascript" defer src="ru/toc.js"></script>
|
|
1139
|
+
</body>
|
|
1140
|
+
</html>"
|
|
1141
|
+
`;
|
|
1142
|
+
|
|
1143
|
+
exports[`Alternates with --no-add-alternate-meta > should not add alternate meta tags when --no-add-alternate-meta is used 12`] = `
|
|
1144
|
+
"<!DOCTYPE html>
|
|
1145
|
+
<html lang="ru" dir="ltr">
|
|
1146
|
+
<head>
|
|
1147
|
+
<meta charset="utf-8">
|
|
1148
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1149
|
+
<base href="../../" />
|
|
1150
|
+
<title>Test</title>
|
|
1151
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1152
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1153
|
+
</head>
|
|
1154
|
+
<body class="g-root g-root_theme_light">
|
|
1155
|
+
<div id="root"></div>
|
|
1156
|
+
<script type="application/json" id="diplodoc-state">
|
|
1157
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"ru/deep/test.md"},"headings":[],"title":"Test"},"router":{"pathname":"ru/deep/test","depth":3,"base":"../../"},"lang":"ru","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1158
|
+
</script>
|
|
1159
|
+
<script type="application/javascript">
|
|
1160
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1161
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1162
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1163
|
+
})(data.innerText));
|
|
1164
|
+
window.STATIC_CONTENT = false;
|
|
1165
|
+
</script>
|
|
1166
|
+
<script type="application/javascript" defer src="ru/toc.js"></script>
|
|
1167
|
+
</body>
|
|
1168
|
+
</html>"
|
|
1169
|
+
`;
|
|
1170
|
+
|
|
1171
|
+
exports[`Alternates with --no-add-alternate-meta > should not add alternate meta tags when --no-add-alternate-meta is used 13`] = `
|
|
1172
|
+
"<!DOCTYPE html>
|
|
1173
|
+
<html lang="ru" dir="ltr">
|
|
1174
|
+
<head>
|
|
1175
|
+
<meta charset="utf-8">
|
|
1176
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1177
|
+
<base href="../" />
|
|
1178
|
+
<title></title>
|
|
1179
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1180
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1181
|
+
</head>
|
|
1182
|
+
<body class="g-root g-root_theme_light">
|
|
1183
|
+
<div id="root"></div>
|
|
1184
|
+
<script type="application/json" id="diplodoc-state">
|
|
1185
|
+
{"data":{"leading":true,"data":{"links":[{"url":"ru/about/index.html","name":"About"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"ru/index.yaml"},"title":""},"router":{"pathname":"ru/index","depth":2,"base":"../"},"lang":"ru","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1186
|
+
</script>
|
|
1187
|
+
<script type="application/javascript">
|
|
1188
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1189
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1190
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1191
|
+
})(data.innerText));
|
|
1192
|
+
window.STATIC_CONTENT = false;
|
|
1193
|
+
</script>
|
|
1194
|
+
<script type="application/javascript" defer src="ru/toc.js"></script>
|
|
1195
|
+
</body>
|
|
1196
|
+
</html>"
|
|
1197
|
+
`;
|
|
1198
|
+
|
|
1199
|
+
exports[`Alternates with --no-add-alternate-meta > should not add alternate meta tags when --no-add-alternate-meta is used 14`] = `"window.__DATA__.data.toc = {"href":"ru/index.html","items":[{"href":"ru/about.html","name":"About","id":"UUID"},{"href":"ru/deep/test.html","name":"Test","id":"UUID"}],"path":"ru/toc.yaml","id":"UUID"};"`;
|