You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current method is error prone (typo in a field can break pages, for example)
I'd like to propose (perhaps) adding a python script that would take in a configuration file (json/yaml/toml – I don't care) and generate the .yml file on demand. This could be run on a developer machine to generate a functional configuration for dev yaml, and production workflow(s) could generate it as part of the "generate the website" steps. The reasons I suggest python are:
It's widely available in a github action
If we choose .ini or .json (and .toml as of python 3.11) for the config file, it's all standard library all the way down
Doesn't require any compilation/extra steps to make work (other than installing python on a dev machine I guess?)
Could be dockerized (weird to create a container just for generating a configuration file, but what a world I suggest we live in)
I like python
The text was updated successfully, but these errors were encountered:
I'm not sure if this ends up being a hugo generation item or a scripting language with a config file, but I'm pretty sure that:
I'd like to propose (perhaps) adding a python script that would take in a configuration file (json/yaml/toml – I don't care) and generate the .yml file on demand. This could be run on a developer machine to generate a functional configuration for dev yaml, and production workflow(s) could generate it as part of the "generate the website" steps. The reasons I suggest python are:
The text was updated successfully, but these errors were encountered: