Skip to content

Commit 7d9c432

Browse files
author
Shriram Rajagopalan
committed
2 parents b7e0e4b + bee1f87 commit 7d9c432

29 files changed

+894
-467
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
_site
2+
3+
# Eclipse artifacts
4+
.project
5+
.pydevproject
6+
*.iml
7+
.idea/

Gemfile.lock

Lines changed: 167 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -1,129 +1,203 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
RedCloth (4.2.9)
5-
activesupport (4.2.1)
4+
activesupport (4.2.7)
65
i18n (~> 0.7)
76
json (~> 1.7, >= 1.7.7)
87
minitest (~> 5.1)
98
thread_safe (~> 0.3, >= 0.3.4)
109
tzinfo (~> 1.1)
11-
blankslate (2.1.2.4)
12-
celluloid (0.16.0)
13-
timers (~> 4.0.0)
14-
classifier-reborn (2.0.3)
15-
fast-stemmer (~> 1.0)
10+
addressable (2.5.1)
11+
public_suffix (~> 2.0, >= 2.0.2)
1612
coffee-script (2.4.1)
1713
coffee-script-source
1814
execjs
19-
coffee-script-source (1.9.1.1)
20-
colorator (0.1)
21-
execjs (2.5.2)
22-
fast-stemmer (1.0.2)
23-
ffi (1.9.8)
24-
gemoji (2.1.0)
25-
github-pages (34)
26-
RedCloth (= 4.2.9)
27-
github-pages-health-check (~> 0.2)
28-
jekyll (= 2.4.0)
15+
coffee-script-source (1.12.2)
16+
colorator (1.1.0)
17+
ethon (0.10.1)
18+
ffi (>= 1.3.0)
19+
execjs (2.7.0)
20+
faraday (0.12.0.1)
21+
multipart-post (>= 1.2, < 3)
22+
ffi (1.9.18)
23+
forwardable-extended (2.6.0)
24+
gemoji (3.0.0)
25+
github-pages (134)
26+
activesupport (= 4.2.7)
27+
github-pages-health-check (= 1.3.3)
28+
jekyll (= 3.4.3)
29+
jekyll-avatar (= 0.4.2)
2930
jekyll-coffeescript (= 1.0.1)
30-
jekyll-mentions (= 0.2.1)
31-
jekyll-redirect-from (= 0.6.2)
32-
jekyll-sass-converter (= 1.2.0)
33-
jekyll-sitemap (= 0.8.1)
34-
jemoji (= 0.4.0)
35-
kramdown (= 1.5.0)
36-
liquid (= 2.6.1)
37-
maruku (= 0.7.0)
31+
jekyll-default-layout (= 0.1.4)
32+
jekyll-feed (= 0.9.2)
33+
jekyll-gist (= 1.4.0)
34+
jekyll-github-metadata (= 2.3.1)
35+
jekyll-mentions (= 1.2.0)
36+
jekyll-optional-front-matter (= 0.1.2)
37+
jekyll-paginate (= 1.1.0)
38+
jekyll-readme-index (= 0.1.0)
39+
jekyll-redirect-from (= 0.12.1)
40+
jekyll-relative-links (= 0.4.0)
41+
jekyll-sass-converter (= 1.5.0)
42+
jekyll-seo-tag (= 2.2.0)
43+
jekyll-sitemap (= 1.0.0)
44+
jekyll-swiss (= 0.4.0)
45+
jekyll-theme-architect (= 0.0.4)
46+
jekyll-theme-cayman (= 0.0.4)
47+
jekyll-theme-dinky (= 0.0.4)
48+
jekyll-theme-hacker (= 0.0.4)
49+
jekyll-theme-leap-day (= 0.0.4)
50+
jekyll-theme-merlot (= 0.0.4)
51+
jekyll-theme-midnight (= 0.0.4)
52+
jekyll-theme-minimal (= 0.0.4)
53+
jekyll-theme-modernist (= 0.0.4)
54+
jekyll-theme-primer (= 0.1.8)
55+
jekyll-theme-slate (= 0.0.4)
56+
jekyll-theme-tactile (= 0.0.4)
57+
jekyll-theme-time-machine (= 0.0.4)
58+
jekyll-titles-from-headings (= 0.1.5)
59+
jemoji (= 0.8.0)
60+
kramdown (= 1.13.2)
61+
liquid (= 3.0.6)
62+
listen (= 3.0.6)
3863
mercenary (~> 0.3)
39-
pygments.rb (= 0.6.1)
40-
rdiscount (= 2.1.7)
41-
redcarpet (= 3.1.2)
64+
minima (= 2.0.0)
65+
rouge (= 1.11.1)
4266
terminal-table (~> 1.4)
43-
github-pages-health-check (0.3.0)
44-
net-dns (~> 0.6)
45-
public_suffix (~> 1.4)
46-
hitimes (1.2.2)
47-
html-pipeline (1.9.0)
67+
github-pages-health-check (1.3.3)
68+
addressable (~> 2.3)
69+
net-dns (~> 0.8)
70+
octokit (~> 4.0)
71+
public_suffix (~> 2.0)
72+
typhoeus (~> 0.7)
73+
html-pipeline (2.5.0)
4874
activesupport (>= 2)
49-
nokogiri (~> 1.4)
50-
i18n (0.7.0)
51-
jekyll (2.4.0)
52-
classifier-reborn (~> 2.0)
53-
colorator (~> 0.1)
54-
jekyll-coffeescript (~> 1.0)
55-
jekyll-gist (~> 1.0)
56-
jekyll-paginate (~> 1.0)
75+
nokogiri (>= 1.4)
76+
i18n (0.8.1)
77+
jekyll (3.4.3)
78+
addressable (~> 2.4)
79+
colorator (~> 1.0)
5780
jekyll-sass-converter (~> 1.0)
5881
jekyll-watch (~> 1.1)
5982
kramdown (~> 1.3)
60-
liquid (~> 2.6.1)
83+
liquid (~> 3.0)
6184
mercenary (~> 0.3.3)
62-
pygments.rb (~> 0.6.0)
63-
redcarpet (~> 3.1)
85+
pathutil (~> 0.9)
86+
rouge (~> 1.7)
6487
safe_yaml (~> 1.0)
65-
toml (~> 0.1.0)
88+
jekyll-avatar (0.4.2)
89+
jekyll (~> 3.0)
6690
jekyll-coffeescript (1.0.1)
6791
coffee-script (~> 2.2)
68-
jekyll-gist (1.2.1)
69-
jekyll-mentions (0.2.1)
70-
html-pipeline (~> 1.9.0)
71-
jekyll (~> 2.0)
92+
jekyll-default-layout (0.1.4)
93+
jekyll (~> 3.0)
94+
jekyll-feed (0.9.2)
95+
jekyll (~> 3.3)
96+
jekyll-gist (1.4.0)
97+
octokit (~> 4.2)
98+
jekyll-github-metadata (2.3.1)
99+
jekyll (~> 3.1)
100+
octokit (~> 4.0, != 4.4.0)
101+
jekyll-include-cache (0.1.0)
102+
jekyll (~> 3.3)
103+
jekyll-mentions (1.2.0)
104+
activesupport (~> 4.0)
105+
html-pipeline (~> 2.3)
106+
jekyll (~> 3.0)
107+
jekyll-optional-front-matter (0.1.2)
108+
jekyll (~> 3.0)
72109
jekyll-paginate (1.1.0)
73-
jekyll-redirect-from (0.6.2)
74-
jekyll (~> 2.0)
75-
jekyll-sass-converter (1.2.0)
76-
sass (~> 3.2)
77-
jekyll-sitemap (0.8.1)
78-
jekyll-watch (1.2.1)
79-
listen (~> 2.7)
80-
jemoji (0.4.0)
81-
gemoji (~> 2.0)
82-
html-pipeline (~> 1.9)
83-
jekyll (~> 2.0)
84-
json (1.8.2)
85-
kramdown (1.5.0)
86-
liquid (2.6.1)
87-
listen (2.10.0)
88-
celluloid (~> 0.16.0)
110+
jekyll-readme-index (0.1.0)
111+
jekyll (~> 3.0)
112+
jekyll-redirect-from (0.12.1)
113+
jekyll (~> 3.3)
114+
jekyll-relative-links (0.4.0)
115+
jekyll (~> 3.3)
116+
jekyll-sass-converter (1.5.0)
117+
sass (~> 3.4)
118+
jekyll-seo-tag (2.2.0)
119+
jekyll (~> 3.3)
120+
jekyll-sitemap (1.0.0)
121+
jekyll (~> 3.3)
122+
jekyll-swiss (0.4.0)
123+
jekyll-theme-architect (0.0.4)
124+
jekyll (~> 3.3)
125+
jekyll-theme-cayman (0.0.4)
126+
jekyll (~> 3.3)
127+
jekyll-theme-dinky (0.0.4)
128+
jekyll (~> 3.3)
129+
jekyll-theme-hacker (0.0.4)
130+
jekyll (~> 3.3)
131+
jekyll-theme-leap-day (0.0.4)
132+
jekyll (~> 3.3)
133+
jekyll-theme-merlot (0.0.4)
134+
jekyll (~> 3.3)
135+
jekyll-theme-midnight (0.0.4)
136+
jekyll (~> 3.3)
137+
jekyll-theme-minimal (0.0.4)
138+
jekyll (~> 3.3)
139+
jekyll-theme-modernist (0.0.4)
140+
jekyll (~> 3.3)
141+
jekyll-theme-primer (0.1.8)
142+
jekyll (~> 3.3)
143+
jekyll-theme-slate (0.0.4)
144+
jekyll (~> 3.3)
145+
jekyll-theme-tactile (0.0.4)
146+
jekyll (~> 3.3)
147+
jekyll-theme-time-machine (0.0.4)
148+
jekyll (~> 3.3)
149+
jekyll-titles-from-headings (0.1.5)
150+
jekyll (~> 3.3)
151+
jekyll-watch (1.5.0)
152+
listen (~> 3.0, < 3.1)
153+
jemoji (0.8.0)
154+
activesupport (~> 4.0)
155+
gemoji (~> 3.0)
156+
html-pipeline (~> 2.2)
157+
jekyll (>= 3.0)
158+
json (1.8.6)
159+
kramdown (1.13.2)
160+
liquid (3.0.6)
161+
listen (3.0.6)
89162
rb-fsevent (>= 0.9.3)
90-
rb-inotify (>= 0.9)
91-
maruku (0.7.0)
92-
mercenary (0.3.5)
93-
mini_portile (0.6.2)
94-
minitest (5.6.1)
163+
rb-inotify (>= 0.9.7)
164+
mercenary (0.3.6)
165+
mini_portile2 (2.1.0)
166+
minima (2.0.0)
167+
minitest (5.10.1)
168+
multipart-post (2.0.0)
95169
net-dns (0.8.0)
96-
nokogiri (1.6.6.2)
97-
mini_portile (~> 0.6.0)
98-
parslet (1.5.0)
99-
blankslate (~> 2.0)
100-
posix-spawn (0.3.11)
101-
public_suffix (1.5.1)
102-
pygments.rb (0.6.1)
103-
posix-spawn (~> 0.3.6)
104-
yajl-ruby (~> 1.2.0)
105-
rb-fsevent (0.9.4)
106-
rb-inotify (0.9.5)
170+
nokogiri (1.6.8.1)
171+
mini_portile2 (~> 2.1.0)
172+
octokit (4.7.0)
173+
sawyer (~> 0.8.0, >= 0.5.3)
174+
pathutil (0.14.0)
175+
forwardable-extended (~> 2.6)
176+
public_suffix (2.0.5)
177+
rb-fsevent (0.9.8)
178+
rb-inotify (0.9.8)
107179
ffi (>= 0.5.0)
108-
rdiscount (2.1.7)
109-
redcarpet (3.1.2)
180+
rouge (1.11.1)
110181
safe_yaml (1.0.4)
111-
sass (3.4.13)
112-
terminal-table (1.4.5)
113-
thread_safe (0.3.5)
114-
timers (4.0.1)
115-
hitimes
116-
toml (0.1.2)
117-
parslet (~> 1.5.0)
118-
tzinfo (1.2.2)
182+
sass (3.4.23)
183+
sawyer (0.8.1)
184+
addressable (>= 2.3.5, < 2.6)
185+
faraday (~> 0.8, < 1.0)
186+
terminal-table (1.7.3)
187+
unicode-display_width (~> 1.1.1)
188+
thread_safe (0.3.6)
189+
typhoeus (0.8.0)
190+
ethon (>= 0.8.0)
191+
tzinfo (1.2.3)
119192
thread_safe (~> 0.1)
120-
yajl-ruby (1.2.1)
193+
unicode-display_width (1.1.3)
121194

