From 131e7a256cedb1faeae70cd0dae4230c15e4b64b Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Thu, 27 Jan 2022 09:35:05 +0200 Subject: [PATCH] Add note about redirection for documenting IDExxxx --- .../Documentation for IDE CodeStyle analyzers.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/contributing/Documentation for IDE CodeStyle analyzers.md b/docs/contributing/Documentation for IDE CodeStyle analyzers.md index a1c727b1a0ef6..657235ec39ee7 100644 --- a/docs/contributing/Documentation for IDE CodeStyle analyzers.md +++ b/docs/contributing/Documentation for IDE CodeStyle analyzers.md @@ -7,7 +7,7 @@ 2. Each IDE diagnostic ID has a dedicated documentation page. For example: 1. Diagnostic with code style option: 2. Diagnostic without code style option: - 3. Multiple diagnostic IDs sharing the same option(s): + 3. Multiple diagnostic IDs sharing the same option(s): . In this case, a [redirection](https://github.com/dotnet/docs/blob/7ae7272d643aa1c6db96cad8d09d4c2332855960/.openpublishing.redirection.fundamentals.json#L11-L14) for all diagnostic IDs must be added. 3. We have tabular indices for IDE diagnostic IDs and code style options for easier reference and navigation: 1. Primary index (rule ID + code style options): @@ -20,9 +20,9 @@ Roslyn IDE team (@dotnet/roslyn-ide) is responsible for ensuring that the documentation for IDE analyzers is up-to-date. Whenever we add a new IDE analyzer, add new code style option(s) OR update semantics of existing IDE analyzers the following needs to be done: -1. **Action required in [dotnet\docs](https://github.com/dotnet/docs) repo**: +1. **Action required in [dotnet/docs](https://github.com/dotnet/docs) repo**: 1. If you _creating a Roslyn PR for an IDE analyzer_: - 1. Please follow the steps at [Contribute docs for 'IDExxxx' rules](https://docs.microsoft.com/contribute/dotnet/dotnet-contribute-code-analysis#contribute-docs-for-idexxxx-rules) to add documentation for IDE analyzers to [dotnet\docs](https://github.com/dotnet/docs) repo. + 1. Please follow the steps at [Contribute docs for 'IDExxxx' rules](https://docs.microsoft.com/contribute/dotnet/dotnet-contribute-code-analysis#contribute-docs-for-idexxxx-rules) to add documentation for IDE analyzers to [dotnet/docs](https://github.com/dotnet/docs) repo. 2. Ideally, the documentation PR should be created in parallel to the Roslyn PR or immediately following the approval/merge of Roslyn PR. 2. If you are _reviewing a Roslyn PR for an IDE analyzer_: 1. Please ensure that the analyzer author is made aware of the above doc contribution requirements, especially if it is a community PR. @@ -30,4 +30,4 @@ Roslyn IDE team (@dotnet/roslyn-ide) is responsible for ensuring that the docume 2. **No action required in Roslyn repo**: Help links have been hooked up to IDE code style analyzers in Roslyn repo in the base analyzer types, so every new IDE analyzer diagnostic ID will automatically have `https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ideXXXX` as its help link. There is no action required on the Roslyn PR to ensure this linking. -If you feel any of the existing IDE rule docs have insufficient or incorrect information, please submit a PR to [dotnet\docs](https://github.com/dotnet/docs) repo to update the documentation. +If you feel any of the existing IDE rule docs have insufficient or incorrect information, please submit a PR to [dotnet/docs](https://github.com/dotnet/docs) repo to update the documentation.