typedoc 0.26.0-beta.3 → 0.26.0-beta.4

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.
Files changed (46) hide show
  1. package/dist/lib/application.d.ts +6 -1
  2. package/dist/lib/application.js +5 -0
  3. package/dist/lib/cli.js +13 -0
  4. package/dist/lib/converter/comments/index.js +3 -0
  5. package/dist/lib/converter/plugins/ImplementsPlugin.js +3 -2
  6. package/dist/lib/converter/plugins/LinkResolverPlugin.js +7 -0
  7. package/dist/lib/converter/plugins/SourcePlugin.d.ts +1 -15
  8. package/dist/lib/converter/plugins/SourcePlugin.js +4 -45
  9. package/dist/lib/converter/utils/repository.d.ts +46 -1
  10. package/dist/lib/converter/utils/repository.js +191 -64
  11. package/dist/lib/internationalization/internationalization.d.ts +5 -2
  12. package/dist/lib/internationalization/internationalization.js +42 -0
  13. package/dist/lib/internationalization/locales/jp.cjs +308 -0
  14. package/dist/lib/internationalization/locales/jp.d.cts +307 -0
  15. package/dist/lib/internationalization/locales/zh.cjs +308 -0
  16. package/dist/lib/internationalization/locales/zh.d.cts +307 -0
  17. package/dist/lib/internationalization/translatable.d.ts +184 -167
  18. package/dist/lib/internationalization/translatable.js +182 -166
  19. package/dist/lib/models/comments/comment.d.ts +1 -0
  20. package/dist/lib/models/reflections/abstract.d.ts +12 -11
  21. package/dist/lib/models/reflections/abstract.js +46 -49
  22. package/dist/lib/output/plugins/IconsPlugin.js +21 -17
  23. package/dist/lib/output/renderer.d.ts +2 -2
  24. package/dist/lib/output/themes/default/DefaultTheme.js +1 -1
  25. package/dist/lib/output/themes/default/partials/comment.d.ts +1 -1
  26. package/dist/lib/output/themes/default/partials/comment.js +11 -7
  27. package/dist/lib/output/themes/default/partials/navigation.js +8 -2
  28. package/dist/lib/output/themes/default/templates/reflection.js +2 -2
  29. package/dist/lib/output/themes/lib.d.ts +0 -1
  30. package/dist/lib/output/themes/lib.js +0 -4
  31. package/dist/lib/utils/general.d.ts +1 -0
  32. package/dist/lib/utils/general.js +5 -0
  33. package/dist/lib/utils/options/sources/typedoc.js +1 -0
  34. package/dist/lib/utils/options/tsdoc-defaults.d.ts +1 -1
  35. package/dist/lib/utils/options/tsdoc-defaults.js +5 -1
  36. package/dist/lib/utils/paths.js +11 -1
  37. package/dist/lib/utils/perf.js +3 -1
  38. package/dist/lib/validation/links.d.ts +1 -1
  39. package/dist/lib/validation/links.js +42 -7
  40. package/package.json +2 -2
  41. package/static/main.js +1 -1
  42. package/static/style.css +6 -0
  43. package/dist/lib/converter/utils/base-path.d.ts +0 -36
  44. package/dist/lib/converter/utils/base-path.js +0 -117
  45. package/dist/lib/internationalization/locales/test.cjs +0 -8
  46. package/dist/lib/internationalization/locales/test.d.cts +0 -5
