Skip to content

Commit

Permalink
Merge pull request #241 from linuxserver/deprecatefix
Browse files Browse the repository at this point in the history
stage change to mkdocs in deprecation
  • Loading branch information
aptalca committed Feb 21, 2024
2 parents 6730029 + b1e1fc3 commit a6f5a9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/generate-jenkins/templates/Jenkinsfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ pipeline {
fi
if ! yq -e '.plugins.[].redirects.redirect_maps.[] | select(. == "deprecated/" + env(CONTAINER_NAME) + ".md")' mkdocs.yml >/dev/null 2>&1; then
yq -i '.plugins.[].redirects.redirect_maps |= . + {env(CONTAINER_NAME) + ".md" : "deprecated/" + env(CONTAINER_NAME) + ".md"}' mkdocs.yml
git add mkdocs.yml
fi
git commit -m 'Bot Moving Deprecated Documentation' || :
{% endif %}
Expand Down

0 comments on commit a6f5a9d

Please sign in to comment.