Source for the istio.io site
Go to file
ryangrahamnc b8b7cba8bc 292 mobile left nav (#303)
* added links for expandable headings for each of clicking on ipads (touch events try to jump to the nearest <a> tag, so trying to click the expand section would often trigger clicking the first link under it)

* fixed jumping back and forth of left nav when initial pageload has short width
2017-05-22 16:51:06 -04: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 spelling fix 2017-05-22 13:50:24 -07:00
_faq A couple corrections. 2017-05-18 15:54:54 -07:00
_glossary Fix a couple broken glossary entries. 2017-05-18 10:16:01 -07:00
_includes Twiiter -> Twitter 2017-05-22 13:26:57 -07:00
_layouts wrapped a div around the non-toc contents of the docs pages. used position:relative and zindex to make toc overlap other content (#296) 2017-05-22 10:17:54 -07:00
_posts Fixing remaining bad links and html errors (#236) 2017-05-16 15:09:03 -07:00
_sass 292 mobile left nav (#303) 2017-05-22 16:51:06 -04: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 Improve appearance of pages during load time. 2017-05-22 06:11:05 -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 updated designs to match mockups (#302) 2017-05-22 16:50:29 -04:00
js 292 mobile left nav (#303) 2017-05-22 16:51:06 -04: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 Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -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 Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -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
true-index.html updated designs to match mockups (#302) 2017-05-22 16:50:29 -04: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