Skip to content

Commit e970def

Browse files
committed
fix script links
1 parent 1577b0d commit e970def

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

scripts/analytics_fix.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ GREEN='\033[0;32m'
66

77
# Download analytics related files and move them to correct folders
88
echo -e "${GREEN}==== Download files with removed analytics ====${NC}"
9-
wget https://raw.githubusercontent.com/openshift/openshift-docs/master/scripts/ocpdocs/_analytics_other.html -O _templates/_analytics_other.html
10-
wget https://raw.githubusercontent.com/openshift/openshift-docs/master/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb
11-
wget https://raw.githubusercontent.com/openshift/openshift-docs/master/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html
12-
wget https://raw.githubusercontent.com/openshift/openshift-docs/master/scripts/ocpdocs/index-commercial.html -O index-commercial.html
13-
wget https://raw.githubusercontent.com/openshift/openshift-docs/master/scripts/ocpdocs/search-commercial.html -O search-commercial.html
9+
wget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_analytics_other.html -O _templates/_analytics_other.html
10+
wget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb
11+
wget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html
12+
wget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html
13+
wget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html

scripts/ocp_preview.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
set -ev
33

44
# Download the preview page
5-
wget https://raw.githubusercontent.com/openshift/openshift-docs/master/scripts/ocpdocs/_previewpage
5+
wget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_previewpage
66

77
# Copy preview page into the _preview folder
88
cp --verbose _previewpage _preview/index.html
99

1010
#Download robots.txt
11-
wget https://raw.githubusercontent.com/openshift/openshift-docs/master/scripts/ocpdocs/robots_preview.txt
11+
wget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/robots_preview.txt
1212

1313
# Copy robots into the _preview folder
1414
cp --verbose robots_preview.txt _preview/robots.txt

0 commit comments

Comments
 (0)