[Azure Search] Remove inheritdoc and improve SearchCredentials documentation#4516
Conversation
<inheritdoc /> is a feature of Sandcastle and is not supported by the current .NET API Browser on docs.microsoft.com. The workaround is to copy the content that would have otherwise been inherited from a base class/interface.
|
minor inconsistancy -- not an error, just noting it: "otherwise, false" vs "false otherwise" On the short parameter descriptions, some have periods and some don't unfamiliar HTML code -- I've never seen |
|
I approve the PR as long as the is valid HTML syntax. |
|
@HeidiSteen Ironically, it's the tags you didn't recognize that turned out to be the correct ones. This is technically .NET XML docs, not HTML, which can fool me sometimes. Not all HTML tags are supported by the .NET API Browser. In this case, |
| /// <param name='customHeaders'> | ||
| /// The headers that will be added to request. | ||
| /// </param> | ||
| /// <param name='cancellationToken'> |
| /// </param> | ||
| /// <param name='cancellationToken'> | ||
| /// The cancellation token. | ||
| /// </param> |
| /// <param name='customHeaders'> | ||
| /// The headers that will be added to request. | ||
| /// </param> | ||
| /// <param name='cancellationToken'> |
| /// The headers that will be added to request. | ||
| /// </param> | ||
| /// <param name='cancellationToken'> | ||
| /// The cancellation token. |
| /// <exception cref="System.ArgumentNullException"> | ||
| /// Thrown when a required parameter is null. | ||
| /// </exception> | ||
| /// <return> |
There was a problem hiding this comment.
The tag is set to 'returns' at quite a few places. Please correct these.
There was a problem hiding this comment.
It looks like an issue with the generated code that copied over to the custom code. It's supposed to be <returns> everywhere. I'll fix it in the custom code. In the meantime, I've filed an issue on AutoRest: https://github.com/Azure/autorest/issues/2957
|
@brjohnstmsft @HeidiSteen is this ready to be merged. |
|
#sign-off |
1 similar comment
|
#sign-off |
|
#sign-off |
|
@azuresdkci retest this please |
<inheritdoc />is not supported by the .NET API browser. As a workaround, I'm copying documentation instead. Also adding more detail toSearchCredentialsper feedback from Heidi.Once this is in the preview SDK, I'll merge it back to the GA SDK.
FYI @HeidiSteen @Yahnoosh @mhko @jeji1101
Description
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Testing Guidelines
SDK Generation Guidelines
*.csprojandAssemblyInfo.csfiles have been updated with the new version of the SDK.