mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Merge pull request #28914 from david-mcmahon/fix-munge-toc
Automatic merge from submit-queue Add missing mungedoc run to hack/verify-munge-docs.sh.
This commit is contained in:
commit
ec5678847e
@ -16,7 +16,7 @@
|
|||||||
- [Docker runtime Known Issues](#docker-runtime-known-issues)
|
- [Docker runtime Known Issues](#docker-runtime-known-issues)
|
||||||
- [Rkt runtime Known Issues](#rkt-runtime-known-issues)
|
- [Rkt runtime Known Issues](#rkt-runtime-known-issues)
|
||||||
- [Provider-specific Notes](#provider-specific-notes)
|
- [Provider-specific Notes](#provider-specific-notes)
|
||||||
- [Previous Releases Included in v1.3.0](#previous-releases-included-in-v130)
|
- [Previous Releases Included in v1.3.0](#previous-releases-included-in-v130)
|
||||||
- [v1.3.0-beta.3](#v130-beta3)
|
- [v1.3.0-beta.3](#v130-beta3)
|
||||||
- [Downloads](#downloads-2)
|
- [Downloads](#downloads-2)
|
||||||
- [Changelog since v1.3.0-beta.2](#changelog-since-v130-beta2)
|
- [Changelog since v1.3.0-beta.2](#changelog-since-v130-beta2)
|
||||||
|
@ -57,6 +57,19 @@ if [[ $ret -gt 1 ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
"${mungedocs}" "--verify=true" "--verbose=true" \
|
||||||
|
"--upstream=${git_upstream}" \
|
||||||
|
"--skip-munges=unversioned-warning,analytics" \
|
||||||
|
"--norecurse" \
|
||||||
|
"--root-dir=${KUBE_ROOT}/" && ret=0 || ret=$?
|
||||||
|
if [[ $ret -eq 1 ]]; then
|
||||||
|
echo "${KUBE_ROOT}/ is out of date. Please run hack/update-munge-docs.sh"
|
||||||
|
exit 1
|
||||||
|
elif [[ $ret -gt 1 ]]; then
|
||||||
|
echo "Error running mungedocs."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
needsanalytics=($(kube::util::gen-analytics "${KUBE_ROOT}" 1))
|
needsanalytics=($(kube::util::gen-analytics "${KUBE_ROOT}" 1))
|
||||||
if [[ ${#needsanalytics[@]} -ne 0 ]]; then
|
if [[ ${#needsanalytics[@]} -ne 0 ]]; then
|
||||||
echo -e "Some md files are missing ga-beacon analytics link:"
|
echo -e "Some md files are missing ga-beacon analytics link:"
|
||||||
|
Loading…
Reference in New Issue
Block a user