Source for the istio.io site
Go to file
LisaFC 92f347c585 Further improve list formatting (#340)
...so we don't get inconsistent padding when Markdown inexplicably decides to add the random paragraph element to just *one* list item
2017-05-25 10:38:15 -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 Add future work section to address potential auth concerns. (#338) 2017-05-24 14:01:23 -07:00
_faq Update Mixer FAQ answer. (#324) 2017-05-23 19:42:14 -07:00
_glossary Fix broken link to concept explanation for Mixer (#337) 2017-05-24 13:01:01 -07:00
_includes Change GitHub links, per Shriram. 2017-05-24 08:58:55 -07:00
_layouts Get TOC on Troubleshooting page. 2017-05-23 20:25:56 -07:00
_posts Clicking on images now displays them full-size. (#336) 2017-05-24 10:48:12 -07:00
_sass Further improve list formatting (#340) 2017-05-25 10:38:15 -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 fixing link to user submitted bugs (#277) 2017-05-18 15:01:08 -04:00
community Change GitHub links, per Shriram. 2017-05-24 08:58:55 -07:00
css A few formatting fixes. 2017-05-21 00:27:20 -07:00
faq Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -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 Use newer grafana dashboard (#335) 2017-05-24 09:59:06 -07:00
js wrapped prismjs code blocks in a div so we can do overflow:auto without it breaking the shadows (#318) 2017-05-23 13:53:19 -07:00
repos Describe support for fancy preformatted block stuff. 2017-05-18 21:15:55 -07:00
scripts Refresh auto-generated command line reference docs (#141) 2017-05-09 18:15:03 -04:00
search Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
troubleshooting Get TOC on Troubleshooting page. 2017-05-23 20:25:56 -07:00
.gitignore New doc nav (#47) 2017-04-21 21:46:12 -07:00
.gitmodules Describe support for fancy preformatted block stuff. 2017-05-18 21:15:55 -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 Fixing remaining bad links and html errors (#236) 2017-05-16 15:09:03 -07:00
Gemfile.lock Fixing remaining bad links and html errors (#236) 2017-05-16 15:09:03 -07:00
Jenkinsfile Adds check (#243) 2017-05-16 15:59:06 -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 Fixing site errors, and ignore repos/*.{html,md} for generation (#300) 2017-05-22 11:28:13 -07:00
feed.xml Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -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 Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
sitemap.xml Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -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