-
Notifications
You must be signed in to change notification settings - Fork 865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doc generation for TypeScript not working even with the basic example #6791
Comments
Same Issue here, I think there is a problem with type2docfx which generates yml files with '### YamlMime:TSType' or '### YamlMime:TSPackage'. I've changed em manually to '### YamlMime:UniversalReference' with no success |
@yunair This issue is caused by UDP2SDP work. It breaks the template community uses. I think a history version of type2docfx using UDP can still work for community template. Can you add some information here? |
@superyyrrzz yes, UDP2SDP has breaking changes. so latest version can't run into docfxv2. |
@Ellerbach @VoodbooV Could you try version 0.10.5?
|
@superyyrrzz |
Typescript example is broken as discussed here dotnet#6791 (dotnet#6791). Re-verting to older npm package 0.10.5 for type2docfx fixes it for now.
Does anyone know what the plan is for Typescript documentation support in docfx is? According to docascode/type2docfx#63 we need to use typedoc@0.15.0 and type2docfx@0.10.5 which I've been doing but the Typescript compiler 3.5.3 is now so old it's not a viable workaround anymore. I assume https://www.npmjs.com/package/@microsoft/type2docfx that points to an archived repo means development has continued in private repo and is for use only with Microsoft Learn's site instead. Or is the plan that if this issue gets implemented we can then use that package instead? Edit: |
|
dup of #5749 |
Operating System:
Windows
DocFX Version Used: choco install docfx -y
Template used:
default
Steps to Reproduce:
I've done exactly the steps from the doc: https://dotnet.github.io/docfx/tutorial/universalreference/gen_doc_for_ts.html
TypeScript 3.9 or TypeScript 4.0 give the same result
Expected Behavior:
Generate the docs.
Actual Behavior:
The api.json is generated
The yml files are all generated.
Only TOC generated in _site. All the rest is ignored.
Tested also on some other TypeScript, well documented application and same issue. Only TOC is generated.
The text was updated successfully, but these errors were encountered: