Skip to content

Commit ae629e5

Browse files
author
Misty Stanley-Jones
authored
Merge pull request #849 from aduermael/check-links
CI - no absolute links to local pages
2 parents 88d41de + 51df23e commit ae629e5

38 files changed

Lines changed: 235 additions & 11306 deletions

File tree

.gitmodules

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[submodule "tests/src/github.com/gdevillele/frontparser"]
2+
path = tests/src/github.com/gdevillele/frontparser
3+
url = https://github.com/gdevillele/frontparser.git
4+
branch = f28e87c7b9dae139855b574e96f22822986249a8
5+
[submodule "tests/src/golang.org/x/net"]
6+
path = tests/src/golang.org/x/net
7+
url = https://go.googlesource.com/net
8+
branch = 45e771701b814666a7eb299e6c7a57d0b1799e91
9+
[submodule "tests/src/gopkg.in/yaml.v2"]
10+
path = tests/src/gopkg.in/yaml.v2
11+
url = https://gopkg.in/yaml.v2
12+
branch = a5b47d31c556af34a302ce5d659e6fea44d90de0
13+

Jenkinsfile

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,21 @@ wrappedNode(label: 'linux && x86_64') {
22
deleteDir()
33
stage "checkout"
44
checkout scm
5+
sh "git submodule update --init --recursive"
56
stage "test"
7+
8+
/* Jekyll creates html files to implement client side redirects.
9+
There are absolute links to docs.docker.com in these htmls
10+
we don't want them to be parsed by the tests for now.
11+
Removing jekyll-redirect-from option will make sure these pages
12+
are not generated when building with Jekyll. */
13+
sh "awk '/jekyll-redirect-from/{n=1}; n {n--; next}; 1' < _config.yml > _config.yml.tmp"
14+
sh "mv _config.yml.tmp _config.yml"
15+
16+
sh "docker build -t docs `pwd`"
617
sh "docker build -t tests `pwd`/tests"
7-
sh "docker run --rm -v `pwd`:/docs tests"
8-
sh "docker rmi tests"
18+
sh "docker run -v /usr/src/app/allvbuild --name docs docs /bin/true"
19+
sh "docker run --rm --volumes-from docs -v `pwd`:/docs tests"
20+
sh "docker rm -fv docs"
21+
sh "docker rmi docs tests"
922
}

