dotnet-api-docs icon indicating copy to clipboard operation
dotnet-api-docs copied to clipboard

Example split into several separate code text boxes

Open NichlasNielsen opened this issue 10 months ago • 4 comments

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.

NichlasNielsen avatar Mar 27 '24 12:03 NichlasNielsen

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.

@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)?

gewarren avatar May 15 '24 17:05 gewarren

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 avatar May 15 '24 19:05 Rick-Anderson

@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?

Rick-Anderson avatar May 15 '24 19:05 Rick-Anderson