Skip to content

Commit

Permalink
fixed links in /apidocs/docker-cloud/includes
Browse files Browse the repository at this point in the history
urls in html files that are included must be absolute, otherwise it only works when the files are included in some specific location.

Signed-off-by: Adrien Duermael <adrien@duermael.com>
  • Loading branch information
aduermael committed Jan 11, 2017
1 parent 333fe83 commit cf6fc37
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 46 deletions.
18 changes: 9 additions & 9 deletions apidocs/docker-cloud/includes/container.html
Expand Up @@ -446,43 +446,43 @@ <h3 id="attributes">Attributes</h3>
</tr>
<tr>
<td>cpu_shares</td>
<td>The relative CPU priority of the container (see <a href="../../engine/reference/run/#runtime-constraints-on-cpu-and-memory">Runtime Constraints on CPU and Memory</a> for more information)</td>
<td>The relative CPU priority of the container (see <a href="/engine/reference/run/#runtime-constraints-on-cpu-and-memory">Runtime Constraints on CPU and Memory</a> for more information)</td>
</tr>
<tr>
<td>cpuset</td>
<td>CPUs in which execution is allowed</td>
</tr>
<tr>
<td>memory</td>
<td>The memory limit of the container in MB (see <a href="../../engine/reference/run/#runtime-constraints-on-cpu-and-memory">Runtime Constraints on CPU and Memory</a> for more information)</td>
<td>The memory limit of the container in MB (see <a href="/engine/reference/run/#runtime-constraints-on-cpu-and-memory">Runtime Constraints on CPU and Memory</a> for more information)</td>
</tr>
<tr>
<td>memory_swap</td>
<td>Total memory limit (memory + swap) of the container in MB</td>
</tr>
<tr>
<td>autorestart</td>
<td>Whether to restart the container automatically if it stops (see <a href="../../docker-cloud/apps/autorestart/">Crash recovery</a> for more information)</td>
<td>Whether to restart the container automatically if it stops (see <a href="/docker-cloud/apps/autorestart/">Crash recovery</a> for more information)</td>
</tr>
<tr>
<td>autodestroy</td>
<td>Whether to terminate the container automatically if it stops (see <a href="../../docker-cloud/apps/auto-destroy/">Autodestroy</a> for more information)</td>
<td>Whether to terminate the container automatically if it stops (see <a href="/docker-cloud/apps/auto-destroy/">Autodestroy</a> for more information)</td>
</tr>
<tr>
<td>roles</td>
<td>List of Docker Cloud roles asigned to this container (see <a href="../../docker-cloud/apps/api-roles/">API roles</a> for more information))</td>
<td>List of Docker Cloud roles asigned to this container (see <a href="/docker-cloud/apps/api-roles/">API roles</a> for more information))</td>
</tr>
<tr>
<td>linked_to_container</td>
<td>List of IP addresses of the linked containers (see table <code class="prettyprint">Container Link attributes</code> below and <a href="../../docker-cloud/apps/service-links/">Service links</a> for more information)</td>
<td>List of IP addresses of the linked containers (see table <code class="prettyprint">Container Link attributes</code> below and <a href="/docker-cloud/apps/service-links/">Service links</a> for more information)</td>
</tr>
<tr>
<td>link_variables</td>
<td>List of environment variables that would be exposed in any container that is linked to this one</td>
</tr>
<tr>
<td>privileged</td>
<td>Whether the container has Docker&rsquo;s <code class="prettyprint">privileged</code> flag set or not (see <a href="../../engine/reference/run/#runtime-privilege-linux-capabilities-and-lxc-configuration">Runtime privilege</a> for more information)</td>
<td>Whether the container has Docker&rsquo;s <code class="prettyprint">privileged</code> flag set or not (see <a href="/engine/reference/run/#runtime-privilege-linux-capabilities-and-lxc-configuration">Runtime privilege</a> for more information)</td>
</tr>
<tr>
<td>read_only</td>
Expand All @@ -494,11 +494,11 @@ <h3 id="attributes">Attributes</h3>
</tr>
<tr>
<td>net</td>
<td>Network mode set on the container (see table <code class="prettyprint">Network Modes</code> below, more information ../../reference/run/#network-settings)</td>
<td>Network mode set on the container (see table <code class="prettyprint">Network Modes</code> below, more information /reference/run/#network-settings)</td>
</tr>
<tr>
<td>pid</td>
<td>PID (Process) Namespace mode for the container (more information ../../reference/run/#pid-settings-pid)</td>
<td>PID (Process) Namespace mode for the container (more information /reference/run/#pid-settings-pid)</td>
</tr>
</tbody></table>

Expand Down
4 changes: 2 additions & 2 deletions apidocs/docker-cloud/includes/node.html
Expand Up @@ -164,7 +164,7 @@ <h3 id="attributes">Attributes</h3>
</tr>
<tr>
<td>tags</td>
<td>List of tags to identify the node when deploying services (see <a href="../../docker-cloud/apps/deploy-tags/">Tags</a> for more information)</td>
<td>List of tags to identify the node when deploying services (see <a href="/docker-cloud/apps/deploy-tags/">Tags</a> for more information)</td>
</tr>
<tr>
<td>nickname</td>
Expand Down Expand Up @@ -418,7 +418,7 @@ <h2 id="upgrade-docker-daemon">Upgrade Docker Daemon</h2>
<pre class="highlight shell"><code>docker-cloud node upgrade 7eaf7fff
</code></pre>

<p>Upgrades the docker daemon of the node. This will restart your containers on that node. See <a href="../../docker-cloud/infrastructure/docker-upgrade/">Docker upgrade</a> for more information.</p>
<p>Upgrades the docker daemon of the node. This will restart your containers on that node. See <a href="/docker-cloud/infrastructure/docker-upgrade/">Docker upgrade</a> for more information.</p>

<h3 id="endpoint-type">Endpoint Type</h3>

Expand Down
4 changes: 2 additions & 2 deletions apidocs/docker-cloud/includes/nodecluster.html
Expand Up @@ -137,7 +137,7 @@ <h3 id="attributes">Attributes</h3>
</tr>
<tr>
<td>tags</td>
<td>List of tags to identify the node cluster nodes when deploying services (see <a href="../../docker-cloud/apps/deploy-tags/">Tags</a> for more information)</td>
<td>List of tags to identify the node cluster nodes when deploying services (see <a href="/docker-cloud/apps/deploy-tags/">Tags</a> for more information)</td>
</tr>
<tr>
<td>provider_options</td>
Expand Down Expand Up @@ -346,7 +346,7 @@ <h3 id="json-parameters">JSON Parameters</h3>
</tr>
<tr>
<td>tags</td>
<td>(optional) List of tags of the node cluster to be used when deploying services see <a href="../../docker-cloud/apps/deploy-tags/">Tags</a> for more information) (default: <code class="prettyprint">[]</code>)</td>
<td>(optional) List of tags of the node cluster to be used when deploying services see <a href="/docker-cloud/apps/deploy-tags/">Tags</a> for more information) (default: <code class="prettyprint">[]</code>)</td>
</tr>
<tr>
<td>provider_options</td>
Expand Down

0 comments on commit cf6fc37

Please sign in to comment.