-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
System.Speech is missing API documentation #87711
Comments
Tagging subscribers to this area: @dotnet/area-system-speech Issue DetailsSee #84917 for more context. The compiler generated XML file for System.Speech is shipping to customers via the nuget package and is missing public API documentation. The above linked PR disables the compiler error CS1591 until all the API is documented. When working on this, remove the NoWarn=1591 setting from the project file.
|
I'm surprised we're shipping the compiler-generated XML file rather than one derived from the docs. |
The docs package (
Instead of getting a documentation file added to the package (which presumably would be work for the docs team), we prefer to have the source-of-truth in runtime: #44969. @carlossanlop and Akhil were working on porting tool that should ease that process. In the case of |
FWIW these are all the current docs source-of-truth assemblies in runtime (please ignore all the pure facade assemblies):
|
Yes, but it's not for Speech, as is evidenced by this issue and the fact that the docs are more complete than the xml comments. |
This is happening because the |
@carlossanlop - can you see about getting this added to the intellisense package? |
Step 1: Finish documenting all APIs in System.Speech in dotnet-api-docs. Only 4 APIs were incomplete. I have a PR for that: dotnet/dotnet-api-docs#9336 Step 2: Understand why there's no System.Speech assembly in the ref assemblies drop that we generate for dotnet-api-docs. The item exists in Versions.props and Versions.Details.xml of api-catalog-infra, but the assembly file is not getting published in the ref assemblies drop when we build, so there are no docs for that assembly included in the the Microsoft.Private.Intellisense package. Step 3: Once figured out the root cause, send an updated ref-assemblies drop to dotnet-api-docs, then generate a new Microsoft.Private.Intellisense version, confirm it contains an xml for System.Speech, and finally confirm it works for customers in intellisense. Step 4 (Future): When the PNSE problem is fixed, backport all the docs of System.Speech from dotnet-api-docs using the PortToTripleSlash tool and re-enable the property in the csproj so that triple slash docs become the source of truth for this assembly. |
The reference assembly is part of the |
Just chiming in that I think this is the reason for step 2: https://github.com/dotnet/api-catalog-infra/pull/73 Also, for Step 4, we're still blocked because this assembly has a RID-specific impl with PNSE. I considered doing porting the docs to fix this package but did not for this reason. |
See #84917 for more context.
The compiler generated XML file for System.Speech is shipping to customers via the nuget package and is missing public API documentation. The above linked PR disables the compiler error CS1591 until all the API is documented.
When working on this, remove the NoWarn=1591 setting from the project file.
The text was updated successfully, but these errors were encountered: