This commit is contained in:
John Mulhausen 2016-11-18 19:05:14 -08:00
commit 65ff90c6bb
2 changed files with 32 additions and 9 deletions

View File

@ -10,17 +10,30 @@
# Make sure directories have the trailing slash, keep the list alphabetical
- path: apidocs/
overrides:
- path: /apidocs/
description: "Auto-generated API docs for Docker Cloud, DTR, UCP. File an issue."
- path: notary/reference/
- path: /engine/deprecated.md
description: Docker Engine deprecation reference
source: https://github.com/docker/docker/tree/1.12.x/docs/deprecated.md
- path: /engine/extend/
description: References for Docker Engine plugin system
source: https://github.com/docker/docker/tree/1.12.x/docs/extend/
- path: /engine/reference/
description: Docker Engine CLI and API references
source: https://github.com/docker/docker/tree/1.12.x/docs/reference/
- path: /notary/reference/
description: Reference docs for Docker Notary
source: https://github.com/docker/notary/docs/reference/
source: https://github.com/docker/notary/tree/master/docs/reference/
- path: registry/configuration.md
- path: /registry/configuration/
description: Reference docs for configuring Docker Registry
source: https://github.com/docker/distribution/docs/configuration.md
source: https://github.com/docker/distribution/tree/master/docs/configuration.md
- path: registry/spec/
- path: /registry/spec/
description: Docker Registry API references
source: https://github.com/docker/distribution/docs/spec/
source: https://github.com/docker/distribution/tree/master/docs/spec/

View File

@ -1,3 +1,4 @@
<!-- relative link basehrefs -->
{% if page.path contains "index.md" %}
{% capture basehref %}{{ page.url }}{% endcapture %}
{% else %}
@ -12,8 +13,17 @@
{% endif %}
{% endfor %}
{% endif %}
<!-- edit overrides -->
{% for override in site.data.not_edited_here.overrides %}
{% if page.url contains override.path %}
{% assign overridden="true" %}
{% capture editsource %}{{ override.source }}{{ page.path }}{% endcapture %}
{% break %}
{% endif %}
{% endfor %}
{% if overridden != "true" %}{% capture editsource %}https://github.com/docker/docker.github.io/edit/master/{{ page.path }}{% endcapture %}{% endif %}
<!-- Start of {{ page.path }} -->
<!DOCTYPE html>
<!-- {{ page.path }} -->
<html class="js flexbox flexboxlegacy canvas canvastext webgl no-touch geolocation postmessage websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients cssreflections csstransforms no-csstransforms3d csstransitions fontface no-generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths retina-display is_not_retina chrome version webkit" lang="en">
<head>
<base href="{{ basehref }}"/>
@ -249,7 +259,7 @@ ng\:form {
<button type="submit" class="search-submit btn btn-default">Search</button>
</form>
</span>
<span><a href="https://github.com/docker/docker.github.io/edit/master/{{ page.path }}" class="button darkblue-btn nomunge" style="color:#FFFFFF; width:100%; margin: 0px;">Edit This Page</a></span>
<span><a href="{{ editsource }}" class="button darkblue-btn nomunge" style="color:#FFFFFF; width:100%; margin: 0px;">Edit This Page</a></span>
<nav id="TableOfContents">
</nav>
</section>