122195
PLATFORMS
123196
ruby
124197

125198
DEPENDENCIES
126199
github-pages
200+
jekyll-include-cache (~> 0.1)
127201

128202
BUNDLED WITH
129-
1.10.5
203+
1.14.6

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@ see the Istio [contribution guidelines](https://github.com/istio/istio/blob/mast
99

1010
The website uses [Jekyll](http://jekyllrb.com/) templates and is hosted on GitHub Pages. Please make sure you are
1111
familiar with these before editing.
12+
13+
To run the site locally with Docker, use the following command:
14+
15+
```bash
16+
docker run --rm --label=jekyll --volume=$(pwd):/srv/jekyll -it -p 127.0.0.1:4000:4000 jekyll/jekyll jekyll serve
17+
```

_includes/doc-nav.html

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
<div class="container">
22
<div class="row">
3-
<div class="col-md-11 nofloat center-block">
4-
<ul class="col-sm-10 doc-nav">
5-
{% assign current = page.url | downcase | split: '/' %}
6-
<li class="tab docs-tab"><a href="{{ site.baseurl }}/docs/">Docs</a></li>
7-
<span class="doc-caret">></span>
8-
<li class="tab"><a href="{{ site.baseurl }}/docs/" {% if page.url == '/docs/' %}class='current'{% endif %}>Home</a></li>
9-
<li class="tab"><a href="{{ site.baseurl }}/docs/concepts" {% if current[2] == 'concepts' %}class='current'{% endif %}>Concepts</a></li>
10-
<li class="tab"><a href="{{ site.baseurl }}/docs/tasks" {% if current[2] == 'tasks' %}class='current'{% endif %}>Tasks</a></li>
11-
<!--
12-
<li class="tab"><a href="{{ site.baseurl }}/docs/tutorials" {% if current[2] == 'tutorials' %}class='current'{% endif %}>Tutorials</a></li>
13-
-->
14-
<li class="tab"><a href="{{ site.baseurl }}/docs/samples" {% if current[2] == 'samples' %}class='current'{% endif %}>Samples</a></li>
15-
<li class="tab"><a href="{{ site.baseurl }}/docs/reference" {% if current[2] == 'reference' %}class='current'{% endif %}>Reference</a></li>
3+
<div class="col-md-11 nofloat center-block" style="margin-top: 3px;">
4+
<ul class="col-sm-10 nav nav-tabs">
5+
{% assign active = page.url | downcase | split: '/' %}
6+
<li role="presentation" {% if page.url == '/docs/' %}class='active'{% endif %}><a href="{{ site.baseurl }}/docs/">Welcome</a></li>
7+
<li role="presentation" {% if active[2] == 'concepts' %}class='active'{% endif %}><a href="{{ site.baseurl }}/docs/concepts">Concepts</a></li>
8+
<li role="presentation" {% if active[2] == 'tasks' %}class='active'{% endif %}><a href="{{ site.baseurl }}/docs/tasks">Tasks</a></li>
9+
<li role="presentation" {% if active[2] == 'samples' %}class='active'{% endif %}><a href="{{ site.baseurl }}/docs/samples">Samples</a></li>
10+
<li role="presentation" {% if active[2] == 'reference' %}class='active'{% endif %}><a href="{{ site.baseurl }}/docs/reference">Reference</a></li>
1611
</ul>
1712
{% include contribute-links.html %}
1813
</div>

_includes/doc-side-home-nav.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
<ul class="doc-side-nav doc-side-nav-home">
22
{% assign current = page.url | downcase | split: '/' %}
3+
<li><h5 class="doc-side-nav-title">Welcome</h5></li>
34
</ul>

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="right-links">
77
<div class="col-md-3 col-sm-3 col-xs-12 footer-documentation">
88
<ul class="toggle">
9-
<p class="right-link-headers">Documentation</p>
9+
<p class="right-link-headers">Docs</p>
1010
<li><a href="{{ site.baseurl }}/docs/"><p>Home</p></a></li>
1111
<li><a href="{{ site.baseurl }}/docs/concepts"><p>Concepts</p></a></li>
1212
<li><a href="{{ site.baseurl }}/docs/tasks"><p>Tasks</p></a></li>

_includes/sticky-nav.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<div class="col-md-11 nofloat center-block">
55
<a class="col-xs-2" href="{{ site.baseurl }}/">
66
<img class="nav-logo" src="{{ site.baseurl }}/img/logo.png" alt="Istio">
7+
<span class="page-headline">Istio</span>
78
</a>
89

910
<div class="col-xs-2 col-xs-offset-8">

_layouts/base.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
layout: compress
3+
---
4+
15
<!DOCTYPE html>
26
<html lang="en" itemscope itemtype="https://schema.org/WebPage">
37
<head>

_layouts/compress.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
# Jekyll layout that compresses HTML
3+
# v3.0.2
4+
# http://jch.penibelst.de/
5+
# © 2014–2015 Anatol Broder
6+
# MIT License
7+
---
8+
9+
{% capture _LINE_FEED %}
10+
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}

_layouts/docs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{{ content }}
1919
</div>
2020

21-
<div id="toc" class="toc col-sm-2">
21+
<div id="toc" class="toc">
2222
</div>
2323
</div>
2424
</div>

0 commit comments

Comments
 (0)