dotnet / docs-tools

This repo contains GitHub Actions and other tools that are designed to be invoked on DocFx repositories.
Creative Commons Attribution 4.0 International
16 stars 26 forks source link

[What's new] The 2.0 version should complete when the expected YML files (index and TOC) don't exist. #367

Open BillWagner opened 2 months ago

BillWagner commented 2 months ago

In the 2.0 version, after creating a new markdown file, the tool expects to update the TOC.YML and index.yml files in the same folder. For those teams that only generate a new markdown file, the tool crashes as those files don't exist in the output folder.

The tool should write a warning message and exit successfully.


Associated WorkItem - 274836

BillWagner commented 2 months ago

While doing this update, provide a better error message when the config file contains invalid JSON.

BillWagner commented 1 month ago

Adding a message for testing.