Typescript and JSDoc
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- babel, javascript, typescript
调研方向
Start by examining the built-in ui5 build jsdoc task and the Babel transformation from TypeScript to JavaScript. Compare the available approaches—processing TypeScript sources, preserving comments, or documenting a separate workflow—and define which supported behavior should produce JSDoc artifacts before implementing or documenting it.
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem? Please describe.
UI5 cli offers a built-in task for generating JSDoc: ui5 build jsdoc
While this works for JS based UI5 projects, this task won't work for a TypeScript project. Here, the TS coding is transformed by babel to JavaScript and the comments are removed. Using now the jsdoc task will result in no JSDoc being generated, as the JS source files in webapp do not contain the needed JSDoc comments. Even when the TS sources contain valid JSDoc comments, no JSDoc artifacts are generated using ui5 tooling.
Describe the solution you'd like
Maybe ui5 tooling can include support for JSDoc in TS files? So that ui5 build jsdoc is able to generate the JSDoc artifacts from the TS source? Or maybe include the usage of typedoc in the docs? In that case, maybe it is better to completely remove support for JSDoc from the ui5 tooling and inform the user to generate it manually in a seperate build step?
Describe alternatives you've considered
Include the JSDoc comments in the TS to JS transformation so the jsdoc works on the generated JS sources. This should not be considered as the doc is for the TS source and might inlcude TS specific information. Also, the documentation should be created for what the developer writes, and not on generated JS files. An alternative is to remove JSDoc from ui5 tooling and let the user generate the docs in a seperate build step (manually or via a build pipeline). Not using JSdoc at all is not an option, as the documentation is an important asset.
- 主要语言
- JavaScript
- 星标
- 510
- 派生
- 80
- 平均合并
- 2 天 22 小时
- 30 天内合并 PR
- 12
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
UI5/cli 的其他 Issue
-
Build cache: buildThemes cache is invalidated by irrelevant library.js / .library content changes未关闭module/ui5-builder module/ui5-fs module/ui5-project
难度 3/5 1-2 天 新手友好度 76/100
维护者通常 2 天内回复
-
module/ui5-project
难度 4/5 3-5 天 新手友好度 64/100
维护者通常 2 天内回复
-
[ROADMAP] UI5 CLI 6.0 / Specification Version 6.0可能重新可做 @flovogt 于 116 天前认领,目前没有进行中的 PR。 未关闭roadmap
UI5/cli#1485 · 1 个 reaction · 已指派 1 人 ·
维护者通常 2 天内回复
-
build excludes from application project are not applied to dependencies可能重新可做 @flovogt 于 90 天前认领,目前没有进行中的 PR。 未关闭
UI5/cli#1446 · 3 条评论 · 已指派 1 人 ·
维护者通常 2 天内回复
-
help provided
难度 4/5 3-5 天 新手友好度 35/100
维护者通常 2 天内回复
相似的 Issue
-
backlog
难度 2/5 1-3 小时 新手友好度 72/100
sagemathinc/sagebrush#3434 ·
维护者通常 1 天内回复
-
New tool: BioFigure可能已有人在做 @github-actions 今天认领。 未关闭submission triage
难度 1/5 1 小时以内 新手友好度 70/100
kausalflow/tools#386 · 1 条评论 ·
维护者通常 1 天内回复
-
Bug
难度 2/5 1-3 小时 新手友好度 82/100
-
issue(a11y): at 320 px wide, the EXPERIMENTAL badge breaks in the middle of the word可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug confirmed issue
难度 1/5 1 小时以内 新手友好度 90/100
open-webui/open-webui#35507 · 2 条评论 ·
维护者通常 1 天内回复
-
beginner-friendly category:tests community enhancement first-timers-only good first issue help wanted low hanging fruit micro-contribution type: task up-for-grabs
难度 1/5 1 小时以内 新手友好度 95/100
Berserk-hub150/skillhawk#300 · 1 条评论 ·