Repository navigation
Fix absolute links https://docs.microsoft.com/dotnet links to relative links - #9837
Conversation
Changed absolute https://docs.microsoft.com/dotnet links to relative links.
Co-Authored-By: msschl <markus_schlotbohm@as-gmbh.de>
Co-Authored-By: msschl <markus_schlotbohm@as-gmbh.de>
|
@mairaw reverted links to absolute links in |
| ## The custom Entity base class | ||
|
|
||
| The following code is an example of an Entity base class where you can place code that can be used the same way by any domain entity, such as the entity ID, [equality operators](https://docs.microsoft.com/dotnet/csharp/language-reference/operators/equality-comparison-operator), a domain event list per entity, etc. | ||
| The following code is an example of an Entity base class where you can place code that can be used the same way by any domain entity, such as the entity ID, [equality operators](~/docs/csharp/language-reference/operators/equality-comparison-operator.md), a domain event list per entity, etc. |
There was a problem hiding this comment.
| The following code is an example of an Entity base class where you can place code that can be used the same way by any domain entity, such as the entity ID, [equality operators](~/docs/csharp/language-reference/operators/equality-comparison-operator.md), a domain event list per entity, etc. | |
| The following code is an example of an Entity base class where you can place code that can be used the same way by any domain entity, such as the entity ID, [equality operators](../../../../csharp/language-reference/operators/equality-comparison-operator.md), a domain event list per entity, etc. |
|
|
||
| - **Unit testing in .NET Core using dotnet test** <br/> | ||
| [*https://docs.microsoft.com/dotnet/core/testing/unit-testing-with-dotnet-test*](https://docs.microsoft.com/dotnet/core/testing/unit-testing-with-dotnet-test) | ||
| [*https://docs.microsoft.com/dotnet/core/testing/unit-testing-with-dotnet-test*](~/docs/core/testing/unit-testing-with-dotnet-test.md) |
There was a problem hiding this comment.
| [*https://docs.microsoft.com/dotnet/core/testing/unit-testing-with-dotnet-test*](~/docs/core/testing/unit-testing-with-dotnet-test.md) | |
| [*https://docs.microsoft.com/dotnet/core/testing/unit-testing-with-dotnet-test*](../../../../core/testing/unit-testing-with-dotnet-test.md) |
mairaw
left a comment
There was a problem hiding this comment.
Thanks for your changes @msschl and your feedback @NextTurn. I agree that the relative paths are preferred but they are not required, so I'll merge this as-is. For the files inside the includes folder though, the ~ are better because you don't know in which topic they'll be used, so in that case the use of ~ is better.
|
@mairaw Shall we add this special rule for |
|
I think that would be good! |
|
Well we have 4K links with |
|
Using .. for the includes links in the content inside the docs folder is fine. My comment was regarding the links to our content from the files inside the includes like we had a few in this PR. For those files, we should use ~ for relative links. Makes sense? |
|
Oh OK, I got it. |
Summary
Changed absolute https://docs.microsoft.com/dotnet links to relative links.
Contributes to #8364
edit by @mairaw: updated keyword and issue number