Some inline `<style>` tags were temporarily added to the documentation
because the documentation-stylesheets where not yet updated to the
latest version (see https://github.com/docker/docker/pull/11231 and
https://github.com/docker/docker/pull/11229#issuecomment-77698868).
This removes those temporary `<style>` tags.
depends on #11230 (https://github.com/docker/docker/issues/11230)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -2,15 +2,7 @@ page_title: Make a project contribution |
| 2 | 2 |
page_description: Basic workflow for Docker contributions |
| 3 | 3 |
page_keywords: contribute, pull request, review, workflow, white-belt, black-belt, squash, commit |
| 4 | 4 |
|
| 5 |
-<!-- TODO (@thaJeztah) remove after docs/base is updated --> |
|
| 6 | 5 |
<style type="text/css"> |
| 7 |
-.tg {border-collapse:collapse;border-spacing:0;margin-bottom:15px;}
|
|
| 8 |
-.tg td {background-color: #fff;padding:5px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;vertical-align:top;}
|
|
| 9 |
-.tg th {font-weight:bold;padding:5px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;text-align:left;}
|
|
| 10 |
-.tg .tg-e3zv{width:150px;}
|
|
| 11 |
-</style> |
|
| 12 |
- |
|
| 13 |
-<style> |
|
| 14 | 6 |
|
| 15 | 7 |
/* GitHub label styles */ |
| 16 | 8 |
.gh-label {
|
| ... | ... |
@@ -2,7 +2,7 @@ page_title: Where to chat or get help |
| 2 | 2 |
page_description: Describes Docker's communication channels |
| 3 | 3 |
page_keywords: IRC, Google group, Twitter, blog, Stackoverflow |
| 4 | 4 |
|
| 5 |
-<style> |
|
| 5 |
+<style type="text/css"> |
|
| 6 | 6 |
/* @TODO add 'no-zebra' table-style to the docs-base stylesheet */ |
| 7 | 7 |
/* Table without "zebra" striping */ |
| 8 | 8 |
.content-body table.no-zebra tr {
|
| ... | ... |
@@ -15,13 +15,7 @@ page_keywords: IRC, Google group, Twitter, blog, Stackoverflow |
| 15 | 15 |
There are several communications channels you can use to chat with Docker |
| 16 | 16 |
community members and developers. |
| 17 | 17 |
|
| 18 |
-<!-- TODO (@thaJeztah) remove after docs/base is updated --> |
|
| 19 |
-<style type="text/css"> |
|
| 20 |
-.tg {border-collapse:collapse;border-spacing:0;text-align: left;}
|
|
| 21 |
-.tg td{padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;vertical-align:top;}
|
|
| 22 |
-.tg th{font-weight:normal;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;}
|
|
| 23 |
-</style> |
|
| 24 |
-<table class="tg"> |
|
| 18 |
+<table> |
|
| 25 | 19 |
<col width="25%"> |
| 26 | 20 |
<col width="75%"> |
| 27 | 21 |
<tr> |
| ... | ... |
@@ -79,13 +73,7 @@ the easiest way to connect to IRC. |
| 79 | 79 |
|
| 80 | 80 |
2. Fill out the form. |
| 81 | 81 |
|
| 82 |
- <!-- TODO (@thaJeztah) remove after docs/base is updated --> |
|
| 83 |
- <style type="text/css"> |
|
| 84 |
- .tg {border-collapse:collapse;border-spacing:0;}
|
|
| 85 |
- .tg td{padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;}
|
|
| 86 |
- .tg th{font-weight:normal;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;}
|
|
| 87 |
- </style> |
|
| 88 |
- <table class="tg no-zebra" style="width: auto"> |
|
| 82 |
+ <table class="no-zebra" style="width: auto"> |
|
| 89 | 83 |
<tr> |
| 90 | 84 |
<td><b>Nickname</b></td> |
| 91 | 85 |
<td>The short name you want to be known as in IRC.</td> |
| ... | ... |
@@ -2,40 +2,12 @@ page_title: Understand how to contribute |
| 2 | 2 |
page_description: Explains basic workflow for Docker contributions |
| 3 | 3 |
page_keywords: contribute, maintainers, review, workflow, process |
| 4 | 4 |
|
| 5 |
-<!-- TODO (@thaJeztah) remove after docs/base is updated --> |
|
| 6 |
-<style type="text/css"> |
|
| 7 |
-.tg {border-collapse:collapse;border-spacing:0;margin-bottom:15px;}
|
|
| 8 |
-.tg td {background-color: #fff;padding:5px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;vertical-align:top;}
|
|
| 9 |
-.tg th {font-weight:bold;padding:5px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;text-align:left;}
|
|
| 10 |
-.tg .tg-e3zv{width:150px;}
|
|
| 11 |
-</style> |
|
| 12 |
- |
|
| 13 |
-<style> |
|
| 14 |
- |
|
| 15 |
-/* GitHub label styles */ |
|
| 16 |
-.gh-label {
|
|
| 17 |
- display: inline-block; |
|
| 18 |
- padding: 3px 4px; |
|
| 19 |
- font-size: 11px; |
|
| 20 |
- font-weight: bold; |
|
| 21 |
- line-height: 1; |
|
| 22 |
- color: #fff; |
|
| 23 |
- border-radius: 2px; |
|
| 24 |
- box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12); |
|
| 25 |
-} |
|
| 26 |
- |
|
| 27 |
-.gh-label.black-belt { background-color: #000000; color: #ffffff; }
|
|
| 28 |
-.gh-label.bug { background-color: #fc2929; color: #ffffff; }
|
|
| 29 |
-.gh-label.improvement { background-color: #bfe5bf; color: #2a332a; }
|
|
| 30 |
-.gh-label.project-doc { background-color: #207de5; color: #ffffff; }
|
|
| 31 |
-.gh-label.white-belt { background-color: #ffffff; color: #333333; }
|
|
| 32 |
- |
|
| 33 |
-</style> |
|
| 34 |
- |
|
| 35 | 5 |
# Understand how to contribute |
| 36 | 6 |
|
| 37 | 7 |
Contributing is a process where you work with Docker maintainers and the |
| 38 |
-community to improve Docker. The maintainers are experienced contributors who specialize in one or more Docker components. Maintainers play a big role in reviewing contributions. |
|
| 8 |
+community to improve Docker. The maintainers are experienced contributors |
|
| 9 |
+who specialize in one or more Docker components. Maintainers play a big role |
|
| 10 |
+in reviewing contributions. |
|
| 39 | 11 |
|
| 40 | 12 |
There is a formal process for contributing. We try to keep our contribution |
| 41 | 13 |
process simple so you'll want to contribute frequently. |
| ... | ... |
@@ -59,4 +31,5 @@ contributions. When you reach that point in the flow, we make sure to tell you. |
| 59 | 59 |
|
| 60 | 60 |
## Where to go next |
| 61 | 61 |
|
| 62 |
-Now that you know a little about the contribution process, go to the next section to [find an issue you want to work on](/project/find-an-issue/). |
|
| 62 |
+Now that you know a little about the contribution process, go to the next section |
|
| 63 |
+to [find an issue you want to work on](/project/find-an-issue/). |
| ... | ... |
@@ -2,14 +2,6 @@ page_title: Work with a development container |
| 2 | 2 |
page_description: How to use Docker's development environment |
| 3 | 3 |
page_keywords: development, inception, container, image Dockerfile, dependencies, Go, artifacts |
| 4 | 4 |
|
| 5 |
- |
|
| 6 |
-<!-- TODO (@thaJeztah) remove after docs/base is updated --> |
|
| 7 |
-<style type="text/css"> |
|
| 8 |
-.tg {border-collapse:collapse;border-spacing:0;}
|
|
| 9 |
-.tg td{font-family:monospace, serif;font-size:11px;padding:10px 5px;border-style:solid;border-width:0px;overflow:hidden;word-break:normal;}
|
|
| 10 |
-.tg th{font-family:monospace, sans-serif;font-size:11px;font-weight:normal;padding:10px 5px;border-style:solid;border-width:0px;overflow:hidden;word-break:normal;}
|
|
| 11 |
-</style> |
|
| 12 |
- |
|
| 13 | 5 |
# Work with a development container |
| 14 | 6 |
|
| 15 | 7 |
In this section, you learn to develop like a member of Docker's core team. |
| ... | ... |
@@ -44,7 +36,7 @@ To remove unnecessary artifacts. |
| 44 | 44 |
|
| 45 | 45 |
You should see something similar to the following: |
| 46 | 46 |
|
| 47 |
- <table class="tg code"> |
|
| 47 |
+ <table class="code"> |
|
| 48 | 48 |
<tr> |
| 49 | 49 |
<th>CONTAINER ID</th> |
| 50 | 50 |
<th>IMAGE</th> |
| ... | ... |
@@ -66,7 +58,7 @@ To remove unnecessary artifacts. |
| 66 | 66 |
|
| 67 | 67 |
You should see something similar to the following: |
| 68 | 68 |
|
| 69 |
- <table class="tg code"> |
|
| 69 |
+ <table class="code"> |
|
| 70 | 70 |
<tr> |
| 71 | 71 |
<th>REPOSITORY</th> |
| 72 | 72 |
<th>TAG</th> |
| ... | ... |
@@ -128,7 +120,7 @@ environment. |
| 128 | 128 |
|
| 129 | 129 |
You should see something similar to this: |
| 130 | 130 |
|
| 131 |
- <table class="tg code"> |
|
| 131 |
+ <table class="code"> |
|
| 132 | 132 |
<tr> |
| 133 | 133 |
<th>REPOSTITORY</th> |
| 134 | 134 |
<th>TAG</th> |
| ... | ... |
@@ -292,7 +284,7 @@ build and run a `docker` binary in your container. |
| 292 | 292 |
|
| 293 | 293 |
$ docker ps |
| 294 | 294 |
|
| 295 |
- <table class="tg code"> |
|
| 295 |
+ <table class="code"> |
|
| 296 | 296 |
<tr> |
| 297 | 297 |
<th>CONTAINER ID</th> |
| 298 | 298 |
<th>IMAGE</th> |
| ... | ... |
@@ -2,13 +2,6 @@ page_title: Run tests and test documentation |
| 2 | 2 |
page_description: Describes Docker's testing infrastructure |
| 3 | 3 |
page_keywords: make test, make docs, Go tests, gofmt, contributing, running tests |
| 4 | 4 |
|
| 5 |
-<!-- TODO (@thaJeztah) remove after docs/base is updated --> |
|
| 6 |
-<style type="text/css"> |
|
| 7 |
-.tg {border-collapse:collapse;border-spacing:0;margin-bottom:15px;}
|
|
| 8 |
-.tg td{padding:5px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;}
|
|
| 9 |
-.tg th{padding:5px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;text-align:left;}
|
|
| 10 |
-</style> |
|
| 11 |
- |
|
| 12 | 5 |
# Run tests and test documentation |
| 13 | 6 |
|
| 14 | 7 |
Contributing includes testing your changes. If you change the Docker code, you |
| ... | ... |
@@ -59,35 +52,35 @@ The `Makefile` contains a target for the entire test suite. The target's name |
| 59 | 59 |
is simply `test`. The make file contains several targets for testing: |
| 60 | 60 |
|
| 61 | 61 |
<style type="text/css"> |
| 62 |
-.make-target {font-family:"Courier New", Courier, monospace !important;}
|
|
| 62 |
+.monospaced {font-family: Monaco, Consolas, "Lucida Console", monospace !important;}
|
|
| 63 | 63 |
</style> |
| 64 |
-<table class="tg"> |
|
| 64 |
+<table> |
|
| 65 | 65 |
<tr> |
| 66 | 66 |
<th>Target</th> |
| 67 | 67 |
<th>What this target does</th> |
| 68 | 68 |
</tr> |
| 69 | 69 |
<tr> |
| 70 |
- <td class="make-target">test</td> |
|
| 70 |
+ <td class="monospaced">test</td> |
|
| 71 | 71 |
<td>Run all the tests.</td> |
| 72 | 72 |
</tr> |
| 73 | 73 |
<tr> |
| 74 |
- <td class="make-target">test-unit</td> |
|
| 74 |
+ <td class="monospaced">test-unit</td> |
|
| 75 | 75 |
<td>Run just the unit tests.</td> |
| 76 | 76 |
</tr> |
| 77 | 77 |
<tr> |
| 78 |
- <td class="make-target">test-integration</td> |
|
| 78 |
+ <td class="monospaced">test-integration</td> |
|
| 79 | 79 |
<td>Run just integration tests.</td> |
| 80 | 80 |
</tr> |
| 81 | 81 |
<tr> |
| 82 |
- <td class="make-target">test-integration-cli</td> |
|
| 82 |
+ <td class="monospaced">test-integration-cli</td> |
|
| 83 | 83 |
<td>Run the test for the integration command line interface.</td> |
| 84 | 84 |
</tr> |
| 85 | 85 |
<tr> |
| 86 |
- <td class="make-target">test-docker-py</td> |
|
| 86 |
+ <td class="monospaced">test-docker-py</td> |
|
| 87 | 87 |
<td>Run the tests for Docker API client.</td> |
| 88 | 88 |
</tr> |
| 89 | 89 |
<tr> |
| 90 |
- <td class="make-target">docs-test</td> |
|
| 90 |
+ <td class="monospaced">docs-test</td> |
|
| 91 | 91 |
<td>Runs the documentation test build.</td> |
| 92 | 92 |
</tr> |
| 93 | 93 |
</table> |
| ... | ... |
@@ -170,11 +163,11 @@ You can use the `TESTFLAGS` environment variable to run a single test. The |
| 170 | 170 |
flag's value is passed as arguments to the `go test` command. For example, from |
| 171 | 171 |
your local host you can run the `TestBuild` test with this command: |
| 172 | 172 |
|
| 173 |
- $ TESTFLAGS='-test.run ^TestBuild$' make test |
|
| 173 |
+ $ TESTFLAGS='-test.run ^TestBuild$' make test |
|
| 174 | 174 |
|
| 175 | 175 |
To run the same test inside your Docker development container, you do this: |
| 176 | 176 |
|
| 177 |
- root@5f8630b873fe:/go/src/github.com/docker/docker# TESTFLAGS='-run ^TestBuild$' hack/make.sh |
|
| 177 |
+ root@5f8630b873fe:/go/src/github.com/docker/docker# TESTFLAGS='-run ^TestBuild$' hack/make.sh |
|
| 178 | 178 |
|
| 179 | 179 |
## If test under Boot2Docker fail do to space errors |
| 180 | 180 |
|
| ... | ... |
@@ -51,31 +51,31 @@ Follow this workflow as you work: |
| 51 | 51 |
|
| 52 | 52 |
5. Format your source files correctly. |
| 53 | 53 |
|
| 54 |
- <table class="tg"> |
|
| 54 |
+ <table> |
|
| 55 | 55 |
<thead> |
| 56 | 56 |
<tr> |
| 57 |
- <th class="tg-e3zv">File type</th> |
|
| 57 |
+ <th>File type</th> |
|
| 58 | 58 |
<th>How to format</th> |
| 59 | 59 |
</tr> |
| 60 | 60 |
</thead> |
| 61 | 61 |
<tbody> |
| 62 | 62 |
<tr> |
| 63 |
- <td class="tg-e3zv"><code>.go</code></td> |
|
| 63 |
+ <td><code>.go</code></td> |
|
| 64 | 64 |
<td> |
| 65 | 65 |
<p> |
| 66 | 66 |
Format <code>.go</code> files using the <code>gofmt</code> command. |
| 67 | 67 |
For example, if you edited the `docker.go` file you would format the file |
| 68 |
- like this: |
|
| 69 |
- </p> |
|
| 70 |
- <p><code>$ gofmt -s -w file.go</code></p> |
|
| 71 |
- <p> |
|
| 72 |
- Most file editors have a plugin to format for you. Check your editor's |
|
| 73 |
- documentation. |
|
| 74 |
- </p> |
|
| 68 |
+ like this: |
|
| 69 |
+ </p> |
|
| 70 |
+ <p><code>$ gofmt -s -w file.go</code></p> |
|
| 71 |
+ <p> |
|
| 72 |
+ Most file editors have a plugin to format for you. Check your editor's |
|
| 73 |
+ documentation. |
|
| 74 |
+ </p> |
|
| 75 | 75 |
</td> |
| 76 | 76 |
</tr> |
| 77 | 77 |
<tr> |
| 78 |
- <td class="tg-e3zv" style="white-space: nowrap"><code>.md</code> and non-<code>.go</code> files</td> |
|
| 78 |
+ <td style="white-space: nowrap"><code>.md</code> and non-<code>.go</code> files</td> |
|
| 79 | 79 |
<td>Wrap lines to 80 characters.</td> |
| 80 | 80 |
</tr> |
| 81 | 81 |
</tbody> |