dotnet / dotnet-api-docs

.NET API reference documentation (.NET 5+, .NET Core, .NET Framework)
https://docs.microsoft.com/dotnet/api/
Other
699 stars 1.54k forks source link

Example split into several separate code text boxes #9767

Open NichlasNielsen opened 5 months ago

NichlasNielsen commented 5 months ago

Hello,

I was redirected here from: https://github.com/MicrosoftDocs/iis-docs/issues/1044

The code examples for this article is split into 3 separate code text boxes, it seems the intention was to only have 1 code text box with all the code inside:

image

It seems to have happened to all code samples, actually. Also appears here:

https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.administration.application.applicationpoolname?view=iis-dotnet https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.administration.application.enabledprotocols?view=iis-dotnet https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.administration.application.path?view=iis-dotnet https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.administration.application.virtualdirectories?view=iis-dotnet https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.administration.application.virtualdirectorydefaults?view=iis-dotnet


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

dotnet-issue-labeler[bot] commented 5 months ago

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

gewarren commented 3 months ago

@Rick-Anderson This documentation lives in a different repo: https://github.com/MicrosoftDocs/iis-dotnet-sdk-docs-pr. Did you mean to send the user there (I assume it was you but the original issue seems to be deleted so I don't know for sure)?

Rick-Anderson commented 3 months ago

They did a copy/paste of the IIS issue and @lextm and @wadepickett sent them here.

After some digging I think you might repor this issue to dotnet/dotnet-api-docs repo, because those pages fall under "IIS SDK for .NET" and are showed in .NET API browser,

https://learn.microsoft.com/en-us/dotnet/api/?view=iis-dotnet

If you have any feedback, create a new issue in the dotnet/dotnet-api-docs repo.

@NichlasNielsen, thanks very much for reporting the issue and for moving it to the API repo. Thanks @lextm!

Rick-Anderson commented 3 months ago

@gewarren I was under the impression that when you de-check Features\Issues on the /settings page, the issues page wasn't available but existing URLs still worked. Is there another way to disable new issues and hide issues unless you know the URL?