Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
Signed-off-by: CI <350466+crenshaw-dev@users.noreply.github.com>
  • Loading branch information
crenshaw-dev committed Oct 12, 2023
1 parent 6d3bc70 commit 9b84384
Show file tree
Hide file tree
Showing 23 changed files with 44 additions and 62 deletions.
5 changes: 2 additions & 3 deletions docs/Application-Deletion.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Application-Deletion/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Application-Deletion/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Application-Deletion/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Application-Deletion//](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Application-Deletion//). Redirecting to the new page.

# Application Pruning & Resource Deletion

Expand Down
5 changes: 2 additions & 3 deletions docs/Argo-CD-Integration.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Argo-CD-Integration/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Argo-CD-Integration/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Argo-CD-Integration/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Argo-CD-Integration//](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Argo-CD-Integration//). Redirecting to the new page.

# How ApplicationSet controller interacts with Argo CD

Expand Down
5 changes: 2 additions & 3 deletions docs/Controlling-Resource-Modification.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Controlling-Resource-Modification/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Controlling-Resource-Modification/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Controlling-Resource-Modification/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Controlling-Resource-Modification//](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Controlling-Resource-Modification//). Redirecting to the new page.

# Controlling if/when the ApplicationSet controller modifies `Application` resources

Expand Down
3 changes: 1 addition & 2 deletions docs/Development.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Development/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Development/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/). Redirecting to the new page.

# Development

Expand Down
3 changes: 1 addition & 2 deletions docs/E2E-Tests.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/E2E-Tests/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/E2E-Tests/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/). Redirecting to the new page.

# Running Application Set E2E tests

Expand Down
5 changes: 2 additions & 3 deletions docs/Generators-Cluster-Decision-Resource.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Cluster-Decision-Resource/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Cluster-Decision-Resource/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Cluster-Decision-Resource/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Cluster-Decision-Resource//](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Cluster-Decision-Resource//). Redirecting to the new page.

# Cluster Decision Resource Generator

Expand Down
5 changes: 2 additions & 3 deletions docs/Generators-Cluster.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Cluster/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Cluster/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Cluster/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Cluster//](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Cluster//). Redirecting to the new page.

# Cluster Generator

Expand Down
5 changes: 2 additions & 3 deletions docs/Generators-Git.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Git/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Git/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Git/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Git//](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Git//). Redirecting to the new page.

# Git Generator

Expand Down
5 changes: 2 additions & 3 deletions docs/Generators-List.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-List/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-List/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-List/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-List//](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-List//). Redirecting to the new page.

# List Generator

Expand Down
5 changes: 2 additions & 3 deletions docs/Generators-Matrix.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Matrix/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Matrix/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Matrix/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Matrix//](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Matrix//). Redirecting to the new page.

# Matrix Generator

Expand Down
5 changes: 2 additions & 3 deletions docs/Generators-Merge.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Merge/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Merge/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Merge/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Merge//](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Merge//). Redirecting to the new page.

# Merge Generator

Expand Down
5 changes: 2 additions & 3 deletions docs/Generators-Pull-Request.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Pull-Request/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Pull-Request/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Pull-Request/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Pull-Request//](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-Pull-Request//). Redirecting to the new page.

# Pull Request Generator

Expand Down
5 changes: 2 additions & 3 deletions docs/Generators-SCM-Provider.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-SCM-Provider/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-SCM-Provider/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-SCM-Provider/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-SCM-Provider//](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators-SCM-Provider//). Redirecting to the new page.

# SCM Provider Generator

Expand Down
5 changes: 2 additions & 3 deletions docs/Generators.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators//](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Generators//). Redirecting to the new page.

# Generators

Expand Down
3 changes: 1 addition & 2 deletions docs/Geting-Started.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Geting-Started/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Geting-Started/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/). Redirecting to the new page.

# Getting Started

Expand Down
5 changes: 2 additions & 3 deletions docs/Getting-Started.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Getting-Started/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Getting-Started/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Getting-Started/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Getting-Started//](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Getting-Started//). Redirecting to the new page.

# Getting Started

Expand Down
3 changes: 1 addition & 2 deletions docs/Release-Checklist-Template.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Release-Checklist-Template/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Release-Checklist-Template/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/). Redirecting to the new page.


# Release Checklist Template
Expand Down
3 changes: 1 addition & 2 deletions docs/Releasing.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Releasing/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Releasing/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/). Redirecting to the new page.

# Releasing an ApplicationSet release

Expand Down
5 changes: 2 additions & 3 deletions docs/Template.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Template/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Template/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Template/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Template//](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Template//). Redirecting to the new page.

# Templates

Expand Down
5 changes: 2 additions & 3 deletions docs/Use-Cases.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Use-Cases/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Use-Cases/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Use-Cases/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Use-Cases//](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/Use-Cases//). Redirecting to the new page.

# Use cases supported by the ApplicationSet controller

Expand Down
3 changes: 1 addition & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/index/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/index/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/). Redirecting to the new page.

# Introduction to ApplicationSet controller

Expand Down
3 changes: 1 addition & 2 deletions docs/upgrading/v0.2.0-to-v0.3.0.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<meta http-equiv="refresh" content="1; url='https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/'" />

!!! important "This page has moved"
This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/upgrading/v0.2.0-to-v0.3.0/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/upgrading/v0.2.0-to-v0.3.0/). Redirecting to the new page.

This page has moved to [https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/](https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/). Redirecting to the new page.

# Upgrading from ApplicationSet controller v0.2.0 to v0.3.0.

Expand Down
10 changes: 7 additions & 3 deletions hack/set-docs-redirects.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,20 @@ for file in $files; do

# Add the new redirect.
# Default to an empty path.
file_path_plain=""
file_path_regex=""
if curl -s -o /dev/null -w "%{http_code}" "$new_docs_base_path$file_path/" | grep -q 200; then
if curl -s -o /dev/null -w "%{http_code}" "$new_docs_base_path$file_path" | grep -q 200; then
# If the destination path exists, use it.
file_path_plain="$file_path/"
file_path_regex=$(echo "$file_path" | sed 's/\//\\\//g')
else
echo "WARNING: $new_docs_base_path$file_path does not exist. Using empty path."
fi

notice="!!! important \"This page has moved\"\n This page has moved to [$new_docs_base_path$file_path]($new_docs_base_path$file_path). Redirecting to the new page.\n"
notice="!!! important \"This page has moved\"\n This page has moved to [$new_docs_base_path$file_path_plain]($new_docs_base_path$file_path_plain). Redirecting to the new page.\n"

notice_regex=$(echo "$notice" | sed 's/\//\\\//g')

sed "1s/^/<meta http-equiv=\"refresh\" content=\"1; url='$new_docs_base_path_regex$file_path_regex'\" \/>\\n\\n$notice_regex\\n\\n/" "$file" > "$file.tmp"
sed "1s/^/<meta http-equiv=\"refresh\" content=\"1; url='$new_docs_base_path_regex$file_path_regex'\" \/>\\n\\n$notice_regex\\n/" "$file" > "$file.tmp"
mv "$file.tmp" "$file"
done

0 comments on commit 9b84384

Please sign in to comment.