File tree Expand file tree Collapse file tree 4 files changed +42
-2
lines changed Expand file tree Collapse file tree 4 files changed +42
-2
lines changed Original file line number Diff line number Diff line change @@ -454,7 +454,7 @@ APIDIFF_OLD_COMMIT ?= $(shell git rev-parse origin/main)
454
454
apidiff : $(GO_APIDIFF ) # # Check for API differences
455
455
$(GO_APIDIFF ) $(APIDIFF_OLD_COMMIT ) --print-compatible
456
456
457
- ALL_VERIFY_CHECKS = doctoc boilerplate shellcheck tiltfile modules gen conversions
457
+ ALL_VERIFY_CHECKS = doctoc boilerplate shellcheck tiltfile modules gen conversions capi-book-summary
458
458
459
459
.PHONY : verify
460
460
verify : $(addprefix verify-,$(ALL_VERIFY_CHECKS ) ) # # Run all verify-* targets
@@ -485,6 +485,10 @@ verify-conversions: $(CONVERSION_VERIFIER) ## Verifies expected API conversion
485
485
verify-doctoc :
486
486
./hack/verify-doctoc.sh
487
487
488
+ .PHONY : verify-capi-book-summary
489
+ verify-capi-book-summary :
490
+ ./hack/verify-capi-book-summary.sh
491
+
488
492
.PHONY : verify-boilerplate
489
493
verify-boilerplate : # # Verify boilerplate text exists in each file
490
494
./hack/verify-boilerplate.sh
Original file line number Diff line number Diff line change 10
10
- [ Generating a Kubeconfig] ( ./tasks/certs/generate-kubeconfig.md )
11
11
- [ Kubeadm based bootstrap] ( ./tasks/kubeadm-bootstrap.md )
12
12
- [ Upgrading management and workload clusters] ( ./tasks/upgrading-clusters.md )
13
+ - [ External etcd] ( ./tasks/external-etcd.md )
14
+ - [ Using kustomize] ( ./tasks/using-kustomize.md )
13
15
- [ Upgrading Cluster API components] ( ./tasks/upgrading-cluster-api-versions.md )
14
16
- [ Kubeadm based control plane management] ( ./tasks/kubeadm-control-plane.md )
15
17
- [ Updating Machine Infrastructure and Bootstrap Templates] ( tasks/updating-machine-templates.md )
78
80
- [ Bootstrap] ( ./developer/providers/bootstrap.md )
79
81
- [ Implementer's Guide] ( ./developer/providers/implementers-guide/overview.md )
80
82
- [ Naming] ( ./developer/providers/implementers-guide/naming.md )
83
+ - [ Configure] ( ./developer/providers/implementers-guide/configure.md )
81
84
- [ Create Repo and Generate CRDs] ( ./developer/providers/implementers-guide/generate_crds.md )
82
85
- [ Create API] ( ./developer/providers/implementers-guide/create_api.md )
83
86
- [ Webhooks] ( ./developer/providers/webhooks.md )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Copyright 2022 The Kubernetes Authors.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ set -o errexit
18
+ set -o nounset
19
+ set -o pipefail
20
+
21
+ RESULT=0
22
+ SUMMARY=$( cat ./docs/book/src/SUMMARY.md)
23
+
24
+ pushd ./docs/book/src > /dev/null
25
+ FILES=$( find -- * -name " *.md" ! -name " SUMMARY.md" )
26
+ while read -r file; do
27
+ if ! [[ $SUMMARY == * " ${file} " * ]]; then
28
+ RESULT=1
29
+ echo " Didn't find $file in SUMMARY.md"
30
+ fi
31
+ done <<< " ${FILES}"
32
+ popd > /dev/null
33
+
34
+ exit ${RESULT}
You can’t perform that action at this time.
0 commit comments