typedoc 0.28.0-beta.0 → 0.28.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/application.d.ts +1 -1
- package/dist/lib/application.js +6 -0
- package/dist/lib/converter/context.js +1 -2
- package/dist/lib/converter/factories/index-signature.js +3 -2
- package/dist/lib/converter/jsdoc.js +2 -1
- package/dist/lib/converter/plugins/PackagePlugin.js +18 -8
- package/dist/lib/converter/symbols.js +45 -2
- package/dist/lib/internationalization/locales/en.cjs +2 -0
- package/dist/lib/internationalization/locales/en.d.cts +2 -0
- package/dist/lib/internationalization/locales/zh.cjs +8 -3
- package/dist/lib/internationalization/locales/zh.d.cts +6 -1
- package/dist/lib/output/index.d.ts +1 -3
- package/dist/lib/output/index.js +0 -1
- package/dist/lib/output/router.js +6 -0
- package/dist/lib/output/themes/MarkedPlugin.js +1 -1
- package/dist/lib/output/themes/default/DefaultTheme.d.ts +5 -1
- package/dist/lib/output/themes/default/DefaultTheme.js +0 -1
- package/dist/lib/output/themes/default/DefaultThemeRenderContext.d.ts +1 -1
- package/dist/lib/output/themes/default/DefaultThemeRenderContext.js +2 -12
- package/dist/lib/output/themes/default/partials/typeParameters.js +8 -2
- package/dist/lib/utils/fs.d.ts +0 -4
- package/dist/lib/utils/fs.js +0 -21
- package/dist/lib/utils/options/declaration.d.ts +13 -1
- package/dist/lib/utils/options/declaration.js +68 -0
- package/dist/lib/utils/options/index.d.ts +1 -1
- package/dist/lib/utils/options/sources/typedoc.js +1 -1
- package/dist/lib/utils/options/tsdoc-defaults.d.ts +1 -1
- package/dist/lib/utils/options/tsdoc-defaults.js +1 -0
- package/package.json +1 -1
- package/static/main.js +4 -4
- package/static/style.css +24 -19
- package/tsdoc.json +4 -0
- package/dist/browser-utils.d.ts.map +0 -1
- package/dist/browser-utils.js.map +0 -1
- package/dist/generated/en.d.ts +0 -2
- package/dist/generated/en.js +0 -62
- package/dist/generated/ja.d.ts +0 -2
- package/dist/generated/ja.js +0 -62
- package/dist/generated/ko.d.ts +0 -2
- package/dist/generated/ko.js +0 -62
- package/dist/generated/zh.d.ts +0 -2
- package/dist/generated/zh.js +0 -62
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/lib/application-events.d.ts.map +0 -1
- package/dist/lib/application-events.js.map +0 -1
- package/dist/lib/application.d.ts.map +0 -1
- package/dist/lib/application.js.map +0 -1
- package/dist/lib/cli.d.ts.map +0 -1
- package/dist/lib/cli.js.map +0 -1
- package/dist/lib/converter/comments/blockLexer.d.ts.map +0 -1
- package/dist/lib/converter/comments/blockLexer.js.map +0 -1
- package/dist/lib/converter/comments/declarationReferenceResolver.d.ts.map +0 -1
- package/dist/lib/converter/comments/declarationReferenceResolver.js.map +0 -1
- package/dist/lib/converter/comments/discovery.d.ts.map +0 -1
- package/dist/lib/converter/comments/discovery.js.map +0 -1
- package/dist/lib/converter/comments/index.d.ts.map +0 -1
- package/dist/lib/converter/comments/index.js.map +0 -1
- package/dist/lib/converter/comments/lexer.d.ts.map +0 -1
- package/dist/lib/converter/comments/lexer.js.map +0 -1
- package/dist/lib/converter/comments/lineLexer.d.ts.map +0 -1
- package/dist/lib/converter/comments/lineLexer.js.map +0 -1
- package/dist/lib/converter/comments/linkResolver.d.ts.map +0 -1
- package/dist/lib/converter/comments/linkResolver.js.map +0 -1
- package/dist/lib/converter/comments/parser.d.ts.map +0 -1
- package/dist/lib/converter/comments/parser.js.map +0 -1
- package/dist/lib/converter/comments/rawLexer.d.ts.map +0 -1
- package/dist/lib/converter/comments/rawLexer.js.map +0 -1
- package/dist/lib/converter/comments/tagName.d.ts.map +0 -1
- package/dist/lib/converter/comments/tagName.js.map +0 -1
- package/dist/lib/converter/comments/textParser.d.ts.map +0 -1
- package/dist/lib/converter/comments/textParser.js.map +0 -1
- package/dist/lib/converter/components.d.ts.map +0 -1
- package/dist/lib/converter/components.js.map +0 -1
- package/dist/lib/converter/context.d.ts.map +0 -1
- package/dist/lib/converter/context.js.map +0 -1
- package/dist/lib/converter/convert-expression.d.ts.map +0 -1
- package/dist/lib/converter/convert-expression.js.map +0 -1
- package/dist/lib/converter/converter-events.d.ts.map +0 -1
- package/dist/lib/converter/converter-events.js.map +0 -1
- package/dist/lib/converter/converter.d.ts.map +0 -1
- package/dist/lib/converter/converter.js.map +0 -1
- package/dist/lib/converter/factories/index-signature.d.ts.map +0 -1
- package/dist/lib/converter/factories/index-signature.js.map +0 -1
- package/dist/lib/converter/factories/signature.d.ts.map +0 -1
- package/dist/lib/converter/factories/signature.js.map +0 -1
- package/dist/lib/converter/factories/symbol-id.d.ts.map +0 -1
- package/dist/lib/converter/factories/symbol-id.js.map +0 -1
- package/dist/lib/converter/factories/types.d.ts.map +0 -1
- package/dist/lib/converter/factories/types.js.map +0 -1
- package/dist/lib/converter/index.d.ts.map +0 -1
- package/dist/lib/converter/index.js.map +0 -1
- package/dist/lib/converter/jsdoc.d.ts.map +0 -1
- package/dist/lib/converter/jsdoc.js.map +0 -1
- package/dist/lib/converter/plugins/CategoryPlugin.d.ts.map +0 -1
- package/dist/lib/converter/plugins/CategoryPlugin.js.map +0 -1
- package/dist/lib/converter/plugins/CommentPlugin.d.ts.map +0 -1
- package/dist/lib/converter/plugins/CommentPlugin.js.map +0 -1
- package/dist/lib/converter/plugins/GroupPlugin.d.ts.map +0 -1
- package/dist/lib/converter/plugins/GroupPlugin.js.map +0 -1
- package/dist/lib/converter/plugins/ImplementsPlugin.d.ts.map +0 -1
- package/dist/lib/converter/plugins/ImplementsPlugin.js.map +0 -1
- package/dist/lib/converter/plugins/IncludePlugin.d.ts.map +0 -1
- package/dist/lib/converter/plugins/IncludePlugin.js.map +0 -1
- package/dist/lib/converter/plugins/InheritDocPlugin.d.ts.map +0 -1
- package/dist/lib/converter/plugins/InheritDocPlugin.js.map +0 -1
- package/dist/lib/converter/plugins/LinkResolverPlugin.d.ts.map +0 -1
- package/dist/lib/converter/plugins/LinkResolverPlugin.js.map +0 -1
- package/dist/lib/converter/plugins/MergeModuleWithPlugin.d.ts.map +0 -1
- package/dist/lib/converter/plugins/MergeModuleWithPlugin.js.map +0 -1
- package/dist/lib/converter/plugins/PackagePlugin.d.ts.map +0 -1
- package/dist/lib/converter/plugins/PackagePlugin.js.map +0 -1
- package/dist/lib/converter/plugins/SourcePlugin.d.ts.map +0 -1
- package/dist/lib/converter/plugins/SourcePlugin.js.map +0 -1
- package/dist/lib/converter/plugins/TypePlugin.d.ts.map +0 -1
- package/dist/lib/converter/plugins/TypePlugin.js.map +0 -1
- package/dist/lib/converter/plugins/index.d.ts.map +0 -1
- package/dist/lib/converter/plugins/index.js.map +0 -1
- package/dist/lib/converter/symbols.d.ts.map +0 -1
- package/dist/lib/converter/symbols.js.map +0 -1
- package/dist/lib/converter/types.d.ts.map +0 -1
- package/dist/lib/converter/types.js.map +0 -1
- package/dist/lib/converter/utils/nodes.d.ts.map +0 -1
- package/dist/lib/converter/utils/nodes.js.map +0 -1
- package/dist/lib/converter/utils/reflections.d.ts.map +0 -1
- package/dist/lib/converter/utils/reflections.js.map +0 -1
- package/dist/lib/converter/utils/repository.d.ts.map +0 -1
- package/dist/lib/converter/utils/repository.js.map +0 -1
- package/dist/lib/converter/utils/symbols.d.ts.map +0 -1
- package/dist/lib/converter/utils/symbols.js.map +0 -1
- package/dist/lib/debug/index.d.ts.map +0 -1
- package/dist/lib/debug/index.js.map +0 -1
- package/dist/lib/debug/reflectionLifetimes.d.ts.map +0 -1
- package/dist/lib/debug/reflectionLifetimes.js.map +0 -1
- package/dist/lib/debug/rendererUrls.d.ts.map +0 -1
- package/dist/lib/debug/rendererUrls.js.map +0 -1
- package/dist/lib/internationalization/index.d.ts.map +0 -1
- package/dist/lib/internationalization/index.js.map +0 -1
- package/dist/lib/internationalization/internationalization.d.ts.map +0 -1
- package/dist/lib/internationalization/internationalization.js.map +0 -1
- package/dist/lib/internationalization/locale-utils.cjs.map +0 -1
- package/dist/lib/internationalization/locale-utils.d.cts.map +0 -1
- package/dist/lib/internationalization/locales/en.cjs.map +0 -1
- package/dist/lib/internationalization/locales/en.d.cts.map +0 -1
- package/dist/lib/internationalization/locales/ja.cjs.map +0 -1
- package/dist/lib/internationalization/locales/ja.d.cts.map +0 -1
- package/dist/lib/internationalization/locales/ko.cjs.map +0 -1
- package/dist/lib/internationalization/locales/ko.d.cts.map +0 -1
- package/dist/lib/internationalization/locales/zh.cjs.map +0 -1
- package/dist/lib/internationalization/locales/zh.d.cts.map +0 -1
- package/dist/lib/internationalization/translatable.d.ts.map +0 -1
- package/dist/lib/internationalization/translatable.js.map +0 -1
- package/dist/lib/models/Comment.d.ts.map +0 -1
- package/dist/lib/models/Comment.js.map +0 -1
- package/dist/lib/models/ContainerReflection.d.ts.map +0 -1
- package/dist/lib/models/ContainerReflection.js.map +0 -1
- package/dist/lib/models/DeclarationReflection.d.ts.map +0 -1
- package/dist/lib/models/DeclarationReflection.js.map +0 -1
- package/dist/lib/models/DocumentReflection.d.ts.map +0 -1
- package/dist/lib/models/DocumentReflection.js.map +0 -1
- package/dist/lib/models/FileRegistry.d.ts.map +0 -1
- package/dist/lib/models/FileRegistry.js.map +0 -1
- package/dist/lib/models/ParameterReflection.d.ts.map +0 -1
- package/dist/lib/models/ParameterReflection.js.map +0 -1
- package/dist/lib/models/ProjectReflection.d.ts.map +0 -1
- package/dist/lib/models/ProjectReflection.js.map +0 -1
- package/dist/lib/models/ReferenceReflection.d.ts.map +0 -1
- package/dist/lib/models/ReferenceReflection.js.map +0 -1
- package/dist/lib/models/Reflection.d.ts.map +0 -1
- package/dist/lib/models/Reflection.js.map +0 -1
- package/dist/lib/models/ReflectionCategory.d.ts.map +0 -1
- package/dist/lib/models/ReflectionCategory.js.map +0 -1
- package/dist/lib/models/ReflectionGroup.d.ts.map +0 -1
- package/dist/lib/models/ReflectionGroup.js.map +0 -1
- package/dist/lib/models/ReflectionSymbolId.d.ts.map +0 -1
- package/dist/lib/models/ReflectionSymbolId.js.map +0 -1
- package/dist/lib/models/SignatureReflection.d.ts.map +0 -1
- package/dist/lib/models/SignatureReflection.js.map +0 -1
- package/dist/lib/models/SourceReference.d.ts.map +0 -1
- package/dist/lib/models/SourceReference.js.map +0 -1
- package/dist/lib/models/TypeParameterReflection.d.ts.map +0 -1
- package/dist/lib/models/TypeParameterReflection.js.map +0 -1
- package/dist/lib/models/index.d.ts.map +0 -1
- package/dist/lib/models/index.js.map +0 -1
- package/dist/lib/models/kind.d.ts.map +0 -1
- package/dist/lib/models/kind.js.map +0 -1
- package/dist/lib/models/types.d.ts.map +0 -1
- package/dist/lib/models/types.js.map +0 -1
- package/dist/lib/models/utils.d.ts.map +0 -1
- package/dist/lib/models/utils.js.map +0 -1
- package/dist/lib/models/variant.d.ts.map +0 -1
- package/dist/lib/models/variant.js.map +0 -1
- package/dist/lib/output/components.d.ts.map +0 -1
- package/dist/lib/output/components.js.map +0 -1
- package/dist/lib/output/events.d.ts.map +0 -1
- package/dist/lib/output/events.js.map +0 -1
- package/dist/lib/output/formatter.d.ts.map +0 -1
- package/dist/lib/output/formatter.js.map +0 -1
- package/dist/lib/output/index.d.ts.map +0 -1
- package/dist/lib/output/index.js.map +0 -1
- package/dist/lib/output/models/UrlMapping.d.ts +0 -13
- package/dist/lib/output/models/UrlMapping.d.ts.map +0 -1
- package/dist/lib/output/models/UrlMapping.js +0 -10
- package/dist/lib/output/models/UrlMapping.js.map +0 -1
- package/dist/lib/output/output.d.ts.map +0 -1
- package/dist/lib/output/output.js.map +0 -1
- package/dist/lib/output/plugins/AssetsPlugin.d.ts.map +0 -1
- package/dist/lib/output/plugins/AssetsPlugin.js.map +0 -1
- package/dist/lib/output/plugins/HierarchyPlugin.d.ts.map +0 -1
- package/dist/lib/output/plugins/HierarchyPlugin.js.map +0 -1
- package/dist/lib/output/plugins/IconsPlugin.d.ts.map +0 -1
- package/dist/lib/output/plugins/IconsPlugin.js.map +0 -1
- package/dist/lib/output/plugins/JavascriptIndexPlugin.d.ts.map +0 -1
- package/dist/lib/output/plugins/JavascriptIndexPlugin.js.map +0 -1
- package/dist/lib/output/plugins/NavigationPlugin.d.ts.map +0 -1
- package/dist/lib/output/plugins/NavigationPlugin.js.map +0 -1
- package/dist/lib/output/plugins/SitemapPlugin.d.ts.map +0 -1
- package/dist/lib/output/plugins/SitemapPlugin.js.map +0 -1
- package/dist/lib/output/plugins/index.d.ts.map +0 -1
- package/dist/lib/output/plugins/index.js.map +0 -1
- package/dist/lib/output/renderer.d.ts.map +0 -1
- package/dist/lib/output/renderer.js.map +0 -1
- package/dist/lib/output/router.d.ts.map +0 -1
- package/dist/lib/output/router.js.map +0 -1
- package/dist/lib/output/theme.d.ts.map +0 -1
- package/dist/lib/output/theme.js.map +0 -1
- package/dist/lib/output/themes/MarkedPlugin.d.ts.map +0 -1
- package/dist/lib/output/themes/MarkedPlugin.js.map +0 -1
- package/dist/lib/output/themes/default/DefaultTheme.d.ts.map +0 -1
- package/dist/lib/output/themes/default/DefaultTheme.js.map +0 -1
- package/dist/lib/output/themes/default/DefaultThemeRenderContext.d.ts.map +0 -1
- package/dist/lib/output/themes/default/DefaultThemeRenderContext.js.map +0 -1
- package/dist/lib/output/themes/default/Slugger.d.ts.map +0 -1
- package/dist/lib/output/themes/default/Slugger.js.map +0 -1
- package/dist/lib/output/themes/default/layouts/default.d.ts.map +0 -1
- package/dist/lib/output/themes/default/layouts/default.js.map +0 -1
- package/dist/lib/output/themes/default/partials/anchor-icon.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/anchor-icon.js.map +0 -1
- package/dist/lib/output/themes/default/partials/breadcrumb.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/breadcrumb.js.map +0 -1
- package/dist/lib/output/themes/default/partials/comment.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/comment.js.map +0 -1
- package/dist/lib/output/themes/default/partials/footer.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/footer.js.map +0 -1
- package/dist/lib/output/themes/default/partials/header.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/header.js.map +0 -1
- package/dist/lib/output/themes/default/partials/hierarchy.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/hierarchy.js.map +0 -1
- package/dist/lib/output/themes/default/partials/icon.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/icon.js.map +0 -1
- package/dist/lib/output/themes/default/partials/index.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/index.js.map +0 -1
- package/dist/lib/output/themes/default/partials/member.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/member.declaration.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/member.declaration.js.map +0 -1
- package/dist/lib/output/themes/default/partials/member.getterSetter.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/member.getterSetter.js.map +0 -1
- package/dist/lib/output/themes/default/partials/member.js.map +0 -1
- package/dist/lib/output/themes/default/partials/member.signature.body.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/member.signature.body.js.map +0 -1
- package/dist/lib/output/themes/default/partials/member.signature.title.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/member.signature.title.js.map +0 -1
- package/dist/lib/output/themes/default/partials/member.signatures.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/member.signatures.js.map +0 -1
- package/dist/lib/output/themes/default/partials/member.sources.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/member.sources.js.map +0 -1
- package/dist/lib/output/themes/default/partials/members.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/members.js.map +0 -1
- package/dist/lib/output/themes/default/partials/moduleReflection.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/moduleReflection.js.map +0 -1
- package/dist/lib/output/themes/default/partials/navigation.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/navigation.js.map +0 -1
- package/dist/lib/output/themes/default/partials/reflectionPreview.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/reflectionPreview.js.map +0 -1
- package/dist/lib/output/themes/default/partials/toolbar.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/toolbar.js.map +0 -1
- package/dist/lib/output/themes/default/partials/type.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/type.js.map +0 -1
- package/dist/lib/output/themes/default/partials/typeAndParent.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/typeAndParent.js.map +0 -1
- package/dist/lib/output/themes/default/partials/typeDetails.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/typeDetails.js.map +0 -1
- package/dist/lib/output/themes/default/partials/typeParameters.d.ts.map +0 -1
- package/dist/lib/output/themes/default/partials/typeParameters.js.map +0 -1
- package/dist/lib/output/themes/default/templates/document.d.ts.map +0 -1
- package/dist/lib/output/themes/default/templates/document.js.map +0 -1
- package/dist/lib/output/themes/default/templates/hierarchy.d.ts.map +0 -1
- package/dist/lib/output/themes/default/templates/hierarchy.js.map +0 -1
- package/dist/lib/output/themes/default/templates/index.d.ts.map +0 -1
- package/dist/lib/output/themes/default/templates/index.js.map +0 -1
- package/dist/lib/output/themes/default/templates/reflection.d.ts.map +0 -1
- package/dist/lib/output/themes/default/templates/reflection.js.map +0 -1
- package/dist/lib/output/themes/lib.d.ts.map +0 -1
- package/dist/lib/output/themes/lib.js.map +0 -1
- package/dist/lib/serialization/components.d.ts.map +0 -1
- package/dist/lib/serialization/components.js.map +0 -1
- package/dist/lib/serialization/deserializer.d.ts.map +0 -1
- package/dist/lib/serialization/deserializer.js.map +0 -1
- package/dist/lib/serialization/events.d.ts.map +0 -1
- package/dist/lib/serialization/events.js.map +0 -1
- package/dist/lib/serialization/index.d.ts.map +0 -1
- package/dist/lib/serialization/index.js.map +0 -1
- package/dist/lib/serialization/schema.d.ts.map +0 -1
- package/dist/lib/serialization/schema.js.map +0 -1
- package/dist/lib/serialization/serializer.d.ts.map +0 -1
- package/dist/lib/serialization/serializer.js.map +0 -1
- package/dist/lib/utils/ValidatingFileRegistry.d.ts.map +0 -1
- package/dist/lib/utils/ValidatingFileRegistry.js.map +0 -1
- package/dist/lib/utils/component.d.ts.map +0 -1
- package/dist/lib/utils/component.js.map +0 -1
- package/dist/lib/utils/compress.d.ts.map +0 -1
- package/dist/lib/utils/compress.js.map +0 -1
- package/dist/lib/utils/entry-point.d.ts.map +0 -1
- package/dist/lib/utils/entry-point.js.map +0 -1
- package/dist/lib/utils/fs.d.ts.map +0 -1
- package/dist/lib/utils/fs.js.map +0 -1
- package/dist/lib/utils/general.d.ts.map +0 -1
- package/dist/lib/utils/general.js.map +0 -1
- package/dist/lib/utils/highlighter.d.ts.map +0 -1
- package/dist/lib/utils/highlighter.js.map +0 -1
- package/dist/lib/utils/html-entities.d.ts.map +0 -1
- package/dist/lib/utils/html-entities.js.map +0 -1
- package/dist/lib/utils/html.d.ts.map +0 -1
- package/dist/lib/utils/html.js.map +0 -1
- package/dist/lib/utils/index.d.ts.map +0 -1
- package/dist/lib/utils/index.js.map +0 -1
- package/dist/lib/utils/loggers.d.ts.map +0 -1
- package/dist/lib/utils/loggers.js.map +0 -1
- package/dist/lib/utils/options/declaration.d.ts.map +0 -1
- package/dist/lib/utils/options/declaration.js.map +0 -1
- package/dist/lib/utils/options/defaults.d.ts.map +0 -1
- package/dist/lib/utils/options/defaults.js.map +0 -1
- package/dist/lib/utils/options/help.d.ts.map +0 -1
- package/dist/lib/utils/options/help.js.map +0 -1
- package/dist/lib/utils/options/index.d.ts.map +0 -1
- package/dist/lib/utils/options/index.js.map +0 -1
- package/dist/lib/utils/options/options.d.ts.map +0 -1
- package/dist/lib/utils/options/options.js.map +0 -1
- package/dist/lib/utils/options/readers/arguments.d.ts.map +0 -1
- package/dist/lib/utils/options/readers/arguments.js.map +0 -1
- package/dist/lib/utils/options/readers/index.d.ts.map +0 -1
- package/dist/lib/utils/options/readers/index.js.map +0 -1
- package/dist/lib/utils/options/readers/package-json.d.ts.map +0 -1
- package/dist/lib/utils/options/readers/package-json.js.map +0 -1
- package/dist/lib/utils/options/readers/tsconfig.d.ts.map +0 -1
- package/dist/lib/utils/options/readers/tsconfig.js.map +0 -1
- package/dist/lib/utils/options/readers/typedoc.d.ts.map +0 -1
- package/dist/lib/utils/options/readers/typedoc.js.map +0 -1
- package/dist/lib/utils/options/sources/index.d.ts.map +0 -1
- package/dist/lib/utils/options/sources/index.js.map +0 -1
- package/dist/lib/utils/options/sources/typedoc.d.ts.map +0 -1
- package/dist/lib/utils/options/sources/typedoc.js.map +0 -1
- package/dist/lib/utils/options/tsdoc-defaults.d.ts.map +0 -1
- package/dist/lib/utils/options/tsdoc-defaults.js.map +0 -1
- package/dist/lib/utils/package-manifest.d.ts.map +0 -1
- package/dist/lib/utils/package-manifest.js.map +0 -1
- package/dist/lib/utils/paths.d.ts.map +0 -1
- package/dist/lib/utils/paths.js.map +0 -1
- package/dist/lib/utils/perf.d.ts.map +0 -1
- package/dist/lib/utils/perf.js.map +0 -1
- package/dist/lib/utils/plugins.d.ts.map +0 -1
- package/dist/lib/utils/plugins.js.map +0 -1
- package/dist/lib/utils/reflections.d.ts.map +0 -1
- package/dist/lib/utils/reflections.js.map +0 -1
- package/dist/lib/utils/sort.d.ts.map +0 -1
- package/dist/lib/utils/sort.js.map +0 -1
- package/dist/lib/utils/tsconfig.d.ts.map +0 -1
- package/dist/lib/utils/tsconfig.js.map +0 -1
- package/dist/lib/utils/tsutils.d.ts.map +0 -1
- package/dist/lib/utils/tsutils.js.map +0 -1
- package/dist/lib/utils-common/array.d.ts.map +0 -1
- package/dist/lib/utils-common/array.js.map +0 -1
- package/dist/lib/utils-common/declarationReference.d.ts.map +0 -1
- package/dist/lib/utils-common/declarationReference.js.map +0 -1
- package/dist/lib/utils-common/enum.d.ts.map +0 -1
- package/dist/lib/utils-common/enum.js.map +0 -1
- package/dist/lib/utils-common/events.d.ts.map +0 -1
- package/dist/lib/utils-common/events.js.map +0 -1
- package/dist/lib/utils-common/general.d.ts.map +0 -1
- package/dist/lib/utils-common/general.js.map +0 -1
- package/dist/lib/utils-common/hooks.d.ts.map +0 -1
- package/dist/lib/utils-common/hooks.js.map +0 -1
- package/dist/lib/utils-common/i18n.d.ts.map +0 -1
- package/dist/lib/utils-common/i18n.js.map +0 -1
- package/dist/lib/utils-common/index.d.ts.map +0 -1
- package/dist/lib/utils-common/index.js.map +0 -1
- package/dist/lib/utils-common/jsx.d.ts.map +0 -1
- package/dist/lib/utils-common/jsx.elements.d.ts.map +0 -1
- package/dist/lib/utils-common/jsx.elements.js.map +0 -1
- package/dist/lib/utils-common/jsx.js.map +0 -1
- package/dist/lib/utils-common/logger.d.ts.map +0 -1
- package/dist/lib/utils-common/logger.js.map +0 -1
- package/dist/lib/utils-common/map.d.ts.map +0 -1
- package/dist/lib/utils-common/map.js.map +0 -1
- package/dist/lib/utils-common/minimalSourceFile.d.ts.map +0 -1
- package/dist/lib/utils-common/minimalSourceFile.js.map +0 -1
- package/dist/lib/utils-common/path.d.ts.map +0 -1
- package/dist/lib/utils-common/path.js.map +0 -1
- package/dist/lib/utils-common/set.d.ts.map +0 -1
- package/dist/lib/utils-common/set.js.map +0 -1
- package/dist/lib/utils-common/string.d.ts.map +0 -1
- package/dist/lib/utils-common/string.js.map +0 -1
- package/dist/lib/utils-common/validation.d.ts.map +0 -1
- package/dist/lib/utils-common/validation.js.map +0 -1
- package/dist/lib/validation/documentation.d.ts.map +0 -1
- package/dist/lib/validation/documentation.js.map +0 -1
- package/dist/lib/validation/exports.d.ts.map +0 -1
- package/dist/lib/validation/exports.js.map +0 -1
- package/dist/lib/validation/links.d.ts.map +0 -1
- package/dist/lib/validation/links.js.map +0 -1
- package/dist/lib/validation/unusedMergeModuleWith.d.ts.map +0 -1
- package/dist/lib/validation/unusedMergeModuleWith.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export { type CommentParserConfig, Context, Converter, type ConverterEvents, typ
|
|
|
36
36
|
export * from "./lib/models/index.js";
|
|
37
37
|
/** @primaryExport */
|
|
38
38
|
export * as Configuration from "./lib/utils/options/index.js";
|
|
39
|
-
export { BaseRouter, CategoryRouter, DefaultTheme, DefaultThemeRenderContext, GroupRouter, IndexEvent, KindDirRouter, KindRouter, MarkdownEvent, PageEvent, PageKind, Renderer, RendererEvent, Slugger, StructureDirRouter, StructureRouter, Theme,
|
|
39
|
+
export { BaseRouter, CategoryRouter, DefaultTheme, DefaultThemeRenderContext, GroupRouter, IndexEvent, KindDirRouter, KindRouter, MarkdownEvent, PageEvent, PageKind, Renderer, RendererEvent, Slugger, StructureDirRouter, StructureRouter, Theme, } from "./lib/output/index.js";
|
|
40
40
|
export type { Icons, NavigationElement, PageDefinition, PageHeading, RendererEvents, RendererHooks, RenderTemplate, Router, } from "./lib/output/index.js";
|
|
41
41
|
export { Outputs } from "./lib/output/output.js";
|
|
42
42
|
export { ArgumentsReader, CommentStyle, EntryPointStrategy, normalizePath, Option, OptionDefaults, Options, PackageJsonReader, ParameterHint, ParameterType, TSConfigReader, TypeDocReader, ValidatingFileRegistry, } from "./lib/utils/index.js";
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ export { Context, Converter, } from "./lib/converter/index.js";
|
|
|
36
36
|
export * from "./lib/models/index.js";
|
|
37
37
|
/** @primaryExport */
|
|
38
38
|
export * as Configuration from "./lib/utils/options/index.js";
|
|
39
|
-
export { BaseRouter, CategoryRouter, DefaultTheme, DefaultThemeRenderContext, GroupRouter, IndexEvent, KindDirRouter, KindRouter, MarkdownEvent, PageEvent, PageKind, Renderer, RendererEvent, Slugger, StructureDirRouter, StructureRouter, Theme,
|
|
39
|
+
export { BaseRouter, CategoryRouter, DefaultTheme, DefaultThemeRenderContext, GroupRouter, IndexEvent, KindDirRouter, KindRouter, MarkdownEvent, PageEvent, PageKind, Renderer, RendererEvent, Slugger, StructureDirRouter, StructureRouter, Theme, } from "./lib/output/index.js";
|
|
40
40
|
export { Outputs } from "./lib/output/output.js";
|
|
41
41
|
export { ArgumentsReader, CommentStyle, EntryPointStrategy, normalizePath, Option, OptionDefaults, Options, PackageJsonReader, ParameterHint, ParameterType, TSConfigReader, TypeDocReader, ValidatingFileRegistry, } from "./lib/utils/index.js";
|
|
42
42
|
export { ConsoleLogger, EventDispatcher, EventHooks, i18n, JSX, Logger, LogLevel, MinimalSourceFile, translateTagName, } from "#utils";
|
|
@@ -4,7 +4,7 @@ import { Renderer } from "./output/renderer.js";
|
|
|
4
4
|
import { type ProjectReflection } from "./models/index.js";
|
|
5
5
|
import { AbstractComponent, type OptionsReader } from "./utils/index.js";
|
|
6
6
|
import { Options } from "./utils/index.js";
|
|
7
|
-
import type
|
|
7
|
+
import { type TypeDocOptions } from "./utils/options/declaration.js";
|
|
8
8
|
import { type GlobString, Logger } from "#utils";
|
|
9
9
|
import { type DocumentationEntryPoint, EntryPointStrategy } from "./utils/entry-point.js";
|
|
10
10
|
import { FileRegistry } from "./models/FileRegistry.js";
|
package/dist/lib/application.js
CHANGED
|
@@ -40,6 +40,7 @@ import { Renderer } from "./output/renderer.js";
|
|
|
40
40
|
import { ReflectionSymbolId } from "./models/index.js";
|
|
41
41
|
import { AbstractComponent, FancyConsoleLogger, loadPlugins, PackageJsonReader, TSConfigReader, TypeDocReader, writeFile, } from "./utils/index.js";
|
|
42
42
|
import { Option, Options } from "./utils/index.js";
|
|
43
|
+
import { rootPackageOptions } from "./utils/options/declaration.js";
|
|
43
44
|
import { i18n, Logger, LogLevel, unique } from "#utils";
|
|
44
45
|
import { ok } from "assert";
|
|
45
46
|
import { EntryPointStrategy, getEntryPoints, getPackageDirectories, getWatchEntryPoints, inferEntryPoints, } from "./utils/entry-point.js";
|
|
@@ -593,6 +594,11 @@ let Application = (() => {
|
|
|
593
594
|
const origFiles = this.files;
|
|
594
595
|
const origOptions = this.options;
|
|
595
596
|
const projects = [];
|
|
597
|
+
for (const opt of Object.keys(this.options.getValue("packageOptions"))) {
|
|
598
|
+
if (rootPackageOptions.includes(opt)) {
|
|
599
|
+
this.logger.warn(i18n.package_option_0_should_be_specified_at_root(opt));
|
|
600
|
+
}
|
|
601
|
+
}
|
|
596
602
|
const projectsToConvert = [];
|
|
597
603
|
// Generate a json file for each package
|
|
598
604
|
for (const dir of packageDirs) {
|
|
@@ -234,8 +234,7 @@ export class Context {
|
|
|
234
234
|
return getSignatureComment(declaration, this.converter.config, this.logger, this.checker, this.project.files);
|
|
235
235
|
}
|
|
236
236
|
withScope(scope) {
|
|
237
|
-
|
|
238
|
-
// assert(scope.parent === this.scope, "Incorrect context used for withScope");
|
|
237
|
+
assert(scope.parent === this.scope || scope === this.scope, "Incorrect context used for withScope");
|
|
239
238
|
const context = new Context(this.converter, this.programs, this.project, scope);
|
|
240
239
|
context.convertingTypeNode = this.convertingTypeNode;
|
|
241
240
|
context.setActiveProgram(this._program);
|
|
@@ -24,6 +24,7 @@ export function convertIndexSignatures(context, type) {
|
|
|
24
24
|
}
|
|
25
25
|
// Otherwise create a new one
|
|
26
26
|
const index = new SignatureReflection("__index", ReflectionKind.IndexSignature, context.scope);
|
|
27
|
+
const ic = context.withScope(index);
|
|
27
28
|
if (indexInfo.isReadonly) {
|
|
28
29
|
index.setFlag(ReflectionFlag.Readonly);
|
|
29
30
|
}
|
|
@@ -36,8 +37,8 @@ export function convertIndexSignatures(context, type) {
|
|
|
36
37
|
index.parameters = [
|
|
37
38
|
new ParameterReflection(indexInfo.declaration?.parameters[0].name.getText() ?? "key", ReflectionKind.Parameter, index),
|
|
38
39
|
];
|
|
39
|
-
index.parameters[0].type = context.converter.convertType(
|
|
40
|
-
index.type = context.converter.convertType(
|
|
40
|
+
index.parameters[0].type = context.converter.convertType(ic.withScope(index.parameters[0]), indexInfo.keyType);
|
|
41
|
+
index.type = context.converter.convertType(ic, indexInfo.type);
|
|
41
42
|
context.registerReflection(index, indexInfo.declaration?.symbol);
|
|
42
43
|
context.scope.indexSignatures ||= [];
|
|
43
44
|
context.scope.indexSignatures.push(index);
|
|
@@ -53,12 +53,13 @@ function convertJsDocSignature(context, node) {
|
|
|
53
53
|
return new IntrinsicType("Function");
|
|
54
54
|
}
|
|
55
55
|
const reflection = new DeclarationReflection("__type", ReflectionKind.TypeLiteral, context.scope);
|
|
56
|
+
const rc = context.withScope(reflection);
|
|
56
57
|
context.registerReflection(reflection, symbol);
|
|
57
58
|
context.converter.trigger(ConverterEvents.CREATE_DECLARATION, context, reflection);
|
|
58
59
|
const signature = new SignatureReflection("__type", ReflectionKind.CallSignature, reflection);
|
|
59
60
|
context.project.registerSymbolId(signature, createSymbolId(symbol, node));
|
|
60
61
|
context.registerReflection(signature, void 0);
|
|
61
|
-
const signatureCtx =
|
|
62
|
+
const signatureCtx = rc.withScope(signature);
|
|
62
63
|
reflection.signatures = [signature];
|
|
63
64
|
signature.type = context.converter.convertType(signatureCtx, node.type?.typeExpression?.type);
|
|
64
65
|
signature.parameters = convertParameterNodes(signatureCtx, signature, node.parameters);
|
|
@@ -37,7 +37,8 @@ import { ConverterComponent } from "../components.js";
|
|
|
37
37
|
import { ApplicationEvents } from "../../application-events.js";
|
|
38
38
|
import { ConverterEvents } from "../converter-events.js";
|
|
39
39
|
import { i18n, MinimalSourceFile } from "#utils";
|
|
40
|
-
import {
|
|
40
|
+
import { discoverPackageJson, getCommonDirectory, nicePath, normalizePath, Option, readFile, } from "#node-utils";
|
|
41
|
+
import { existsSync } from "fs";
|
|
41
42
|
/**
|
|
42
43
|
* A handler that tries to find the package.json and readme.md files of the
|
|
43
44
|
* current project.
|
|
@@ -117,8 +118,9 @@ let PackagePlugin = (() => {
|
|
|
117
118
|
this.packageJson = undefined;
|
|
118
119
|
const dirName = this.application.options.packageDir ??
|
|
119
120
|
Path.resolve(getCommonDirectory(this.entryPoints.map(g => `${g}/`)));
|
|
120
|
-
this.application.logger.verbose(`Begin
|
|
121
|
-
|
|
121
|
+
this.application.logger.verbose(`Begin package.json search at ${nicePath(dirName)}`);
|
|
122
|
+
const packageJson = discoverPackageJson(dirName);
|
|
123
|
+
this.packageJson = packageJson?.content;
|
|
122
124
|
// Path will be resolved already. This is kind of ugly, but...
|
|
123
125
|
if (this.readme.endsWith("none")) {
|
|
124
126
|
return; // No readme, we're done
|
|
@@ -134,12 +136,20 @@ let PackagePlugin = (() => {
|
|
|
134
136
|
this.application.logger.error(i18n.provided_readme_at_0_could_not_be_read(nicePath(this.readme)));
|
|
135
137
|
}
|
|
136
138
|
}
|
|
137
|
-
else {
|
|
139
|
+
else if (packageJson) {
|
|
138
140
|
// No readme provided, automatically find the readme
|
|
139
|
-
const
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
const possibleReadmePaths = [
|
|
142
|
+
"README.md",
|
|
143
|
+
"readme.md",
|
|
144
|
+
"Readme.md",
|
|
145
|
+
].map(name => Path.join(Path.dirname(packageJson.file), name));
|
|
146
|
+
const readmePath = possibleReadmePaths.find(path => {
|
|
147
|
+
this.application.watchFile(path);
|
|
148
|
+
return existsSync(path);
|
|
149
|
+
});
|
|
150
|
+
if (readmePath) {
|
|
151
|
+
this.readmeFile = normalizePath(readmePath);
|
|
152
|
+
this.readmeContents = readFile(readmePath);
|
|
143
153
|
this.application.watchFile(this.readmeFile);
|
|
144
154
|
}
|
|
145
155
|
}
|
|
@@ -164,6 +164,9 @@ function convertNamespace(context, symbol, exportSymbol) {
|
|
|
164
164
|
return;
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
+
if (symbol.declarations?.some(ts.isFunctionDeclaration)) {
|
|
168
|
+
exportFlags |= ts.SymbolFlags.PropertyOrAccessor;
|
|
169
|
+
}
|
|
167
170
|
// #2364, @namespace on a variable might be merged with a namespace containing types.
|
|
168
171
|
const existingReflection = context.getReflectionFromSymbol(exportSymbol || symbol);
|
|
169
172
|
let reflection;
|
|
@@ -551,7 +554,10 @@ function convertVariable(context, symbol, exportSymbol) {
|
|
|
551
554
|
}
|
|
552
555
|
if (type.getCallSignatures().length &&
|
|
553
556
|
!type.getConstructSignatures().length) {
|
|
554
|
-
|
|
557
|
+
if (comment?.hasModifier("@function") ||
|
|
558
|
+
(declaration && shouldAutomaticallyConvertAsFunction(declaration))) {
|
|
559
|
+
return convertVariableAsFunction(context, symbol, exportSymbol);
|
|
560
|
+
}
|
|
555
561
|
}
|
|
556
562
|
const reflection = context.createDeclarationReflection(context.scope.kindOf(ReflectionKind.VariableContainer)
|
|
557
563
|
? ReflectionKind.Variable
|
|
@@ -625,6 +631,7 @@ function convertVariableAsFunction(context, symbol, exportSymbol) {
|
|
|
625
631
|
for (const signature of type.getCallSignatures()) {
|
|
626
632
|
createSignature(reflectionContext, ReflectionKind.CallSignature, signature, symbol);
|
|
627
633
|
}
|
|
634
|
+
reflection.comment?.removeModifier("@function");
|
|
628
635
|
// #2824 If there is only one signature, and there isn't a comment
|
|
629
636
|
// on the signature already, treat the comment on the variable
|
|
630
637
|
// as if it belongs to the signature instead.
|
|
@@ -648,7 +655,8 @@ function convertFunctionProperties(context, symbol, type) {
|
|
|
648
655
|
const nsFlags = ts.SymbolFlags.ValueModule | ts.SymbolFlags.NamespaceModule;
|
|
649
656
|
if (type.getProperties().length &&
|
|
650
657
|
(hasAllFlags(symbol.flags, nsFlags) ||
|
|
651
|
-
!hasAnyFlag(symbol.flags, nsFlags))
|
|
658
|
+
!hasAnyFlag(symbol.flags, nsFlags)) &&
|
|
659
|
+
!symbol.declarations?.some(ts.isModuleDeclaration)) {
|
|
652
660
|
convertSymbols(context, type.getProperties());
|
|
653
661
|
return ts.SymbolFlags.NamespaceModule;
|
|
654
662
|
}
|
|
@@ -768,3 +776,38 @@ function setModifiers(symbol, declaration, reflection) {
|
|
|
768
776
|
function setSymbolModifiers(symbol, reflection) {
|
|
769
777
|
reflection.setFlag(ReflectionFlag.Optional, hasAllFlags(symbol.flags, ts.SymbolFlags.Optional));
|
|
770
778
|
}
|
|
779
|
+
function shouldAutomaticallyConvertAsFunction(node) {
|
|
780
|
+
// const fn = () => {}
|
|
781
|
+
if (ts.isVariableDeclaration(node)) {
|
|
782
|
+
if (node.type || !node.initializer)
|
|
783
|
+
return false;
|
|
784
|
+
return isFunctionLikeInitializer(node.initializer);
|
|
785
|
+
}
|
|
786
|
+
// { fn: () => {} }
|
|
787
|
+
if (ts.isPropertyAssignment(node)) {
|
|
788
|
+
return isFunctionLikeInitializer(node.initializer);
|
|
789
|
+
}
|
|
790
|
+
// exports.fn = () => {}
|
|
791
|
+
// exports.fn ||= () => {}
|
|
792
|
+
// exports.fn ??= () => {}
|
|
793
|
+
if (ts.isPropertyAccessExpression(node)) {
|
|
794
|
+
if (ts.isBinaryExpression(node.parent) &&
|
|
795
|
+
[ts.SyntaxKind.EqualsToken, ts.SyntaxKind.BarBarEqualsToken, ts.SyntaxKind.QuestionQuestionEqualsToken]
|
|
796
|
+
.includes(node.parent.operatorToken.kind)) {
|
|
797
|
+
return isFunctionLikeInitializer(node.parent.right);
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
return false;
|
|
801
|
+
}
|
|
802
|
+
function isFunctionLikeInitializer(node) {
|
|
803
|
+
if (ts.isFunctionExpression(node) || ts.isArrowFunction(node)) {
|
|
804
|
+
return true;
|
|
805
|
+
}
|
|
806
|
+
if (ts.isSatisfiesExpression(node)) {
|
|
807
|
+
return isFunctionLikeInitializer(node.expression);
|
|
808
|
+
}
|
|
809
|
+
if (ts.isAsExpression(node)) {
|
|
810
|
+
return isFunctionLikeInitializer(node.expression);
|
|
811
|
+
}
|
|
812
|
+
return false;
|
|
813
|
+
}
|
|
@@ -16,6 +16,7 @@ module.exports = {
|
|
|
16
16
|
no_entry_points_for_packages: "No entry points provided to packages mode, documentation cannot be generated",
|
|
17
17
|
failed_to_find_packages: "Failed to find any packages, ensure you have provided at least one directory as an entry point containing package.json",
|
|
18
18
|
nested_packages_unsupported_0: "Project at {0} has entryPointStrategy set to packages, but nested packages are not supported",
|
|
19
|
+
package_option_0_should_be_specified_at_root: "The packageOptions option sets option {0}, which only has an affect at the root level",
|
|
19
20
|
previous_error_occurred_when_reading_options_for_0: "The previous error occurred when reading options for the package at {0}",
|
|
20
21
|
converting_project_at_0: "Converting project at {0}",
|
|
21
22
|
failed_to_convert_packages: "Failed to convert one or more packages, result will not be merged together",
|
|
@@ -193,6 +194,7 @@ module.exports = {
|
|
|
193
194
|
help_basePath: "Specifies the base path to be used when displaying file paths",
|
|
194
195
|
help_excludeTags: "Remove the listed block/modifier tags from doc comments",
|
|
195
196
|
help_notRenderedTags: "Tags which will be preserved in doc comments, but not rendered when creating output",
|
|
197
|
+
help_cascadedModifierTags: "Modifier tags which should be copied to all children of the parent reflection",
|
|
196
198
|
help_readme: "Path to the readme file that should be displayed on the index page. Pass `none` to disable the index page and start the documentation on the globals page",
|
|
197
199
|
help_cname: "Set the CNAME file text, it's useful for custom domains on GitHub Pages",
|
|
198
200
|
help_favicon: "Path to favicon to include as the site icon",
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
readonly no_entry_points_for_packages: "No entry points provided to packages mode, documentation cannot be generated";
|
|
14
14
|
readonly failed_to_find_packages: "Failed to find any packages, ensure you have provided at least one directory as an entry point containing package.json";
|
|
15
15
|
readonly nested_packages_unsupported_0: "Project at {0} has entryPointStrategy set to packages, but nested packages are not supported";
|
|
16
|
+
readonly package_option_0_should_be_specified_at_root: "The packageOptions option sets option {0}, which only has an affect at the root level";
|
|
16
17
|
readonly previous_error_occurred_when_reading_options_for_0: "The previous error occurred when reading options for the package at {0}";
|
|
17
18
|
readonly converting_project_at_0: "Converting project at {0}";
|
|
18
19
|
readonly failed_to_convert_packages: "Failed to convert one or more packages, result will not be merged together";
|
|
@@ -180,6 +181,7 @@ declare const _default: {
|
|
|
180
181
|
readonly help_basePath: "Specifies the base path to be used when displaying file paths";
|
|
181
182
|
readonly help_excludeTags: "Remove the listed block/modifier tags from doc comments";
|
|
182
183
|
readonly help_notRenderedTags: "Tags which will be preserved in doc comments, but not rendered when creating output";
|
|
184
|
+
readonly help_cascadedModifierTags: "Modifier tags which should be copied to all children of the parent reflection";
|
|
183
185
|
readonly help_readme: "Path to the readme file that should be displayed on the index page. Pass `none` to disable the index page and start the documentation on the globals page";
|
|
184
186
|
readonly help_cname: "Set the CNAME file text, it's useful for custom domains on GitHub Pages";
|
|
185
187
|
readonly help_favicon: "Path to favicon to include as the site icon";
|
|
@@ -63,7 +63,8 @@ module.exports = localeUtils.buildIncompleteTranslation({
|
|
|
63
63
|
failed_to_resolve_link_to_0_in_document_1_may_have_meant_2: "无法解析文档 {1} 中指向 “{0}” 的链接。您可能想要 “{2}”",
|
|
64
64
|
type_0_defined_in_1_is_referenced_by_2_but_not_included_in_docs: "{0} 在 {1} 中定义,被 {2} 引用,但未包含在文档中",
|
|
65
65
|
reflection_0_kind_1_defined_in_2_does_not_have_any_documentation: "{0} ({1}),在 {2} 中定义,没有任何文档",
|
|
66
|
-
|
|
66
|
+
invalid_intentionally_not_documented_names_0: "以下的限定反射名称被设定为刻意无文档说明,但它们要么未在文档中被引用,要么已有文档说明:\n\t{0}",
|
|
67
|
+
invalid_intentionally_not_exported_symbols_0: "以下符号被设定为刻意非导出,但它们要么未在文档中被引用,要么已为导出符号:\n{0}",
|
|
67
68
|
reflection_0_has_unused_mergeModuleWith_tag: "{0} 中存在无法解析的 @mergeModuleWith 标签",
|
|
68
69
|
reflection_0_links_to_1_with_text_2_but_resolved_to_3: "“{0}”中的链接“{2}”指向“{1}”,目标虽然存在但并没有直接的链接,因此将改为链接至“{3}”。",
|
|
69
70
|
// conversion plugins
|
|
@@ -194,6 +195,7 @@ module.exports = localeUtils.buildIncompleteTranslation({
|
|
|
194
195
|
help_basePath: "指定显示文件路径时使用的基本路径",
|
|
195
196
|
help_excludeTags: "从文档注释中删除列出的块级/修饰符标签",
|
|
196
197
|
help_notRenderedTags: "保留在文档注释中但在创建输出时不渲染的标签",
|
|
198
|
+
help_cascadedModifierTags: "需要从父反射复制至所有子反射的修饰符标签",
|
|
197
199
|
help_readme: "应显示在索引页上的自述文件路径。传递“none”以禁用索引页并在全局页上启动文档",
|
|
198
200
|
help_cname: "设置 CNAME 文件文本,这对于 GitHub Pages 上的自定义域很有用",
|
|
199
201
|
help_favicon: "作为站点图标包含的 favicon 的路径",
|
|
@@ -222,6 +224,7 @@ module.exports = localeUtils.buildIncompleteTranslation({
|
|
|
222
224
|
help_searchGroupBoosts: "配置搜索以增强所选种类(例如“类别”)的相关性",
|
|
223
225
|
help_useFirstParagraphOfCommentAsSummary: "如果设置,且没有指定 @summary 标签,TypeDoc 会使用注释的第一行作为在模块/命名空间一览里的概述",
|
|
224
226
|
help_jsDocCompatibility: "设置注释解析的兼容性选项,以增加与 JSDoc 注释的相似度",
|
|
227
|
+
help_suppressCommentWarningsInDeclarationFiles: "阻止 .d.ts 文件的注释中因为存在未指定的标签而弹出的警告。",
|
|
225
228
|
help_commentStyle: "确定 TypeDoc 如何搜索注释",
|
|
226
229
|
help_useTsLinkResolution: "使用 TypeScript 的链接解析来确定 @link 标签指向的位置。这仅适用于 JSDoc 样式注释",
|
|
227
230
|
help_preserveLinkText: "如果设置,不带链接文本的 @link 标签将使用文本内容作为链接。如果未设置,将使用目标反射名称",
|
|
@@ -246,8 +249,10 @@ module.exports = localeUtils.buildIncompleteTranslation({
|
|
|
246
249
|
help_logLevel: "指定应使用什么级别的日志记录",
|
|
247
250
|
help_treatWarningsAsErrors: "如果设置,所有警告都将被视为错误",
|
|
248
251
|
help_treatValidationWarningsAsErrors: "如果设置,验证期间发出的警告将被视为错误。此选项不能用于禁用验证警告的 treatWarningsAsErrors",
|
|
249
|
-
help_intentionallyNotExported: "
|
|
250
|
-
help_requiredToBeDocumented: "
|
|
252
|
+
help_intentionallyNotExported: "不会因为“引用但并未导出”而产生警告的符号列表",
|
|
253
|
+
help_requiredToBeDocumented: "需要有文档说明的反射类型列表",
|
|
254
|
+
help_packagesRequiringDocumentation: "需要有文档说明的包的列表",
|
|
255
|
+
help_intentionallyNotDocumented: "不会因为无文档说明而产生警告的完整反射名称列表",
|
|
251
256
|
help_validation: "指定 TypeDoc 应对生成的文档执行哪些验证步骤",
|
|
252
257
|
// ==================================================================
|
|
253
258
|
// Option validation
|
|
@@ -56,7 +56,8 @@ declare const _default: {
|
|
|
56
56
|
failed_to_resolve_link_to_0_in_document_1_may_have_meant_2: "无法解析文档 {1} 中指向 “{0}” 的链接。您可能想要 “{2}”";
|
|
57
57
|
type_0_defined_in_1_is_referenced_by_2_but_not_included_in_docs: "{0} 在 {1} 中定义,被 {2} 引用,但未包含在文档中";
|
|
58
58
|
reflection_0_kind_1_defined_in_2_does_not_have_any_documentation: "{0} ({1}),在 {2} 中定义,没有任何文档";
|
|
59
|
-
|
|
59
|
+
invalid_intentionally_not_documented_names_0: "以下的限定反射名称被设定为刻意无文档说明,但它们要么未在文档中被引用,要么已有文档说明:\n\t{0}";
|
|
60
|
+
invalid_intentionally_not_exported_symbols_0: "以下符号被设定为刻意非导出,但它们要么未在文档中被引用,要么已为导出符号:\n{0}";
|
|
60
61
|
reflection_0_has_unused_mergeModuleWith_tag: "{0} 中存在无法解析的 @mergeModuleWith 标签";
|
|
61
62
|
reflection_0_links_to_1_with_text_2_but_resolved_to_3: "“{0}”中的链接“{2}”指向“{1}”,目标虽然存在但并没有直接的链接,因此将改为链接至“{3}”。";
|
|
62
63
|
not_all_search_category_boosts_used_0: "文档中并未使用 searchCategoryBoosts 中指定的所有类别。未使用的类别包括:\n{0}";
|
|
@@ -179,6 +180,7 @@ declare const _default: {
|
|
|
179
180
|
help_basePath: string;
|
|
180
181
|
help_excludeTags: string;
|
|
181
182
|
help_notRenderedTags: string;
|
|
183
|
+
help_cascadedModifierTags: string;
|
|
182
184
|
help_readme: string;
|
|
183
185
|
help_cname: string;
|
|
184
186
|
help_favicon: string;
|
|
@@ -207,6 +209,7 @@ declare const _default: {
|
|
|
207
209
|
help_searchGroupBoosts: string;
|
|
208
210
|
help_useFirstParagraphOfCommentAsSummary: string;
|
|
209
211
|
help_jsDocCompatibility: string;
|
|
212
|
+
help_suppressCommentWarningsInDeclarationFiles: string;
|
|
210
213
|
help_commentStyle: string;
|
|
211
214
|
help_useTsLinkResolution: string;
|
|
212
215
|
help_preserveLinkText: string;
|
|
@@ -233,6 +236,8 @@ declare const _default: {
|
|
|
233
236
|
help_treatValidationWarningsAsErrors: string;
|
|
234
237
|
help_intentionallyNotExported: string;
|
|
235
238
|
help_requiredToBeDocumented: string;
|
|
239
|
+
help_packagesRequiringDocumentation: string;
|
|
240
|
+
help_intentionallyNotDocumented: string;
|
|
236
241
|
help_validation: string;
|
|
237
242
|
unknown_option_0_you_may_have_meant_1: "未知选项“{0}” 你可能指的是:\n{1}";
|
|
238
243
|
option_0_must_be_between_1_and_2: "{0} 必须介于 {1} 和 {2} 之间";
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export { IndexEvent, MarkdownEvent, PageEvent, type PageHeading, RendererEvent } from "./events.js";
|
|
2
|
-
export { UrlMapping } from "./models/UrlMapping.js";
|
|
3
|
-
export type { RenderTemplate } from "./models/UrlMapping.js";
|
|
4
2
|
export { Renderer, type RendererEvents } from "./renderer.js";
|
|
5
3
|
export type { RendererHooks } from "./renderer.js";
|
|
6
4
|
export { Theme } from "./theme.js";
|
|
7
|
-
export { DefaultTheme, type NavigationElement } from "./themes/default/DefaultTheme.js";
|
|
5
|
+
export { DefaultTheme, type NavigationElement, type RenderTemplate } from "./themes/default/DefaultTheme.js";
|
|
8
6
|
export { DefaultThemeRenderContext } from "./themes/default/DefaultThemeRenderContext.js";
|
|
9
7
|
export type { Icons } from "./themes/default/partials/icon.js";
|
|
10
8
|
export { Slugger } from "./themes/default/Slugger.js";
|
package/dist/lib/output/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { IndexEvent, MarkdownEvent, PageEvent, RendererEvent } from "./events.js";
|
|
2
|
-
export { UrlMapping } from "./models/UrlMapping.js";
|
|
3
2
|
export { Renderer } from "./renderer.js";
|
|
4
3
|
export { Theme } from "./theme.js";
|
|
5
4
|
export { DefaultTheme } from "./themes/default/DefaultTheme.js";
|
|
@@ -135,6 +135,9 @@ let BaseRouter = (() => {
|
|
|
135
135
|
return Array.from(this.fullUrls.keys());
|
|
136
136
|
}
|
|
137
137
|
getAnchor(refl) {
|
|
138
|
+
if (!this.anchors.has(refl)) {
|
|
139
|
+
this.application.logger.verbose(`${refl.getFullName()} does not have an anchor but one was requested, this is a bug in the theme`);
|
|
140
|
+
}
|
|
138
141
|
return this.anchors.get(refl);
|
|
139
142
|
}
|
|
140
143
|
hasOwnDocument(refl) {
|
|
@@ -161,6 +164,9 @@ let BaseRouter = (() => {
|
|
|
161
164
|
}
|
|
162
165
|
}
|
|
163
166
|
if (equal && !to.isProject()) {
|
|
167
|
+
if (fromUrl === toUrl) {
|
|
168
|
+
return "";
|
|
169
|
+
}
|
|
164
170
|
return `#${this.getAnchor(to)}`;
|
|
165
171
|
}
|
|
166
172
|
return "../".repeat(slashes) + toUrl.substring(start);
|
|
@@ -175,7 +175,7 @@ let MarkedPlugin = (() => {
|
|
|
175
175
|
// If we don't have a URL the user probably linked to some deeply nested property
|
|
176
176
|
// which doesn't get an assigned URL. We'll walk upwards until we find a reflection
|
|
177
177
|
// which has a URL and link to that instead.
|
|
178
|
-
if (
|
|
178
|
+
if (typeof url === "undefined") {
|
|
179
179
|
// Walk upwards to find something we can link to.
|
|
180
180
|
let target = part.target.parent;
|
|
181
181
|
while (!context.router.hasUrl(target)) {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Theme } from "../../theme.js";
|
|
2
2
|
import type { Renderer } from "../../renderer.js";
|
|
3
3
|
import { type ContainerReflection, type DocumentReflection, type ProjectReflection, type Reflection, ReflectionKind } from "../../../models/index.js";
|
|
4
|
-
import { type RenderTemplate } from "../../models/UrlMapping.js";
|
|
5
4
|
import type { PageEvent } from "../../events.js";
|
|
6
5
|
import type { MarkedPlugin } from "../../plugins/index.js";
|
|
7
6
|
import { DefaultThemeRenderContext } from "./DefaultThemeRenderContext.js";
|
|
@@ -15,6 +14,11 @@ export interface NavigationElement {
|
|
|
15
14
|
class?: string;
|
|
16
15
|
children?: NavigationElement[];
|
|
17
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* @param data the reflection to render
|
|
19
|
+
* @returns either a string to be written to the file, or an element to be serialized and then written.
|
|
20
|
+
*/
|
|
21
|
+
export type RenderTemplate<T> = (data: T) => JSX.Element | string;
|
|
18
22
|
export declare class DefaultTheme extends Theme {
|
|
19
23
|
usedFileNames: Set<string>;
|
|
20
24
|
/** @internal */
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Theme } from "../../theme.js";
|
|
2
2
|
import { ReferenceReflection, ReflectionCategory, ReflectionGroup, ReflectionKind, } from "../../../models/index.js";
|
|
3
|
-
import {} from "../../models/UrlMapping.js";
|
|
4
3
|
import { DefaultThemeRenderContext } from "./DefaultThemeRenderContext.js";
|
|
5
4
|
import { getIcons } from "./partials/icon.js";
|
|
6
5
|
import { filterMap, JSX } from "#utils";
|
|
@@ -35,7 +35,7 @@ export declare class DefaultThemeRenderContext {
|
|
|
35
35
|
reflectionTemplate: (props: PageEvent<import("../../../models/ContainerReflection.js").ContainerReflection>) => import("../../../utils-common/jsx.elements.js").JsxElement;
|
|
36
36
|
indexTemplate: (props: PageEvent<import("../../../models/ProjectReflection.js").ProjectReflection>) => import("../../../utils-common/jsx.elements.js").JsxElement;
|
|
37
37
|
hierarchyTemplate: (props: PageEvent<import("../../../models/ProjectReflection.js").ProjectReflection>) => import("../../../utils-common/jsx.elements.js").JsxElement;
|
|
38
|
-
defaultLayout: (template: import("
|
|
38
|
+
defaultLayout: (template: import("./DefaultTheme.js").RenderTemplate<PageEvent<Reflection>>, props: PageEvent<Reflection>) => import("../../../utils-common/jsx.elements.js").JsxElement;
|
|
39
39
|
/**
|
|
40
40
|
* Rendered just after the description for a reflection.
|
|
41
41
|
* This can be used to render a shortened type display of a reflection that the
|
|
@@ -69,20 +69,10 @@ export class DefaultThemeRenderContext {
|
|
|
69
69
|
return result;
|
|
70
70
|
};
|
|
71
71
|
getAnchor = (reflection) => {
|
|
72
|
-
|
|
73
|
-
if (!anchor) {
|
|
74
|
-
// This will go to debug level before release
|
|
75
|
-
this.theme.application.logger.warn(`${reflection.getFullName()} does not have an anchor but one was requested when generating page for ${this.model.getFullName()}, this is a bug`);
|
|
76
|
-
}
|
|
77
|
-
return anchor;
|
|
72
|
+
return this.router.getAnchor(reflection);
|
|
78
73
|
};
|
|
79
74
|
urlTo = (reflection) => {
|
|
80
|
-
|
|
81
|
-
return this.router.relativeUrl(this.page.model, reflection);
|
|
82
|
-
}
|
|
83
|
-
// This will go to debug level before release
|
|
84
|
-
this.theme.application.logger.warn(`${reflection.getFullName()} does not have a URL but was linked to when generating page for ${this.model.getFullName()}, this is a bug`);
|
|
85
|
-
return undefined;
|
|
75
|
+
return this.router.relativeUrl(this.page.model, reflection);
|
|
86
76
|
};
|
|
87
77
|
markdown = (md) => {
|
|
88
78
|
return this.theme.markedPlugin.parseMarkdown(md || "", this.page, this);
|
|
@@ -7,11 +7,17 @@ export function typeParameters(context, typeParameters) {
|
|
|
7
7
|
JSX.createElement("ul", { class: "tsd-type-parameter-list" }, typeParameters.map((item) => (JSX.createElement("li", null,
|
|
8
8
|
JSX.createElement("span", null,
|
|
9
9
|
anchorLinkIfPresent(context, item),
|
|
10
|
-
item.flags.isConst && JSX.createElement(
|
|
11
|
-
|
|
10
|
+
item.flags.isConst && (JSX.createElement(JSX.Fragment, null,
|
|
11
|
+
JSX.createElement("span", { class: "tsd-signature-keyword" }, "const"),
|
|
12
|
+
" ")),
|
|
13
|
+
item.varianceModifier && (JSX.createElement(JSX.Fragment, null,
|
|
14
|
+
JSX.createElement("span", { class: "tsd-signature-keyword" }, item.varianceModifier),
|
|
15
|
+
" ")),
|
|
12
16
|
JSX.createElement("span", { class: "tsd-kind-type-parameter" }, item.name),
|
|
13
17
|
!!item.type && (JSX.createElement(JSX.Fragment, null,
|
|
18
|
+
" ",
|
|
14
19
|
JSX.createElement("span", { class: "tsd-signature-keyword" }, "extends"),
|
|
20
|
+
" ",
|
|
15
21
|
context.type(item.type))),
|
|
16
22
|
!!item.default && (JSX.createElement(JSX.Fragment, null,
|
|
17
23
|
" = ",
|
package/dist/lib/utils/fs.d.ts
CHANGED
|
@@ -49,10 +49,6 @@ export declare function glob(pattern: GlobString, root: NormalizedPath, options?
|
|
|
49
49
|
}): NormalizedPath[];
|
|
50
50
|
export declare function hasTsExtension(path: string): boolean;
|
|
51
51
|
export declare function hasDeclarationFileExtension(path: string): boolean;
|
|
52
|
-
export declare function discoverInParentDir<T extends {}>(name: string, dir: string, read: (content: string) => T | undefined): {
|
|
53
|
-
file: string;
|
|
54
|
-
content: T;
|
|
55
|
-
} | undefined;
|
|
56
52
|
export declare function discoverInParentDirExactMatch<T extends {}>(name: string, dir: string, read: (content: string) => T | undefined, usedFile?: (path: string) => void): {
|
|
57
53
|
file: string;
|
|
58
54
|
content: T;
|
package/dist/lib/utils/fs.js
CHANGED
|
@@ -221,27 +221,6 @@ export function hasTsExtension(path) {
|
|
|
221
221
|
export function hasDeclarationFileExtension(path) {
|
|
222
222
|
return /\.d\.[cm]?ts$/.test(path);
|
|
223
223
|
}
|
|
224
|
-
export function discoverInParentDir(name, dir, read) {
|
|
225
|
-
if (!isDir(dir))
|
|
226
|
-
return;
|
|
227
|
-
const reachedTopDirectory = (dirName) => dirName === resolve(join(dirName, ".."));
|
|
228
|
-
while (!reachedTopDirectory(dir)) {
|
|
229
|
-
for (const file of fs.readdirSync(dir)) {
|
|
230
|
-
if (file.toLowerCase() !== name.toLowerCase())
|
|
231
|
-
continue;
|
|
232
|
-
try {
|
|
233
|
-
const content = read(readFile(join(dir, file)));
|
|
234
|
-
if (content != null) {
|
|
235
|
-
return { file: join(dir, file), content };
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
catch {
|
|
239
|
-
// Ignore, file didn't pass validation
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
dir = resolve(join(dir, ".."));
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
224
|
export function discoverInParentDirExactMatch(name, dir, read, usedFile) {
|
|
246
225
|
if (!isDir(dir))
|
|
247
226
|
return;
|
|
@@ -28,6 +28,11 @@ export type OutputSpecification = {
|
|
|
28
28
|
path: string;
|
|
29
29
|
options?: Partial<TypeDocOptions>;
|
|
30
30
|
};
|
|
31
|
+
/**
|
|
32
|
+
* List of option names which, with `entryPointStrategy` set to `packages`
|
|
33
|
+
* should only be set at the root level.
|
|
34
|
+
*/
|
|
35
|
+
export declare const rootPackageOptions: readonly ["plugin", "packageOptions", "outputs", "out", "html", "json", "pretty", "theme", "router", "lightHighlightTheme", "darkHighlightTheme", "highlightLanguages", "ignoredHighlightLanguages", "typePrintWidth", "customCss", "customJs", "customFooterHtml", "customFooterHtmlDisableWrapper", "markdownItOptions", "markdownItLoader", "cname", "favicon", "sourceLinkExternal", "markdownLinkExternal", "lang", "locales", "githubPages", "cacheBust", "hideGenerator", "searchInComments", "searchInDocuments", "cleanOutputDir", "titleLink", "navigationLinks", "sidebarLinks", "navigation", "headings", "sluggerConfiguration", "navigationLeaves", "visibilityFilters", "searchCategoryBoosts", "searchGroupBoosts", "hostedBaseUrl", "useHostedBaseUrlForAbsoluteLinks", "useFirstParagraphOfCommentAsSummary", "includeHierarchySummary", "notRenderedTags", "treatWarningsAsErrors", "treatValidationWarningsAsErrors", "watch", "preserveWatchOutput", "help", "version", "showConfig", "logLevel"];
|
|
31
36
|
/**
|
|
32
37
|
* An interface describing all TypeDoc specific options. Generated from a
|
|
33
38
|
* map which contains more information about each option for better types when
|
|
@@ -46,6 +51,13 @@ export type TypeDocOptions = {
|
|
|
46
51
|
export type TypeDocOptionValues = {
|
|
47
52
|
[K in keyof TypeDocOptionMap]: unknown extends TypeDocOptionMap[K] ? unknown : TypeDocOptionMap[K] extends ManuallyValidatedOption<infer ManuallyValidated> ? ManuallyValidated : TypeDocOptionMap[K] extends string | string[] | GlobString[] | number | boolean | Record<string, boolean> ? TypeDocOptionMap[K] : TypeDocOptionMap[K][keyof TypeDocOptionMap[K]];
|
|
48
53
|
};
|
|
54
|
+
/**
|
|
55
|
+
* Describes TypeDoc options suitable for setting within the `packageOptions` setting.
|
|
56
|
+
*
|
|
57
|
+
* This is a subset of all options specified in {@link TypeDocOptions}.
|
|
58
|
+
*/
|
|
59
|
+
export interface TypeDocPackageOptions extends Omit<TypeDocOptions, typeof rootPackageOptions[number]> {
|
|
60
|
+
}
|
|
49
61
|
/**
|
|
50
62
|
* Describes all TypeDoc options. Used internally to provide better types when fetching options.
|
|
51
63
|
* External consumers should likely use {@link TypeDocOptions} instead.
|
|
@@ -68,7 +80,7 @@ export interface TypeDocOptionMap {
|
|
|
68
80
|
plugin: NormalizedPathOrModule[];
|
|
69
81
|
lang: string;
|
|
70
82
|
locales: ManuallyValidatedOption<Record<string, Record<string, string>>>;
|
|
71
|
-
packageOptions: ManuallyValidatedOption<
|
|
83
|
+
packageOptions: ManuallyValidatedOption<Partial<TypeDocPackageOptions>>;
|
|
72
84
|
entryPoints: GlobString[];
|
|
73
85
|
entryPointStrategy: typeof EntryPointStrategy;
|
|
74
86
|
alwaysCreateEntryPointModule: boolean;
|
|
@@ -17,6 +17,74 @@ export const CommentStyle = {
|
|
|
17
17
|
Line: "line",
|
|
18
18
|
All: "all",
|
|
19
19
|
};
|
|
20
|
+
/**
|
|
21
|
+
* List of option names which, with `entryPointStrategy` set to `packages`
|
|
22
|
+
* should only be set at the root level.
|
|
23
|
+
*/
|
|
24
|
+
export const rootPackageOptions = [
|
|
25
|
+
// Configuration Options
|
|
26
|
+
"plugin",
|
|
27
|
+
// Input Options
|
|
28
|
+
"packageOptions",
|
|
29
|
+
// Output Options
|
|
30
|
+
"outputs",
|
|
31
|
+
"out",
|
|
32
|
+
"html",
|
|
33
|
+
"json",
|
|
34
|
+
"pretty",
|
|
35
|
+
"theme",
|
|
36
|
+
"router",
|
|
37
|
+
"lightHighlightTheme",
|
|
38
|
+
"darkHighlightTheme",
|
|
39
|
+
"highlightLanguages",
|
|
40
|
+
"ignoredHighlightLanguages",
|
|
41
|
+
"typePrintWidth",
|
|
42
|
+
"customCss",
|
|
43
|
+
"customJs",
|
|
44
|
+
"customFooterHtml",
|
|
45
|
+
"customFooterHtmlDisableWrapper",
|
|
46
|
+
"markdownItOptions",
|
|
47
|
+
"markdownItLoader",
|
|
48
|
+
"cname",
|
|
49
|
+
"favicon",
|
|
50
|
+
"sourceLinkExternal",
|
|
51
|
+
"markdownLinkExternal",
|
|
52
|
+
"lang",
|
|
53
|
+
"locales",
|
|
54
|
+
"githubPages",
|
|
55
|
+
"cacheBust",
|
|
56
|
+
"hideGenerator",
|
|
57
|
+
"searchInComments",
|
|
58
|
+
"searchInDocuments",
|
|
59
|
+
"cleanOutputDir",
|
|
60
|
+
"titleLink",
|
|
61
|
+
"navigationLinks",
|
|
62
|
+
"sidebarLinks",
|
|
63
|
+
"navigation",
|
|
64
|
+
"headings",
|
|
65
|
+
"sluggerConfiguration",
|
|
66
|
+
"navigationLeaves",
|
|
67
|
+
"visibilityFilters",
|
|
68
|
+
"searchCategoryBoosts",
|
|
69
|
+
"searchGroupBoosts",
|
|
70
|
+
"hostedBaseUrl",
|
|
71
|
+
"useHostedBaseUrlForAbsoluteLinks",
|
|
72
|
+
"useFirstParagraphOfCommentAsSummary",
|
|
73
|
+
"includeHierarchySummary",
|
|
74
|
+
// Comment Options
|
|
75
|
+
"notRenderedTags",
|
|
76
|
+
// Organization Options
|
|
77
|
+
// Validation Options
|
|
78
|
+
"treatWarningsAsErrors",
|
|
79
|
+
"treatValidationWarningsAsErrors",
|
|
80
|
+
// Other Options
|
|
81
|
+
"watch",
|
|
82
|
+
"preserveWatchOutput",
|
|
83
|
+
"help",
|
|
84
|
+
"version",
|
|
85
|
+
"showConfig",
|
|
86
|
+
"logLevel",
|
|
87
|
+
];
|
|
20
88
|
export var ParameterHint;
|
|
21
89
|
(function (ParameterHint) {
|
|
22
90
|
ParameterHint[ParameterHint["File"] = 0] = "File";
|