fix(docs): ensure headers on container and helm security pages is correct and fix generation error
This commit is contained in:
@@ -116,7 +116,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
# keep some docs safe
|
# keep some docs safe
|
||||||
mv -f website/docs/charts/${train}/${chart}/CHANGELOG.md tmp/website/docs/charts/${train}/${chart}/CHANGELOG.md || :
|
mv -f website/docs/charts/${train}/${chart}/CHANGELOG.md tmp/website/docs/charts/${train}/${chart}/CHANGELOG.md || :
|
||||||
mv -f website/docs/charts/${train}/${chart}/helm-security.md.md tmp/website/docs/charts/${train}/${chart}/helm-security.md || :
|
mv -f website/docs/charts/${train}/${chart}/helm-security.md tmp/website/docs/charts/${train}/${chart}/helm-security.md || :
|
||||||
mv -f website/docs/charts/${train}/${chart}/container-security.md tmp/website/docs/charts/${train}/${chart}/container-security.md || :
|
mv -f website/docs/charts/${train}/${chart}/container-security.md tmp/website/docs/charts/${train}/${chart}/container-security.md || :
|
||||||
|
|
||||||
# remove old docs everywhere and recreate based on charts repo
|
# remove old docs everywhere and recreate based on charts repo
|
||||||
@@ -135,6 +135,14 @@ jobs:
|
|||||||
cat "charts/${train}/${chart}/app-changelog.md" | cat - "website/docs/charts/${train}/${chart}/CHANGELOG.md" > temp && mv temp "website/docs/charts/${train}/${chart}/CHANGELOG.md"
|
cat "charts/${train}/${chart}/app-changelog.md" | cat - "website/docs/charts/${train}/${chart}/CHANGELOG.md" > temp && mv temp "website/docs/charts/${train}/${chart}/CHANGELOG.md"
|
||||||
sed -i '1s/^/# Changelog\n\n/' "website/docs/charts/${train}/${chart}/CHANGELOG.md" || echo "failed to add changelog header..."
|
sed -i '1s/^/# Changelog\n\n/' "website/docs/charts/${train}/${chart}/CHANGELOG.md" || echo "failed to add changelog header..."
|
||||||
|
|
||||||
|
# Ensure helm security header is always set
|
||||||
|
sed -i '1d' "website/docs/charts/${train}/${chart}/helm-security.md" || echo "failed to sed 1d helm-security..."
|
||||||
|
sed -i '1s/^/# helm-security\n\n/' "website/docs/charts/${train}/${chart}/helm-security.md" || echo "failed to add helm-security header..."
|
||||||
|
|
||||||
|
# Ensure container security header is always set
|
||||||
|
sed -i '1d' "website/docs/charts/${train}/${chart}/container-security.md" || echo "failed to sed 1d container-security..."
|
||||||
|
sed -i '1s/^/# container-security\n\n/' "website/docs/charts/${train}/${chart}/CHANGELOG.md" || echo "failed to add container-security header..."
|
||||||
|
|
||||||
touch website/docs/charts/${train}/${chart}/index.md
|
touch website/docs/charts/${train}/${chart}/index.md
|
||||||
echo "# ${chart}" >> website/docs/charts/${train}/${chart}/index.md
|
echo "# ${chart}" >> website/docs/charts/${train}/${chart}/index.md
|
||||||
echo "" >> website/docs/charts/${train}/${chart}/index.md
|
echo "" >> website/docs/charts/${train}/${chart}/index.md
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ sources:
|
|||||||
- https://github.com/truecharts/charts/tree/master/charts/stable/jackett
|
- https://github.com/truecharts/charts/tree/master/charts/stable/jackett
|
||||||
- https://github.com/Jackett/Jackett
|
- https://github.com/Jackett/Jackett
|
||||||
type: application
|
type: application
|
||||||
version: 13.0.30
|
version: 13.0.31
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- media
|
- media
|
||||||
|
|||||||
Reference in New Issue
Block a user