docs-seed/_tools/RemoveHtmlExtensionFromApiR...
Peter Milchev 7f3a1c9194
fix(tools): make RemoveHtmlExtensionFromApiRefSitemap project net7 compatible (#265)
* fix: make RemoveHtmlExtensionFromApiRefSitemap project .NET 7 SDK compatible
2022-11-15 22:02:09 +02:00
..
Program.cs feat(api): add RemoveHtmlExtensionApiRefSitemap project (#249) 2022-09-09 14:57:53 +03:00
RemoveHtmlExtensionFromApiRefSitemap.csproj feat(api): add RemoveHtmlExtensionApiRefSitemap project (#249) 2022-09-09 14:57:53 +03:00
RemoveHtmlExtensionFromApiRefSitemap.sln feat(api): add RemoveHtmlExtensionApiRefSitemap project (#249) 2022-09-09 14:57:53 +03:00
global.json fix(tools): make RemoveHtmlExtensionFromApiRefSitemap project net7 compatible (#265) 2022-11-15 22:02:09 +02:00
readme.txt feat(api): add RemoveHtmlExtensionApiRefSitemap project (#249) 2022-09-09 14:57:53 +03:00

readme.txt

To execute from the console:
1. navigate your console to the folder with the .csproj file
2. execute from "dotnet run"

dotnet run SitemapGenerator.csproj -- "C:\\TheCurrentWorkspace\\_site\\api\\"

The first argument is the project file name, the second is the path to the API reference folder so we can get to the sitemap.xml file inside and transform it. So, this must run after the api ref build - either before, or after combining it with the conceptual docs, but before uploading to staging/test/live.


The "--" delimits bult-in dotnet run args from custom args.
Note the double slashes, as they are required as an escaping sequence.