diff --git a/.firebaserc b/.firebaserc deleted file mode 100644 index 8b215d7706..0000000000 --- a/.firebaserc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "projects": { - "default": "istio-io", - "v01": "istiodocs-v01" - } -} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4696c8e6ee..c9b6a79764 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,3 +3,5 @@ So, you want to hack on the Istio web site? Yay! Please refer to Istio's overall [contribution guidelines](https://github.com/istio/community/blob/master/CONTRIBUTING.md) to find out how you can help. + +For specifics on hacking on our site, check this [info](https://istio.io/about/contribute/) diff --git a/_about/contribute/index.md b/_about/contribute/index.md index 7a81d0c780..9289e1fa7d 100644 --- a/_about/contribute/index.md +++ b/_about/contribute/index.md @@ -10,4 +10,4 @@ toc: false redirect_from: /docs/welcome/contribute/index.html --- -{% include section-index.html docs=site.docs %} +{% include section-index.html docs=site.about %} diff --git a/_about/notes/index.md b/_about/notes/index.md index 445420c64e..8b437f4b1a 100644 --- a/_about/notes/index.md +++ b/_about/notes/index.md @@ -14,7 +14,7 @@ redirect_from: toc: false --- -{% include section-index.html docs=site.docs %} +{% include section-index.html docs=site.about %} - The [latest](https://github.com/istio/istio/releases) Istio monthly release is {{site.data.istio.version}}. It is downloaded when the following is used(*): diff --git a/firebase.json b/firebase.json deleted file mode 100644 index e3905a5e4f..0000000000 --- a/firebase.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "hosting": { - "public": "_site" - } -} diff --git a/scripts/build.sh b/scripts/build.sh deleted file mode 100755 index 4fdd814f69..0000000000 --- a/scripts/build.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -# This is deprecated - moved to -# https://github.com/istio/admin-sites/blob/master/archive.istio.io/build.sh - -#example: PROJECT_ID=istiodocs-v01 RELEASE=0.1 FIREBASE_TOKEN=aabbccdd ./scripts/build.sh - -# This script builds and pushes the current branch -# to a firebase project -# The ci token produced by 'firebase login:ci' -# MUST have access to the given projects - -PROJECT_ID=${PROJECT_ID:?"PROJECT_ID required"} -FIREBASE_TOKEN=${FIREBASE_TOKEN:?"FIREBASE_TOKEN required"} -RELEASE=${RELEASE:?"RELEASE is required"} - -if [[ -z ${INDOCKER} ]];then - docker run --rm --label=jekyll --volume=$(pwd):/srv/jekyll \ - -e PROJECT_ID=$PROJECT_ID \ - -e FIREBASE_TOKEN=$FIREBASE_TOKEN \ - -e INDOCKER=true \ - -e RELEASE=${RELEASE} \ - jekyll/jekyll scripts/build.sh -else - set -e - # The directory now is /srv/jekyll inside the container - # TODO bake a new docker image with correct versions from bundler - PUBLIC=_static_site - rm -Rf ${PUBLIC} ; mkdir ${PUBLIC} - echo "baseurl: /v-${RELEASE}" > config_override.yml - jekyll build --config _config.yml,config_override.yml - mv _site "${PUBLIC}/v-${RELEASE}" - npm install -g firebase-tools - firebase use $PROJECT_ID --non-interactive --token $FIREBASE_TOKEN - firebase deploy --public ${PUBLIC} --non-interactive --token $FIREBASE_TOKEN -fi