datacenter/ucp/2.0/guides/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ by Docker.
3131
When you deploy UCP, it starts running a globally scheduled service called
3232
`ucp-agent`. This service monitors the node where it is running and starts
3333
and stops UCP services, based on whether that node is a
34-
[manager or a worker node](https://docs.docker.com/engine/swarm/key-concepts/).
34+
[manager or a worker node](/engine/swarm/key-concepts/).
3535

3636
If the node is a:
3737

docker-cloud/builds/advanced.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ docker build --build-arg CUSTOM=$VAR -t $IMAGE_NAME
8686
used by the builder, so you must include a similar build command in the hook or
8787
the automated build will fail.
8888

89-
To learn more about Docker build-time variables, see the [docker build documentation]( https://docs.docker.com/engine/reference/commandline/build/#/set-build-time-variables---build-arg).
89+
To learn more about Docker build-time variables, see the [docker build documentation](/engine/reference/commandline/build/#/set-build-time-variables---build-arg).
9090

9191
#### Two-phase build
9292

docker-cloud/builds/automated-build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ the code repository service where the image's source code is stored.
8585

8686
10. For each branch or tag, enable or disable the **Build Caching** toggle.
8787

88-
[Build caching](https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#/build-cache) can save time if you are building a large image frequently or have many dependencies. You might want to leave build caching disabled to make sure all of your dependencies are resolved at build time, or if you have a large layer that is quicker to build locally.
88+
[Build caching](/engine/userguide/eng-image/dockerfile_best-practices/#/build-cache) can save time if you are building a large image frequently or have many dependencies. You might want to leave build caching disabled to make sure all of your dependencies are resolved at build time, or if you have a large layer that is quicker to build locally.
8989

9090
11. Click **Save** to save the settings, or click **Save and build** to save and
9191
run an initial test.

docker-for-windows/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ enabled](troubleshoot.md#virtualization-must-be-enabled) in Troubleshooting.
8282
<p />
8383
* Nested virtualization scenarios, such as running Docker for Windows on a VMWare or Parallels instance, might work, but come with no guarantees (i.e., not officially supported).
8484
<p />
85-
* **What the Docker for Windows install includes**: The installation provides [Docker Engine](https://docs.docker.com/engine/userguide/intro/), Docker CLI client, [Docker Compose](https://docs.docker.com/compose/overview/), and [Docker Machine](https://docs.docker.com/machine/overview/).
85+
* **What the Docker for Windows install includes**: The installation provides [Docker Engine](/engine/userguide/intro.md), Docker CLI client, [Docker Compose](/compose/overview/), and [Docker Machine](/machine/overview.md).
8686

8787
### About Windows containers and Windows Server 2016
8888

@@ -484,15 +484,15 @@ You can configure options on the Docker daemon in the given JSON configuration f
484484

485485
![Docker Daemon](images/docker-daemon.png)
486486

487-
For a full list of options on the Docker daemon, see <a href="https://docs.docker.com/engine/reference/commandline/dockerd/" target="_blank">daemon</a> in the Docker Engine command line reference.
487+
For a full list of options on the Docker daemon, see [daemon](/engine/reference/commandline/dockerd/){:target="_blank"} in the Docker Engine command line reference.
488488

489489
In that topic, see also:
490490

491-
* [Daemon configuration file](https://docs.docker.com/engine/reference/commandline/dockerd/#/daemon-configuration-file)
491+
* [Daemon configuration file](/engine/reference/commandline/dockerd/#/daemon-configuration-file)
492492

493-
* [Linux configuration file](https://docs.docker.com/engine/reference/commandline/dockerd/#/linux-configuration-file)
493+
* [Linux configuration file](/engine/reference/commandline/dockerd/#/linux-configuration-file)
494494

495-
* [Windows configuration file](https://docs.docker.com/engine/reference/commandline/dockerd/#/windows-configuration-file)
495+
* [Windows configuration file](/reference/commandline/dockerd/#/windows-configuration-file)
496496

497497
Note that updating these settings requires a reconfiguration and reboot of the Linux VM.
498498

@@ -549,7 +549,7 @@ Server:
549549
##### Custom registries
550550

551551
Also starting with with Beta 34, you can set up your own
552-
[registries](/registry/introduction/) on the **Basic** Daemon settings.
552+
[registries](/registry/introduction.md) on the **Basic** Daemon settings.
553553

554554
As an alternative to using [Docker Hub](https://hub.docker.com/) to store your
555555
public or private images or [Docker Trusted
@@ -563,7 +563,7 @@ the FAQs.)
563563

564564
The **Advanced** daemon settings provide the original option to directly edit
565565
the JSON configuration file for the <a
566-
href="https://docs.docker.com/engine/reference/commandline/dockerd/"
566+
href="/engine/reference/commandline/dockerd/"
567567
target="_blank">daemon</a>. (This is the only option currently available on stable releases, as described in [Docker daemon](#docker-daemon).)
568568

569569
![Docker Daemon](images/docker-daemon_advanced.png)

engine/installation/binaries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ is `https://get.docker.com/builds/Linux/x86_64/docker-1.11.0.tgz`.
125125
> **Note** These instructions are for Docker Engine 1.11 and up. Engine 1.10 and
126126
> under consists of a single binary, and instructions for those versions are
127127
> different. To install version 1.10 or below, follow the instructions in the
128-
> [1.10 documentation](https://docs.docker.com/v1.10/engine/installation/binaries/){:target="_blank"}.
128+
> [1.10 documentation](/v1.10/engine/installation/binaries/){:target="_blank"}.
129129
130130
#### Verify downloaded files
131131

machine/concepts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ For a complete list of `docker-machine` subcommands, see the [Docker Machine sub
3737

3838
Users using their own Docker Registry will experience `x509: certificate signed by unknown authority`
3939
error messages if their registry is signed by custom root Certificate Authority and it is
40-
not registered with Docker Engine. As discussed in the [Docker Engine documentation](https://docs.docker.com/engine/security/certificates/#/understanding-the-configuration)
40+
not registered with Docker Engine. As discussed in the [Docker Engine documentation](/engine/security/certificates/#/understanding-the-configuration)
4141
certificates should be placed at `/etc/docker/certs.d/hostname/ca.crt`
4242
where `hostname` is your Registry server's hostname.
4343

Submodule frontparser added at f28e87c

tests/src/golang.org/x/net

Submodule net added at 45e7717

0 commit comments

Comments
 (0)