Merge pull request #12110 from koor-tech/feature/1873-auto-generate-rook-CRD-specifications-documentation

docs: add support for autogenerated docs for CRDs
This commit is contained in:
Travis Nielsen authored and GitHub committed 2023-05-02 14:03:35 -06:00
commit 7fc93177ec
11 files changed
+11073 -7

No files matched your search

+10
View File
@@ -45,5 +45,15 @@ jobs:
- name: Install mkdocs and dependencies
run: cd build/release/ && make deps.docs
- name: Check documentation for CRDs
run: |
make validate-and-gen-docs-crds
DIFF_ON_DOCS=$(git diff --ignore-matching-lines='on git commit')
if [ ! -z "$DIFF_ON_DOCS" ]; then
echo "Please run 'make generate-docs-crds' locally, commit the updated crds docs, and push the change"
fi
git diff --ignore-matching-lines='on git commit' --exit-code
- name: Build documentation using mkdocs
run: make docs-build