Skip to content

Commit a672a8e

Browse files
committed
updates to preview
1 parent 91f45ca commit a672a8e

File tree

5 files changed

+19
-8
lines changed

5 files changed

+19
-8
lines changed

scripts/analytics_fix.sh

Lines changed: 5 additions & 5 deletions
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-docs/scripts/master/ocpdocs/_analytics_other.html -O _templates/_analytics_other.html
10-
wget https://raw.githubusercontent.com/openshift-docs/scripts/master/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb
11-
wget https://raw.githubusercontent.com/openshift-docs/scripts/master/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html
12-
wget https://raw.githubusercontent.com/openshift-docs/scripts/master/ocpdocs/index-commercial.html -O index-commercial.html
13-
wget https://raw.githubusercontent.com/openshift-docs/scripts/master/ocpdocs/search-commercial.html -O search-commercial.html
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

scripts/ocp_preview.sh

Lines changed: 2 additions & 2 deletions
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-docs/scripts/master/_previewpage
5+
wget https://raw.githubusercontent.com/openshift/openshift-docs/master/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-docs/scripts/master/robots_preview.txt
11+
wget https://raw.githubusercontent.com/openshift/openshift-docs/master/scripts/ocpdocs/robots_preview.txt
1212

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

scripts/ocpdocs/_previewpage

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,17 @@
5353

5454
</div>
5555
</div>
56+
<div class="col-sm-3 text-center">
57+
<h2>OpenShift ARO</h2>
58+
<div class="list-group">
59+
<p>
60+
<a role="button" class="btn btn-primary" href="/openshift-aro/latest/welcome/index.html">
61+
<i class="fa fa-arrow-circle-o-right"></i> Dedicated</a>
62+
</p>
63+
<p class="list-group-item-text">Azure Red Hat OpenShift</p>
64+
65+
</div>
66+
</div>
5667
<div class="col-sm-3 text-center">
5768
<h2>OpenShift Origin</h2>
5869
<div class="list-group">

scripts/push_to_netlify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ if [[ "$COMMENT_FOUND" = false ]]; then
143143
fi
144144
done
145145
fi
146-
146+
147147
echo -e "${YELLOW}ADDING COMMENT on PR${NC}"
148148
#if there is a comment file show individual file URLs otherwise show the main URL
149149
if [ ! -f comments.txt ]; then

0 commit comments

Comments
 (0)