Improve embed function for docs #2363
Labels
docs-infrastructure
Issues related to the look and feel of the docs
enhancement
New feature or request
Milestone
this function here embeds yaml files from a branch but requires the files to already exist in the branch to work.
This is needed for file outside of the docs since they won't be copyied in the docker container that generates the doc website. However for those yaml file in the docs folder, eg here we should be able to use relative paths so that one can add the file in the same pr it is embedded.
AC
ex. {{< embed path="/lifecycle-operator/config/samples/myhastobetherealready.yaml" >}} will be embedded as https://raw.githubusercontent.com/keptn/lifecycle-toolkit/lifecycle-operator/config/samples/myhastobetherealready.yaml
The text was updated successfully, but these errors were encountered: