redhataccess / pantheon-cmd

Pantheon CMD is an open source and freely distributed program for validating and building local previews of modular documentation.
GNU General Public License v3.0
2 stars 5 forks source link

Test the pantheon2.yml file before attempting to generate local previews #66

Closed adahms closed 2 years ago

adahms commented 2 years ago

If the pantheon2.yml file contains an error, the 'preview' command can sometimes fail or produce confusing results for users. Rather than exposing raw Python error output and providing no input on how to correct those errors, we should run the native yaml_validation function on the yaml file before even attempting to generate previews.