Source for the istio.io site
Go to file
mtail 37aea36dc0 Another sitemap fix. 2017-06-15 11:10:45 -07:00
_data Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
_docs Update docs to reflect removal of LBs from addons (#380) 2017-06-15 09:28:18 -07:00
_faq Rename Istio-Manager to Pilot (#360) 2017-06-08 16:46:36 -04:00
_glossary Rename Istio-Manager to Pilot (#360) 2017-06-08 16:46:36 -04:00
_includes versioned docs: add build scripts to be driven thru jenkins (#368) 2017-06-12 09:23:11 -07:00
_layouts Get TOC on Troubleshooting page. 2017-05-23 20:25:56 -07:00
_posts Replace uses of https://istio.io with {{home}} (#387) 2017-06-15 09:04:43 -07:00
_sass Caption text was a little too chunky. 2017-05-26 08:51:28 -07:00
about Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
blog Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
bugs deemphasize stackoverflow, highlight troubleshooting (#369) 2017-06-07 12:04:27 -07:00
community deemphasize stackoverflow, highlight troubleshooting (#369) 2017-06-07 12:04:27 -07:00
css A few formatting fixes. 2017-05-21 00:27:20 -07:00
faq Generate id values for individual FAQ entries so they can be referenced by name. (#377) 2017-06-13 10:58:52 -07:00
favicons Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
img Rename Istio-Manager to Pilot (#360) 2017-06-08 16:46:36 -04:00
js versioned docs: add build scripts to be driven thru jenkins (#368) 2017-06-12 09:23:11 -07:00
scripts versioned docs: add build scripts to be driven thru jenkins (#368) 2017-06-12 09:23:11 -07:00
search Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
talks Rename Istio-Manager to Pilot (#360) 2017-06-08 16:46:36 -04:00
troubleshooting add time skew problem to troubleshooting guide (#388) 2017-06-15 12:35:17 -04:00
.firebaserc versioned docs: add build scripts to be driven thru jenkins (#368) 2017-06-12 09:23:11 -07:00
.gitignore New doc nav (#47) 2017-04-21 21:46:12 -07:00
CNAME update CNAME 2017-03-15 14:43:09 -04:00
CONTRIBUTING.md Update the community page. 2017-04-06 14:32:09 -07:00
Gemfile Pin the nokogiri version (#362) 2017-06-05 11:54:23 -07:00
Gemfile.lock Pin the nokogiri version (#362) 2017-06-05 11:54:23 -07:00
Jenkinsfile Adds docs publication to Jenkins (#381) 2017-06-14 11:17:58 -07:00
LICENSE Fix copyright. 2017-05-18 12:40:46 -07:00
README.md added some instructions to help non-linux users build the website (#206) 2017-05-19 12:07:49 -04:00
Rakefile Fixing remaining bad links and html errors (#236) 2017-05-16 15:09:03 -07:00
_config.yml Switch site to using normal font weight throughout for better readability. 2017-05-26 08:33:37 -07:00
feed.xml Use absolute URLs in feed.xml which RSS readers want. 2017-06-13 06:51:14 -07:00
firebase.json versioned docs: add build scripts to be driven thru jenkins (#368) 2017-06-12 09:23:11 -07:00
googled6057396539986c3.html Site ownership test. 2017-06-15 10:38:00 -07:00
index.html Retry fixing home page, somehow other PR got messed up. (#333) 2017-05-24 07:22:50 -07:00
robots.txt Fix sitemap errors. 2017-06-15 11:08:27 -07:00
sitemap.xml Another sitemap fix. 2017-06-15 11:10:45 -07:00

README.md

istio.github.io

This repository contains the source code for the istio.io web site.

Please see the main Istio README file to learn about the overall Istio project and how to get in touch with us. To learn how you can contribute to any of the Istio components, please see the Istio contribution guidelines.

The website uses Jekyll templates and is hosted on GitHub Pages. Please make sure you are familiar with these before editing.

To run the site locally with Docker, use the following command:

docker run --rm --label=jekyll --volume=$(pwd):/srv/jekyll  -it -p 127.0.0.1:4000:4000 jekyll/jekyll jekyll serve

Make sure you are not introducing html errors or bad links:

docker run --rm --label=jekyll --volume=$(pwd):/srv/jekyll  -it  jekyll/jekyll sh -c "bundle install && rake test"
HTML-Proofer finished successfully.

Side note for those on non-linux machines

If you're developing locally but not on a Linux machine, you have a couple options. You can opt to use Docker for Mac / Docker for Windows. This will give you a docker environment from which to run the above docker container (which has all the of the correct Jekyll dependencies and Ruby versions installed). Alternatively, you could use minikube.

If doing Istio development on Kubernetes locally with minikube and native virtualization (for example, on Mac OS X withxhyve driver, then bootstrap like this:

minikube start --vm-driver=xhyve

You can see more about this command and how to install the xhyve drivers by taking a look at the xhyve driver documentation

Then build and run the website with minikube and bind to your minikube ip like this:

docker run --rm --label=jekyll  --volume=$(pwd):/srv/jekyll  -it -p $(minikube ip):4000:4000 jekyll/jekyll jekyll serve 

To see the web page locally on localhost:4000, you can port-forward the minikube port 4000 to your local machine. Run this command in a separate tab/window:

minikube ssh -- -vnNTL *:4000:$(minikube ip):4000 

Alternatively, if you just want to develop locally w/o Docker/Kubernetes/Minikube, you can try installing Jekyll locally. You may need to install other prerequisites manually (which is where using the docker image shines). Here's an example of doing so for Mac OS X:

$ xcode-select --install
$ brew install ruby
$ sudo gem install bundler
$ sudo gem install jekyll
$ cd istio.github.io
$ bundle install
$ bundle exec jekyll build
$ bundle exec jekyll serve