Feature Request
Motivation
At the moment, labdoc expects all Gitlab CI/CD component files to be on the root level of the templates directory. However, Gitlab also provides the possibility to have the templates in subdirectories with template.yml files. For example, templates/secret-detection/template.yml.
labdoc should handle both cases.
Proposed Solution
labdoc would have to check if the templates directory contains subdirectories. If yes, the directory name should be used as component name. The template.yml inside the directory should be parsed as usual. If no, the filename should be used as component name, then parsed as usual.