diff --git a/content/en/flux/components/notification/.gitignore b/content/en/flux/components/notification/.gitignore index c342f3c11..ae39a87b4 100644 --- a/content/en/flux/components/notification/.gitignore +++ b/content/en/flux/components/notification/.gitignore @@ -1,5 +1,5 @@ alert.md -api.md +api/*.md event.md provider.md receiver.md diff --git a/content/en/flux/components/notification/api/.gitkeep b/content/en/flux/components/notification/api/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/hack/import-flux2-assets.sh b/hack/import-flux2-assets.sh index 3b411ecbe..37c991f18 100755 --- a/hack/import-flux2-assets.sh +++ b/hack/import-flux2-assets.sh @@ -141,7 +141,10 @@ gen_crd_doc() { { # notification-controller CRDs NOTIFICATION_VER="$(controller_version notification-controller)" - gen_crd_doc "https://raw.githubusercontent.com/fluxcd/notification-controller/$NOTIFICATION_VER/docs/api/notification.md" "$COMPONENTS_DIR/notification/api.md" + # gen_crd_doc "https://raw.githubusercontent.com/fluxcd/notification-controller/$NOTIFICATION_VER/docs/api/v1/notification.md" "$COMPONENTS_DIR/notification/api/v1.md" + # gen_crd_doc "https://raw.githubusercontent.com/fluxcd/notification-controller/$NOTIFICATION_VER/docs/api/v1beta2/notification.md" "$COMPONENTS_DIR/notification/api/v1beta2.md" + gen_crd_doc "http://localhost:8000/v1/notification.md" "$COMPONENTS_DIR/notification/api/v1.md" + gen_crd_doc "http://localhost:8000/v1beta2/notification.md" "$COMPONENTS_DIR/notification/api/v1beta2.md" gen_crd_doc "https://raw.githubusercontent.com/fluxcd/notification-controller/$NOTIFICATION_VER/docs/spec/v1beta2/events.md" "$COMPONENTS_DIR/notification/event.md" gen_crd_doc "https://raw.githubusercontent.com/fluxcd/notification-controller/$NOTIFICATION_VER/docs/spec/v1beta2/alerts.md" "$COMPONENTS_DIR/notification/alert.md" gen_crd_doc "https://raw.githubusercontent.com/fluxcd/notification-controller/$NOTIFICATION_VER/docs/spec/v1beta2/providers.md" "$COMPONENTS_DIR/notification/provider.md"