Stop referencing {dir}/index.html and only reference {dir}/ instead.

This commit is contained in:
Martin Taillefer 2017-07-21 04:37:32 -07:00 committed by GitHub
parent c0391e6c8b
commit aeef9d0723
6 changed files with 34 additions and 27 deletions

View File

@ -22,22 +22,22 @@ GEM
ffi (1.9.18)
forwardable-extended (2.6.0)
gemoji (3.0.0)
github-pages (139)
github-pages (146)
activesupport (= 4.2.8)
github-pages-health-check (= 1.3.3)
jekyll (= 3.4.3)
github-pages-health-check (= 1.3.5)
jekyll (= 3.4.5)
jekyll-avatar (= 0.4.2)
jekyll-coffeescript (= 1.0.1)
jekyll-default-layout (= 0.1.4)
jekyll-feed (= 0.9.2)
jekyll-gist (= 1.4.0)
jekyll-github-metadata (= 2.3.1)
jekyll-github-metadata (= 2.5.1)
jekyll-mentions (= 1.2.0)
jekyll-optional-front-matter (= 0.1.2)
jekyll-optional-front-matter (= 0.2.0)
jekyll-paginate (= 1.1.0)
jekyll-readme-index (= 0.1.0)
jekyll-redirect-from (= 0.12.1)
jekyll-relative-links (= 0.4.0)
jekyll-relative-links (= 0.4.1)
jekyll-sass-converter (= 1.5.0)
jekyll-seo-tag (= 2.2.3)
jekyll-sitemap (= 1.0.0)
@ -51,11 +51,11 @@ GEM
jekyll-theme-midnight (= 0.0.4)
jekyll-theme-minimal (= 0.0.4)
jekyll-theme-modernist (= 0.0.4)
jekyll-theme-primer (= 0.2.1)
jekyll-theme-primer (= 0.3.1)
jekyll-theme-slate (= 0.0.4)
jekyll-theme-tactile (= 0.0.4)
jekyll-theme-time-machine (= 0.0.4)
jekyll-titles-from-headings (= 0.1.5)
jekyll-titles-from-headings (= 0.2.0)
jemoji (= 0.8.0)
kramdown (= 1.13.2)
liquid (= 3.0.6)
@ -64,7 +64,7 @@ GEM
minima (= 2.1.1)
rouge (= 1.11.1)
terminal-table (~> 1.4)
github-pages-health-check (1.3.3)
github-pages-health-check (1.3.5)
addressable (~> 2.3)
net-dns (~> 0.8)
octokit (~> 4.0)
@ -82,8 +82,8 @@ GEM
parallel (~> 1.3)
typhoeus (~> 0.7)
yell (~> 2.0)
i18n (0.8.4)
jekyll (3.4.3)
i18n (0.8.6)
jekyll (3.4.5)
addressable (~> 2.4)
colorator (~> 1.0)
jekyll-sass-converter (~> 1.0)
@ -104,7 +104,7 @@ GEM
jekyll (~> 3.3)
jekyll-gist (1.4.0)
octokit (~> 4.2)
jekyll-github-metadata (2.3.1)
jekyll-github-metadata (2.5.1)
jekyll (~> 3.1)
octokit (~> 4.0, != 4.4.0)
jekyll-include-cache (0.1.0)
@ -113,14 +113,14 @@ GEM
activesupport (~> 4.0)
html-pipeline (~> 2.3)
jekyll (~> 3.0)
jekyll-optional-front-matter (0.1.2)
jekyll-optional-front-matter (0.2.0)
jekyll (~> 3.0)
jekyll-paginate (1.1.0)
jekyll-readme-index (0.1.0)
jekyll (~> 3.0)
jekyll-redirect-from (0.12.1)
jekyll (~> 3.3)
jekyll-relative-links (0.4.0)
jekyll-relative-links (0.4.1)
jekyll (~> 3.3)
jekyll-sass-converter (1.5.0)
sass (~> 3.4)
@ -147,7 +147,7 @@ GEM
jekyll (~> 3.3)
jekyll-theme-modernist (0.0.4)
jekyll (~> 3.3)
jekyll-theme-primer (0.2.1)
jekyll-theme-primer (0.3.1)
jekyll (~> 3.3)
jekyll-theme-slate (0.0.4)
jekyll (~> 3.3)
@ -155,7 +155,7 @@ GEM
jekyll (~> 3.3)
jekyll-theme-time-machine (0.0.4)
jekyll (~> 3.3)
jekyll-titles-from-headings (0.1.5)
jekyll-titles-from-headings (0.2.0)
jekyll (~> 3.3)
jekyll-watch (1.5.0)
listen (~> 3.0, < 3.1)
@ -184,12 +184,16 @@ GEM
pathutil (0.14.0)
forwardable-extended (~> 2.6)
public_suffix (2.0.5)
rb-fsevent (0.9.8)
rb-inotify (0.9.8)
ffi (>= 0.5.0)
rb-fsevent (0.10.2)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rouge (1.11.1)
safe_yaml (1.0.4)
sass (3.4.24)
sass (3.5.1)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sawyer (0.8.1)
addressable (>= 2.3.5, < 2.6)
faraday (~> 0.8, < 1.0)
@ -200,7 +204,7 @@ GEM
ethon (>= 0.8.0)
tzinfo (1.2.3)
thread_safe (~> 0.1)
unicode-display_width (1.2.1)
unicode-display_width (1.3.0)
yell (2.0.7)
PLATFORMS

