From 92523b274e098b898f97f1956cadef1e7f8b3c06 Mon Sep 17 00:00:00 2001 From: Mateusz Kurek Date: Tue, 21 Mar 2017 19:55:35 +0100 Subject: [PATCH] Fix external links from compose file docs (#2401) Compose file v1 and v2 docs had relative links to some non-existing pages (especially about extending services). It was probably introduced when `compose-file.md` was detached into directory with single file per compose file version. --- compose/compose-file/compose-file-v1.md | 14 +++++++------- compose/compose-file/compose-file-v2.md | 18 +++++++++--------- compose/compose-file/index.md | 2 +- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/compose/compose-file/compose-file-v1.md b/compose/compose-file/compose-file-v1.md index e028118815..5fc30c6c30 100644 --- a/compose/compose-file/compose-file-v1.md +++ b/compose/compose-file/compose-file-v1.md @@ -247,7 +247,7 @@ indefinitely. Compose does not support circular references and `docker-compose` returns an error if it encounters one. For more on `extends`, see the -[the extends documentation](extends.md#extending-services). +[the extends documentation](/compose/extends.md#extending-services). ### external_links @@ -505,10 +505,10 @@ Each of these is a single value, analogous to its ## Compose documentation -- [User guide](index.md) -- [Installing Compose](install.md) +- [User guide](/compose/index.md) +- [Installing Compose](/compose/install/) - [Compose file versions and upgrading](compose-versioning.md) -- [Get started with Django](django.md) -- [Get started with Rails](rails.md) -- [Get started with WordPress](wordpress.md) -- [Command line reference](./reference/index.md) +- [Get started with Django](/compose/django/) +- [Get started with Rails](/compose/rails/) +- [Get started with WordPress](/compose/wordpress/) +- [Command line reference](/compose/reference/) diff --git a/compose/compose-file/compose-file-v2.md b/compose/compose-file/compose-file-v2.md index b73c3eaf7b..14cb2ec59e 100644 --- a/compose/compose-file/compose-file-v2.md +++ b/compose/compose-file/compose-file-v2.md @@ -207,7 +207,7 @@ Simple example: > **Note**: `depends_on` will not wait for `db` and `redis` to be "ready" before > starting `web` - only until they have been started. If you need to wait -> for a service to be ready, see [Controlling startup order](startup-order.md) +> for a service to be ready, see [Controlling startup order](/compose/startup-order.md) > for more on this problem and strategies for solving it. > **[Version 2.1](#version-21) file format only.** @@ -383,7 +383,7 @@ indefinitely. Compose does not support circular references and `docker-compose` returns an error if it encounters one. For more on `extends`, see the -[the extends documentation](extends.md#extending-services). +[the extends documentation](/compose/extends.md#extending-services). ### external_links @@ -538,7 +538,7 @@ Links also express dependency between services in the same way as ### logging -> [Version 2 file format](compose-versioning.md#version-2) and up. Used instead of version 1 +> [Version 2 file format](compose-versioning.md#version-2) and up. Used instead of version 1 > options for [log_driver](#log_driver) and [log_opt](#log_opt). Logging configuration for the service. @@ -1170,10 +1170,10 @@ refer to it within the Compose file: ## Compose documentation -- [User guide](index.md) -- [Installing Compose](install.md) +- [User guide](/compose/index.md) +- [Installing Compose](/compose/install/) - [Compose file versions and upgrading](compose-versioning.md) -- [Get started with Django](django.md) -- [Get started with Rails](rails.md) -- [Get started with WordPress](wordpress.md) -- [Command line reference](./reference/index.md) +- [Get started with Django](/compose/django/) +- [Get started with Rails](/compose/rails/) +- [Get started with WordPress](/compose/wordpress/) +- [Command line reference](/compose/reference/) diff --git a/compose/compose-file/index.md b/compose/compose-file/index.md index 0c785c3b33..449be82c4b 100644 --- a/compose/compose-file/index.md +++ b/compose/compose-file/index.md @@ -1391,7 +1391,7 @@ stack. ## Compose documentation -- [User guide](index.md) +- [User guide](/compose/index.md) - [Installing Compose](/compose/install/) - [Compose file versions and upgrading](compose-versioning.md) - [Sample app with swarm mode](/engine/getstarted-voting-app/)