@@ -0,0 +1,307 @@
1
+ declare const _default: {
2
+ loaded_multiple_times_0: "TypeDoc 已加载多次。这通常是由具有自己的 TypeDoc 安装的插件引起的。加载的路径为:\n{0}";
3
+ unsupported_ts_version_0: "您正在使用不受支持的 TypeScript 版本运行!如果 TypeDoc 崩溃,这就是原因。TypeDoc 支持 {0}";
4
+ no_compiler_options_set: string;
5
+ loaded_plugin_0: "已加载插件 {0}";
6
+ solution_not_supported_in_watch_mode: string;
7
+ strategy_not_supported_in_watch_mode: string;
8
+ found_0_errors_and_1_warnings: "发现 {0} 个错误和 {1} 个警告";
9
+ docs_could_not_be_generated: string;
10
+ docs_generated_at_0: "文档生成于 {0}";
11
+ json_written_to_0: "JSON 已写入 {0}";
12
+ no_entry_points_for_packages: string;
13
+ failed_to_find_packages: string;
14
+ nested_packages_unsupported_0: "位于 {0} 的项目已将 entryPointStrategy 设置为包,但不支持嵌套包";
15
+ previous_error_occurred_when_reading_options_for_0: "读取 {0} 处的包的选项时发生上一个错误";
16
+ converting_project_at_0: "正在转换 {0} 处的项目";
17
+ failed_to_convert_packages: string;
18
+ merging_converted_projects: string;
19
+ no_entry_points_to_merge: string;
20
+ entrypoint_did_not_match_files_0: "入口点 glob {0} 与任何文件均不匹配";
21
+ failed_to_parse_json_0: "无法将 {0} 处的文件解析为 json";
22
+ failed_to_read_0_when_processing_document_tag_in_1: "处理 {1} 中注释的 @document 标记时无法读取文件 {0}";
23
+ failed_to_read_0_when_processing_project_document: "添加项目文档时无法读取文件 {0}";
24
+ failed_to_read_0_when_processing_document_child_in_1: "处理 {1} 中的文档子项时无法读取文件 {0}";
25
+ frontmatter_children_0_should_be_an_array_of_strings_or_object_with_string_values: "{0} 中的 Frontmatter 子项应为字符串数组或具有字符串值的对象";
26
+ converting_union_as_interface: string;
27
+ converting_0_as_class_requires_value_declaration: "将 {0} 转换为类需要表示非类型值的声明";
28
+ converting_0_as_class_without_construct_signatures: "{0} 正在转换为类,但没有任何构造签名";
29
+ comment_for_0_should_not_contain_block_or_modifier_tags: "{0} 的注释不应包含任何块或修饰符标签";
30
+ symbol_0_has_multiple_declarations_with_comment: "{0} 有多个带注释的声明。将使用任意注释";
31
+ comments_for_0_are_declared_at_1: "{0} 的注释声明于:\n{1}";
32
+ multiple_type_parameters_on_template_tag_unsupported: string;
33
+ failed_to_find_jsdoc_tag_for_name_0: "解析注释后无法找到 {0} 的 JSDoc 标签,请提交错误报告";
34
+ relative_path_0_does_not_exist: "相对路径 {0} 不存在";
35
+ inline_inheritdoc_should_not_appear_in_block_tag_in_comment_at_0: "内联 @inheritDoc 标记不应出现在块标记内,因为它不会在 {0} 处的注释中被处理。";
36
+ at_most_one_remarks_tag_expected_in_comment_at_0: "注释中最多应有一个 @remarks 标签,忽略 {0} 处注释中除第一个标签之外的所有标签";
37
+ at_most_one_returns_tag_expected_in_comment_at_0: "注释中最多应有一个 @returns 标签,忽略 {0} 处注释中除第一个标签之外的所有标签";
38
+ at_most_one_inheritdoc_tag_expected_in_comment_at_0: "注释中最多应有一个 @inheritDoc 标签,忽略 {0} 处注释中除第一个标签之外的所有标签";
39
+ content_in_summary_overwritten_by_inheritdoc_in_comment_at_0: "摘要部分的内容将被 {0} 处注释中的 @inheritDoc 标记覆盖";
40
+ content_in_remarks_block_overwritten_by_inheritdoc_in_comment_at_0: "@remarks 块中的内容将被 {0} 处注释中的 @inheritDoc 标记覆盖";
41
+ example_tag_literal_name: string;
42
+ inheritdoc_tag_properly_capitalized: string;
43
+ treating_unrecognized_tag_0_as_modifier: "将无法识别的标签 {0} 视为修饰标签";
44
+ unmatched_closing_brace: string;
45
+ unescaped_open_brace_without_inline_tag: string;
46
+ unknown_block_tag_0: "遇到未知的区块标记 {0}";
47
+ unknown_inline_tag_0: "遇到未知的内联标记 {0}";
48
+ open_brace_within_inline_tag: string;
49
+ inline_tag_not_closed: string;
50
+ failed_to_resolve_link_to_0_in_comment_for_1: "无法解析“{1}”评论中的“{0}”链接";
51
+ type_0_defined_in_1_is_referenced_by_2_but_not_included_in_docs: "{0} 在 {1} 中定义,被 {2} 引用,但未包含在文档中";
52
+ reflection_0_kind_1_defined_in_2_does_not_have_any_documentation: "{0} ({1}),在 {2} 中定义,没有任何文档";
53
+ invalid_intentionally_not_exported_symbols_0: "以下符号被标记为有意不导出,但未在文档中引用,或已被导出:\n{0}";
54
+ not_all_search_category_boosts_used_0: "文档中并未使用 searchCategoryBoosts 中指定的所有类别。未使用的类别包括:\n{0}";
55
+ not_all_search_group_boosts_used_0: "文档中并未使用 searchGroupBoosts 中指定的所有组。未使用的组为:\n{0}";
56
+ comment_for_0_includes_categoryDescription_for_1_but_no_child_in_group: "{0} 的评论包含“{1}”的 @categoryDe​​scription,但该类别中没有子项";
57
+ comment_for_0_includes_groupDescription_for_1_but_no_child_in_group: "对 {0} 的评论包含“{1}”的 @groupDescription,但该组中没有子项";
58
+ label_0_for_1_cannot_be_referenced: "无法使用声明引用来引用 {1} 的标签“{0}”。标签只能包含 A-Z、0-9 和 _,并且不能以数字开头";
59
+ modifier_tag_0_is_mutually_exclusive_with_1_in_comment_for_2: "修饰符标记 {0} 与 {2} 注释中的 {1} 互斥";
60
+ signature_0_has_unused_param_with_name_1: "签名 {0} 有一个名为“{1}”的 @param,但未被使用";
61
+ declaration_reference_in_inheritdoc_for_0_not_fully_parsed: "@inheritDoc 中对 {0} 的声明引用未完全解析,可能会解析不正确";
62
+ failed_to_find_0_to_inherit_comment_from_in_1: "在 {1} 的评论中找不到要继承的评论“{0}”";
63
+ reflection_0_tried_to_copy_comment_from_1_but_source_had_no_comment: "{0} 尝试使用 @inheritDoc 从 {1} 复制注释,但源没有相关注释";
64
+ inheritdoc_circular_inheritance_chain_0: "@inheritDoc 指定循环继承链:{0}";
65
+ provided_readme_at_0_could_not_be_read: "提供的 README 路径无法读取 {0}";
66
+ defaulting_project_name: string;
67
+ disable_git_set_but_not_source_link_template: string;
68
+ disable_git_set_and_git_revision_used: string;
69
+ git_remote_0_not_valid: "提供的 git 远程“{0}”无效。源链接将失效";
70
+ custom_css_file_0_does_not_exist: "{0} 处的自定义 CSS 文件不存在";
71
+ unsupported_highlight_language_0_not_highlighted_in_comment_for_1: "不支持的突出显示语言 {0} 将不会在 {1} 的评论中突出显示";
72
+ unloaded_language_0_not_highlighted_in_comment_for_1: "语言为 {0} 的代码块将不会在 {1} 的注释中突出显示,因为它未包含在 highlightLanguages 选项中";
73
+ yaml_frontmatter_not_an_object: string;
74
+ could_not_write_0: "无法写入 {0}";
75
+ could_not_empty_output_directory_0: "无法清空输出目录 {0}";
76
+ could_not_create_output_directory_0: "无法创建输出目录 {0}";
77
+ theme_0_is_not_defined_available_are_1: "主题“{0}”未定义。可用主题为:{1}";
78
+ custom_theme_does_not_define_getSlugger: string;
79
+ no_entry_points_provided: string;
80
+ unable_to_find_any_entry_points: string;
81
+ watch_does_not_support_packages_mode: string;
82
+ watch_does_not_support_merge_mode: string;
83
+ entry_point_0_not_in_program: "入口点 {0} 未被 tsconfig 中的“files”或“include”选项引用";
84
+ use_expand_or_glob_for_files_in_dir: string;
85
+ glob_0_did_not_match_any_files: "glob {0} 与任何文件均不匹配";
86
+ entry_point_0_did_not_match_any_files_after_exclude: "应用排除模式后,glob {0} 没有匹配任何文件";
87
+ entry_point_0_did_not_exist: "提供的入口点 {0} 不存在";
88
+ entry_point_0_did_not_match_any_packages: "入口点 glob {0} 与任何包含 package.json 的目录不匹配";
89
+ file_0_not_an_object: "文件 {0} 不是对象";
90
+ serialized_project_referenced_0_not_part_of_project: "序列化项目引用了反射 {0},但它不是项目的一部分";
91
+ saved_relative_path_0_resolved_from_1_does_not_exist: "序列化项目引用了 {0},相对于 {1} 而言,它并不存在";
92
+ circular_reference_extends_0: "{0} 的“extends”字段出现循环引用";
93
+ failed_resolve_0_to_file_in_1: "无法将 {0} 解析为 {1} 中的文件";
94
+ option_0_can_only_be_specified_by_config_file: "“{0}”选项只能通过配置文件指定";
95
+ option_0_expected_a_value_but_none_provided: "--{0} 需要一个值,但没有给出任何参数";
96
+ unknown_option_0_may_have_meant_1: "未知选项:{0},你可能指的是:\n{1}";
97
+ typedoc_key_in_0_ignored: "{0} 中的“typedoc”键已被旧包 entryPointStrategy 使用,将被忽略";
98
+ typedoc_options_must_be_object_in_0: "无法解析 {0} 中的“typedocOptions”字段,请确保它存在且包含对象";
99
+ tsconfig_file_0_does_not_exist: "tsconfig 文件 {0} 不存在";
100
+ tsconfig_file_specifies_options_file: string;
101
+ tsconfig_file_specifies_tsconfig_file: string;
102
+ tags_0_defined_in_typedoc_json_overwritten_by_tsdoc_json: "typedoc.json 中定义的 {0} 将被 tsdoc.json 中的配置覆盖";
103
+ failed_read_tsdoc_json_0: "无法读取位于 {0} 的 tsdoc.json 文件";
104
+ invalid_tsdoc_json_0: "文件 {0} 不是有效的 tsdoc.json 文件";
105
+ options_file_0_does_not_exist: "选项文件 {0} 不存在";
106
+ failed_read_options_file_0: "无法解析 {0},请确保其存在并导出对象";
107
+ invalid_plugin_0_missing_load_function: "插件 {0} 中的结构无效,未找到加载函数";
108
+ plugin_0_could_not_be_loaded: "无法加载插件 {0}";
109
+ help_options: string;
110
+ help_tsconfig: string;
111
+ help_compilerOptions: string;
112
+ help_lang: string;
113
+ help_locales: string;
114
+ help_packageOptions: string;
115
+ help_entryPoints: string;
116
+ help_entryPointStrategy: string;
117
+ help_alwaysCreateEntryPointModule: string;
118
+ help_projectDocuments: string;
119
+ help_exclude: string;
120
+ help_externalPattern: string;
121
+ help_excludeExternals: string;
122
+ help_excludeNotDocumented: string;
123
+ help_excludeNotDocumentedKinds: string;
124
+ help_excludeInternal: string;
125
+ help_excludeCategories: string;
126
+ help_excludePrivate: string;
127
+ help_excludeProtected: string;
128
+ help_excludeReferences: string;
129
+ help_externalSymbolLinkMappings: string;
130
+ help_out: string;
131
+ help_json: string;
132
+ help_pretty: string;
133
+ help_emit: string;
134
+ help_theme: string;
135
+ help_lightHighlightTheme: string;
136
+ help_darkHighlightTheme: string;
137
+ help_highlightLanguages: string;
138
+ help_customCss: string;
139
+ help_markdownItOptions: string;
140
+ help_markdownItLoader: string;
141
+ help_maxTypeConversionDepth: string;
142
+ help_name: string;
143
+ help_includeVersion: string;
144
+ help_disableSources: string;
145
+ help_sourceLinkTemplate: string;
146
+ help_gitRevision: string;
147
+ help_gitRemote: string;
148
+ help_disableGit: string;
149
+ help_basePath: string;
150
+ help_excludeTags: string;
151
+ help_readme: string;
152
+ help_cname: string;
153
+ help_sourceLinkExternal: string;
154
+ help_githubPages: string;
155
+ help_hostedBaseUrl: string;
156
+ help_useHostedBaseUrlForAbsoluteLinks: string;
157
+ help_gaID: string;
158
+ help_hideGenerator: string;
159
+ help_customFooterHtml: string;
160
+ help_customFooterHtmlDisableWrapper: string;
161
+ help_hideParameterTypesInTitle: string;
162
+ help_cacheBust: string;
163
+ help_searchInComments: string;
164
+ help_searchInDocuments: string;
165
+ help_cleanOutputDir: string;
166
+ help_titleLink: string;
167
+ help_navigationLinks: string;
168
+ help_sidebarLinks: string;
169
+ help_navigationLeaves: string;
170
+ help_navigation: string;
171
+ help_visibilityFilters: string;
172
+ help_searchCategoryBoosts: string;
173
+ help_searchGroupBoosts: string;
174
+ help_jsDocCompatibility: string;
175
+ help_commentStyle: string;
176
+ help_useTsLinkResolution: string;
177
+ help_preserveLinkText: string;
178
+ help_blockTags: string;
179
+ help_inlineTags: string;
180
+ help_modifierTags: string;
181
+ help_categorizeByGroup: string;
182
+ help_defaultCategory: string;
183
+ help_categoryOrder: string;
184
+ help_groupOrder: string;
185
+ help_sort: string;
186
+ help_sortEntryPoints: string;
187
+ help_kindSortOrder: string;
188
+ help_watch: string;
189
+ help_preserveWatchOutput: string;
190
+ help_skipErrorChecking: string;
191
+ help_help: string;
192
+ help_version: string;
193
+ help_showConfig: string;
194
+ help_plugin: string;
195
+ help_logLevel: string;
196
+ help_treatWarningsAsErrors: string;
197
+ help_treatValidationWarningsAsErrors: string;
198
+ help_intentionallyNotExported: string;
199
+ help_requiredToBeDocumented: string;
200
+ help_validation: string;
201
+ unknown_option_0_you_may_have_meant_1: "未知选项“{0}” 你可能指的是:\n{1}";
202
+ option_0_must_be_between_1_and_2: "{0} 必须介于 {1} 和 {2} 之间";
203
+ option_0_must_be_equal_to_or_greater_than_1: "{0} 必须等于或大于 {1}";
204
+ option_0_must_be_less_than_or_equal_to_1: "{0} 必须小于或等于 {1}";
205
+ option_0_must_be_one_of_1: "{0} 必须是 {1} 之一";
206
+ flag_0_is_not_valid_for_1_expected_2: "标志“{0}”对 {1} 无效,应为 {2} 之一";
207
+ expected_object_with_flag_values_for_0: "预期为一个带有标志值为 {0} 或 true/false 的对象";
208
+ flag_values_for_0_must_be_booleans: "{0} 的标志值必须是布尔值";
209
+ locales_must_be_an_object: string;
210
+ exclude_not_documented_specified_0_valid_values_are_1: "excludeNotDocumentedKinds 只能指定已知值,并且提供了无效值 ({0})。有效类型为:\n{1}";
211
+ external_symbol_link_mappings_must_be_object: string;
212
+ highlight_theme_0_must_be_one_of_1: "{0} 必须是下列之一:{1}";
213
+ highlightLanguages_contains_invalid_languages_0: "highlightLanguages 包含无效语言:{0},运行 typedoc --help 获取受支持语言的列表";
214
+ hostedBaseUrl_must_start_with_http: string;
215
+ useHostedBaseUrlForAbsoluteLinks_requires_hostedBaseUrl: string;
216
+ option_0_must_be_an_object: "“{0}”选项必须是非数组对象";
217
+ option_0_must_be_a_function: "‘{0}’ 选项必须是一个函数";
218
+ option_0_must_be_object_with_urls: "{0} 必须是具有字符串标签作为键和 URL 值的对象";
219
+ visibility_filters_only_include_0: "visibilityFilters 只能包含以下非@键:{0}";
220
+ visibility_filters_must_be_booleans: string;
221
+ option_0_values_must_be_numbers: "{0} 的所有值都必须是数字";
222
+ option_0_values_must_be_array_of_tags: "{0} 必须是有效标签名称的数组";
223
+ option_0_specified_1_but_only_2_is_valid: "{0} 只能指定已知值,并且提供了无效值 ({1})。有效的排序策略为:\n{2}";
224
+ kind_project: string;
225
+ kind_module: string;
226
+ kind_namespace: string;
227
+ kind_enum: string;
228
+ kind_enum_member: string;
229
+ kind_variable: string;
230
+ kind_function: string;
231
+ kind_class: string;
232
+ kind_interface: string;
233
+ kind_constructor: string;
234
+ kind_property: string;
235
+ kind_method: string;
236
+ kind_call_signature: string;
237
+ kind_index_signature: string;
238
+ kind_constructor_signature: string;
239
+ kind_parameter: string;
240
+ kind_type_literal: string;
241
+ kind_type_parameter: string;
242
+ kind_accessor: string;
243
+ kind_get_signature: string;
244
+ kind_set_signature: string;
245
+ kind_type_alias: string;
246
+ kind_reference: string;
247
+ kind_document: string;
248
+ kind_plural_project: string;
249
+ kind_plural_module: string;
250
+ kind_plural_namespace: string;
251
+ kind_plural_enum: string;
252
+ kind_plural_enum_member: string;
253
+ kind_plural_variable: string;
254
+ kind_plural_function: string;
255
+ kind_plural_class: string;
256
+ kind_plural_interface: string;
257
+ kind_plural_constructor: string;
258
+ kind_plural_property: string;
259
+ kind_plural_method: string;
260
+ kind_plural_call_signature: string;
261
+ kind_plural_index_signature: string;
262
+ kind_plural_constructor_signature: string;
263
+ kind_plural_parameter: string;
264
+ kind_plural_type_literal: string;
265
+ kind_plural_type_parameter: string;
266
+ kind_plural_accessor: string;
267
+ kind_plural_get_signature: string;
268
+ kind_plural_set_signature: string;
269
+ kind_plural_type_alias: string;
270
+ kind_plural_reference: string;
271
+ kind_plural_document: string;
272
+ flag_protected: string;
273
+ flag_private: string;
274
+ flag_external: string;
275
+ flag_inherited: string;
276
+ theme_implements: string;
277
+ theme_indexable: string;
278
+ theme_type_declaration: string;
279
+ theme_index: string;
280
+ theme_hierarchy: string;
281
+ theme_hierarchy_view_full: string;
282
+ theme_implemented_by: string;
283
+ theme_defined_in: string;
284
+ theme_implementation_of: string;
285
+ theme_inherited_from: string;
286
+ theme_overrides: string;
287
+ theme_returns: string;
288
+ theme_re_exports: string;
289
+ theme_renames_and_re_exports: string;
290
+ theme_generated_using_typedoc: string;
291
+ theme_preparing_search_index: string;
292
+ theme_search_index_not_available: string;
293
+ theme_settings: string;
294
+ theme_member_visibility: string;
295
+ theme_theme: string;
296
+ theme_os: string;
297
+ theme_light: string;
298
+ theme_dark: string;
299
+ theme_on_this_page: string;
300
+ theme_search: string;
301
+ theme_menu: string;
302
+ theme_permalink: string;
303
+ tag_see: string;
304
+ tag_group: string;
305
+ tag_example: string;
306
+ };
307
+ export = _default;