View File

@ -132,7 +132,7 @@ This configures an adapter that reports data to the Prometheus system. This adap
require any custom parameters and so doesn't have a `params` stanza.
Each adapter defines its own particular format of configuration data. The exhaustive set of
adapters and their specific configuration formats can be found [here]({{home}}/docs/reference/config/mixer/adapters/index.html).
adapters and their specific configuration formats can be found [here]({{home}}/docs/reference/config/mixer/adapters/).
### Aspects
@ -211,7 +211,7 @@ the kind of metric this is. The `value` field and the four label fields describe
at request time in order to produce the metric.
Each aspect kind defines its own particular format of configuration data. The exhaustive set of
aspect configuration formats can be found [here]({{home}}/docs/reference/config/mixer/aspects/index.html)..
aspect configuration formats can be found [here]({{home}}/docs/reference/config/mixer/aspects/).
#### Attribute expressions

View File

@ -15,7 +15,7 @@ services in the application deployment. The DSL allows the operator to
configure service-level properties such as circuit breakers, timeouts,
retries, as well as set up common continuous deployment tasks such as
canary rollouts, A/B testing, staged rollouts with %-based traffic splits,
etc. See [routing rules reference]({{home}}/docs/reference/config/traffic-rules/index.html) for detailed information.
etc. See [routing rules reference]({{home}}/docs/reference/config/traffic-rules/) for detailed information.
For example, a simple rule to send 100% of incoming traffic for a "reviews"
service to version "v1" can be described using the Rules DSL as

View File

@ -31,7 +31,8 @@
{% if d.order == nil %}
{% assign order = 9999 %}
{% endif %}
], url: "{{d.url}}", title: "{{d.title}}", order: {{order}}, overview: "{{d.overview}}"});
{% assign url = d.url | remove: "index.html" %}
], url: "{{url}}", title: "{{d.title}}", order: {{order}}, overview: "{{d.overview}}"});
{% endif %}
{% endfor %}

View File

@ -8,7 +8,8 @@
{% assign page_path = page.url | downcase | split: '/' %}
{% assign cat_name = cat.title | default: "EMPTY" %}
{% if cat_name != "EMPTY" %}
<li role="presentation" {% if cat_path[2] == page_path[2] %}class='active'{% endif %}><a href="{{home}}{{ cat.url }}">{{ cat_name }}</a></li>
{% assign url = cat.url | remove: "index.html" %}
<li role="presentation" {% if cat_path[2] == page_path[2] %}class='active'{% endif %}><a href="{{home}}{{url}}">{{ cat_name }}</a></li>
{% endif %}
{% endfor %}
</ul>

View File

@ -35,7 +35,8 @@
"{{ comp }}",
{% endfor %}
], url: "{{d.url}}", title: "{{d.title}}", order: {{d.order}}, overview: "{{d.overview}}"});
{% assign url = d.url | remove: "index.html" %}
], url: "{{url}}", title: "{{d.title}}", order: {{d.order}}, overview: "{{d.overview}}"});
{% endfor %}
genSectionNavTree(docs)