mirror of https://github.com/docker/docs.git
Edit this page should be overridden in some cases
This commit is contained in:
parent
edf553f892
commit
bc0cad8727
|
@ -10,29 +10,30 @@
|
|||
|
||||
# Make sure directories have the trailing slash, keep the list alphabetical
|
||||
|
||||
overrides:
|
||||
- path: apidocs/
|
||||
description: "Auto-generated API docs for Docker Cloud, DTR, UCP. File an issue."
|
||||
|
||||
- path: engine/deprecated.md
|
||||
description: Docker Engine deprecation reference
|
||||
source: https://github.com/docker/docker/docs/deprecated.md
|
||||
source: https://github.com/docker/docker/tree/master/docs/deprecated.md
|
||||
|
||||
- path: engine/extend/
|
||||
description: References for Docker Engine plugin system
|
||||
source: https://github.com/docker/docker/docs/extend/
|
||||
source: https://github.com/docker/docker/tree/master/docs/extend/
|
||||
|
||||
- path: engine/reference/
|
||||
description: Docker Engine CLI and API references
|
||||
source: https://github.com/docker/docker/docs/reference/
|
||||
source: https://github.com/docker/docker/tree/master/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
|
||||
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/
|
||||
description: Docker Registry API references
|
||||
source: https://github.com/docker/distribution/docs/spec/
|
||||
source: https://github.com/docker/distribution/tree/master/docs/spec/
|
|
@ -0,0 +1,9 @@
|
|||
{% for override in site.data.not_edited_here.overrides %}
|
||||
{% if page.url contains override.path %}
|
||||
{% assign overridden="true" %}
|
||||
{% assign editsource=override.source %}
|
||||
{% break %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if overridden != "true" %}{% capture editsource %}https://github.com/docker/docker.github.io/edit/master/{{ page.path }}{% endcapture %}{% endif %}
|
||||
<span><a href="{{ editsource }}" class="button darkblue-btn nomunge" style="color:#FFFFFF; width:100%; margin: 0px;">Edit This Page</a></span>
|
|
@ -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" %}
|
||||
{% assign editsource=override.source %}
|
||||
{% 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 }}"/>
|
||||
|
@ -192,7 +202,7 @@ ng\:form {
|
|||
<div style="text-align: center; margin-top: 50px">
|
||||
<img src="/images/chat.png" alt="chat icon" style="margin-right: 10px">
|
||||
<b>Feedback?</b> Questions? Suggestions?<br/>
|
||||
<a href="https://github.com/docker/docker.github.io/edit/master/{{ page.path }}" class="nomunge">Edit this page</a>,
|
||||
<a href="{{ editsource }}" class="nomunge">Edit this page</a>,
|
||||
<a href="https://github.com/docker/docker.github.io/issues/new?title=Feedback for: {{ page.path }}&assignee={% if page.assignee %}{{ page.assignee }}{% else %}{{ page.defaultassignee }}{% endif %}&body=URL: [https://docs.docker.com/{{ page.path }}](https://docs.docker.com{{ page.url }})" class="nomunge">file a ticket</a>, or rate this page:
|
||||
<div id="pd_rating_holder_8453675"></div>
|
||||
<script type="text/javascript">
|
||||
|
@ -240,7 +250,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>
|
||||
|
|
Loading…
Reference in New Issue