vmware-tanzu-labs / educates-training-platform

A platform for hosting interactive workshop environments in Kubernetes, or on top of a local container runtime.
https://docs.educates.dev
Apache License 2.0
63 stars 15 forks source link

New workshop template should list hugo temporary files/directories to a .gitignore file. #429

Closed GrahamDumpleton closed 1 week ago

GrahamDumpleton commented 3 weeks ago

Describe the bug

When run Hugo renderer locally with educates serve-workshop it leaves a workshop/.hugo_build.lock file, plus the workshop/public directory which can be accidentally added to a Git repository.

Additional information

Note these were not supplied in a .gitignore file originally since a Git repo wasn't being created and wasn't known whether the generated directory was going to end up as the root of a Git repo or not.

jorgemoralespou commented 1 week ago

Even if then this added to top level git, the .gitignore file will still work.