From 96b14d48418b31e91f7cafb03484c54c46224879 Mon Sep 17 00:00:00 2001 From: AshwinSriram11 Date: Fri, 20 Dec 2024 08:03:22 +0530 Subject: [PATCH 1/3] Change source path for pulling docs --- synchronize.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/synchronize.sh b/synchronize.sh index 18df0b3..56d7efd 100755 --- a/synchronize.sh +++ b/synchronize.sh @@ -6,7 +6,8 @@ rm -rf repos/ mkdir repos/ if [[ -z "$USE_LOCAL_REPOSITORIES" ]]; then - git clone https://github.com/prometheus-operator/prometheus-operator -b main --depth 1 repos/prometheus-operator + # git clone https://github.com/prometheus-operator/prometheus-operator -b main --depth 1 repos/prometheus-operator + git clone https://github.com/AshwinSriram11/prometheus-operator -b folders repos/prometheus-operator git clone https://github.com/prometheus-operator/kube-prometheus -b main --depth 1 repos/kube-prometheus else ln -s ../../prometheus-operator repos/prometheus-operator From 6fbb153059500c8b17b8f92992a7bb8a26a713ac Mon Sep 17 00:00:00 2001 From: AshwinSriram11 Date: Mon, 23 Dec 2024 21:23:16 +0530 Subject: [PATCH 2/3] Updated synchronization.sh --- synchronize.sh | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/synchronize.sh b/synchronize.sh index 56d7efd..984ae5a 100755 --- a/synchronize.sh +++ b/synchronize.sh @@ -32,18 +32,18 @@ cp repos/prometheus-operator/Documentation/design.md content/docs/getting-starte cp repos/prometheus-operator/Documentation/api.md content/docs/api-reference/api.md # platform guide -cp repos/prometheus-operator/Documentation/platform-guide.md content/docs/platform/platform-guide.md -cp repos/prometheus-operator/Documentation/user-guides/exposing-prometheus-and-alertmanager.md content/docs/platform/exposing-prometheus-and-alertmanager.md -cp repos/prometheus-operator/Documentation/user-guides/webhook.md content/docs/platform/webhook.md -cp repos/prometheus-operator/Documentation/user-guides/prometheus-agent.md content/docs/platform/prometheus-agent.md -cp repos/prometheus-operator/Documentation/operator.md content/docs/platform/operator.md -cp repos/prometheus-operator/Documentation/high-availability.md content/docs/platform/high-availability.md -cp repos/prometheus-operator/Documentation/rbac-crd.md content/docs/platform/rbac-crd.md -cp repos/prometheus-operator/Documentation/rbac.md content/docs/platform/rbac.md -cp repos/prometheus-operator/Documentation/thanos.md content/docs/platform/thanos.md -cp repos/prometheus-operator/Documentation/troubleshooting.md content/docs/platform/troubleshooting.md -cp repos/prometheus-operator/Documentation/user-guides/storage.md content/docs/platform/storage.md -cp repos/prometheus-operator/Documentation/user-guides/strategic-merge-patch.md content/docs/platform/strategic-merge-patch.md +cp repos/prometheus-operator/Documentation/platform/platform-guide.md content/docs/platform/platform-guide.md +cp repos/prometheus-operator/Documentation/platform/exposing-prometheus-and-alertmanager.md content/docs/platform/exposing-prometheus-and-alertmanager.md +cp repos/prometheus-operator/Documentation/platform/webhook.md content/docs/platform/webhook.md +cp repos/prometheus-operator/Documentation/platform/prometheus-agent.md content/docs/platform/prometheus-agent.md +cp repos/prometheus-operator/Documentation/platform/operator.md content/docs/platform/operator.md +cp repos/prometheus-operator/Documentation/platform/high-availability.md content/docs/platform/high-availability.md +cp repos/prometheus-operator/Documentation/platform/rbac-crd.md content/docs/platform/rbac-crd.md +cp repos/prometheus-operator/Documentation/platform/rbac.md content/docs/platform/rbac.md +cp repos/prometheus-operator/Documentation/platform/thanos.md content/docs/platform/thanos.md +cp repos/prometheus-operator/Documentation/platform/troubleshooting.md content/docs/platform/troubleshooting.md +cp repos/prometheus-operator/Documentation/platform/storage.md content/docs/platform/storage.md +cp repos/prometheus-operator/Documentation/platform/strategic-merge-patch.md content/docs/platform/strategic-merge-patch.md # developer guide cp repos/prometheus-operator/Documentation/user-guides/getting-started.md content/docs/developer/getting-started.md From 7f51dc7ea1237bd49653ae6d31aae4020dec88fe Mon Sep 17 00:00:00 2001 From: AshwinSriram11 Date: Mon, 23 Dec 2024 21:35:59 +0530 Subject: [PATCH 3/3] Update synchronization.sh --- synchronize.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/synchronize.sh b/synchronize.sh index 984ae5a..0be15c2 100755 --- a/synchronize.sh +++ b/synchronize.sh @@ -23,13 +23,13 @@ cp repos/prometheus-operator/ADOPTERS.md content/adopters.md cp -r repos/prometheus-operator/Documentation/img static/img # getting-started section -cp repos/prometheus-operator/Documentation/introduction.md content/docs/getting-started/introduction.md -cp repos/prometheus-operator/Documentation/installation.md content/docs/getting-started/installation.md -cp repos/prometheus-operator/Documentation/compatibility.md content/docs/getting-started/compatibility.md -cp repos/prometheus-operator/Documentation/design.md content/docs/getting-started/design.md +cp repos/prometheus-operator/Documentation/getting-started/introduction.md content/docs/getting-started/introduction.md +cp repos/prometheus-operator/Documentation/getting-started/installation.md content/docs/getting-started/installation.md +cp repos/prometheus-operator/Documentation/getting-started/compatibility.md content/docs/getting-started/compatibility.md +cp repos/prometheus-operator/Documentation/getting-started/design.md content/docs/getting-started/design.md # api section -cp repos/prometheus-operator/Documentation/api.md content/docs/api-reference/api.md +cp repos/prometheus-operator/Documentation/api-reference/api.md content/docs/api-reference/api.md # platform guide cp repos/prometheus-operator/Documentation/platform/platform-guide.md content/docs/platform/platform-guide.md @@ -46,9 +46,9 @@ cp repos/prometheus-operator/Documentation/platform/storage.md content/docs/plat cp repos/prometheus-operator/Documentation/platform/strategic-merge-patch.md content/docs/platform/strategic-merge-patch.md # developer guide -cp repos/prometheus-operator/Documentation/user-guides/getting-started.md content/docs/developer/getting-started.md -cp repos/prometheus-operator/Documentation/user-guides/alerting.md content/docs/developer/alerting.md -cp repos/prometheus-operator/Documentation/user-guides/scrapeconfig.md content/docs/developer/scrapeconfig.md +cp repos/prometheus-operator/Documentation/developer/getting-started.md content/docs/developer/getting-started.md +cp repos/prometheus-operator/Documentation/developer/alerting.md content/docs/developer/alerting.md +cp repos/prometheus-operator/Documentation/developer/scrapeconfig.md content/docs/developer/scrapeconfig.md # community section cp repos/prometheus-operator/CONTRIBUTING.md content/docs/community/contributing.md