Class StaticPages
- Namespace
- Integrations.Api.Hosting
- Assembly
- Integrations.Api.dll
Which static pages in wwwroot are documentation, and so are served even when the demo playground is off.
public static class StaticPages
- Inheritance
-
StaticPages
- Inherited Members
Methods
IsDocumentation(PathString)
True for /docs (hub, handbook, .NET reference), /test (testing guide) and the assets they share.
/docs/api is the Scalar endpoint, not a file, so it never matches a static file.
public static bool IsDocumentation(PathString path)
Parameters
pathPathString