mirror of https://github.com/docker/compose.git
Merge pull request #1563 from moxiegirl/hugo-test-fixes
Hugo final 1.7 Documentation PR -- please read carefully
This commit is contained in:
commit
4e73e86d94
|
@ -8,17 +8,17 @@ COPY . /docs/content/compose/
|
|||
|
||||
# Sed to process GitHub Markdown
|
||||
# 1-2 Remove comment code from metadata block
|
||||
# 3 Remove .md extension from link text
|
||||
# 4 Change ](/ to ](/project/ in links
|
||||
# 5 Change ](word) to ](/project/word)
|
||||
# 6 Change ](../../ to ](/project/
|
||||
# 7 Change ](../ to ](/project/word)
|
||||
# 3 Change ](/word to ](/project/ in links
|
||||
# 4 Change ](word.md) to ](/project/word)
|
||||
# 5 Remove .md extension from link text
|
||||
# 6 Change ](../ to ](/project/word)
|
||||
# 7 Change ](../../ to ](/project/ --> not implemented
|
||||
#
|
||||
#
|
||||
RUN find /docs/content/compose -type f -name "*.md" -exec sed -i.old \
|
||||
-e '/^<!.*metadata]>/g' \
|
||||
-e '/^<!.*end-metadata.*>/g' \
|
||||
-e 's/\([(]\)\(.*\)\(\.md\)/\1\2/g' \
|
||||
-e 's/\(\]\)\([(]\)\(\/\)/\1\2\/compose\//g' \
|
||||
-e 's/\(\][(]\)\([A-z]*[)]\)/\]\(\/compose\/\2/g' \
|
||||
-e 's/\(\][(]\)\([A-z].*\)\(\.md\)/\1\/compose\/\2/g' \
|
||||
-e 's/\([(]\)\(.*\)\(\.md\)/\1\2/g' \
|
||||
-e 's/\(\][(]\)\(\.\.\/\)/\1\/compose\//g' {} \;
|
||||
|
|
|
@ -192,7 +192,7 @@ Configures the path to the `ca.pem`, `cert.pem`, and `key.pem` files used for TL
|
|||
|
||||
## Compose documentation
|
||||
|
||||
- [User guide](compose-overview.md)
|
||||
- [User guide](/)
|
||||
- [Installing Compose](install.md)
|
||||
- [Get started with Django](django.md)
|
||||
- [Get started with Rails](rails.md)
|
||||
|
|
|
@ -59,7 +59,7 @@ Enjoy working with Compose faster and with less typos!
|
|||
|
||||
## Compose documentation
|
||||
|
||||
- [User guide](compose-overview.md)
|
||||
- [User guide](/)
|
||||
- [Installing Compose](install.md)
|
||||
- [Get started with Django](django.md)
|
||||
- [Get started with Rails](rails.md)
|
||||
|
|
|
@ -125,7 +125,7 @@ example, run `docker-compose up` and in another terminal run:
|
|||
|
||||
## More Compose documentation
|
||||
|
||||
- [User guide](compose-overview.md)
|
||||
- [User guide](/)
|
||||
- [Installing Compose](install.md)
|
||||
- [Get started with Django](django.md)
|
||||
- [Get started with Rails](rails.md)
|
||||
|
|
|
@ -40,7 +40,7 @@ Fully qualified container name, e.g. `DB_1_NAME=/myapp_web_1/myapp_db_1`
|
|||
|
||||
## Compose documentation
|
||||
|
||||
- [User guide](compose-overview.md)
|
||||
- [User guide](/)
|
||||
- [Installing Compose](install.md)
|
||||
- [Get started with Django](django.md)
|
||||
- [Get started with Rails](rails.md)
|
||||
|
|
|
@ -86,7 +86,7 @@ For full details on how to use `extends`, refer to the [reference](#reference).
|
|||
### Example use case
|
||||
|
||||
In this example, you’ll repurpose the example app from the [quick start
|
||||
guide](compose-overview.md). (If you're not familiar with Compose, it's recommended that
|
||||
guide](index.md). (If you're not familiar with Compose, it's recommended that
|
||||
you go through the quick start first.) This example assumes you want to use
|
||||
Compose both to develop an application locally and then deploy it to a
|
||||
production environment.
|
||||
|
@ -371,7 +371,7 @@ volumes:
|
|||
|
||||
## Compose documentation
|
||||
|
||||
- [User guide](compose-overview.md)
|
||||
- [User guide](/)
|
||||
- [Installing Compose](install.md)
|
||||
- [Get started with Django](django.md)
|
||||
- [Get started with Rails](rails.md)
|
||||
|
|
|
@ -57,7 +57,7 @@ Alternatively, if you're not worried about keeping them, you can remove them - C
|
|||
|
||||
## Compose documentation
|
||||
|
||||
- [User guide](compose-overview.md)
|
||||
- [User guide](/)
|
||||
- [Get started with Django](django.md)
|
||||
- [Get started with Rails](rails.md)
|
||||
- [Get started with Wordpress](wordpress.md)
|
||||
|
|
|
@ -124,7 +124,7 @@ you're using Boot2docker, `boot2docker ip` will tell you its address).
|
|||
|
||||
## More Compose documentation
|
||||
|
||||
- [User guide](compose-overview.md)
|
||||
- [User guide](/)
|
||||
- [Installing Compose](install.md)
|
||||
- [Get started with Django](django.md)
|
||||
- [Get started with Rails](rails.md)
|
||||
|
|
|
@ -121,7 +121,7 @@ address).
|
|||
|
||||
## More Compose documentation
|
||||
|
||||
- [User guide](compose-overview.md)
|
||||
- [User guide](/)
|
||||
- [Installing Compose](install.md)
|
||||
- [Get started with Django](django.md)
|
||||
- [Get started with Rails](rails.md)
|
||||
|
|
|
@ -396,7 +396,7 @@ read_only: true
|
|||
|
||||
## Compose documentation
|
||||
|
||||
- [User guide](compose-overview.md)
|
||||
- [User guide](/)
|
||||
- [Installing Compose](install.md)
|
||||
- [Get started with Django](django.md)
|
||||
- [Get started with Rails](rails.md)
|
||||
|
|
Loading…
Reference in New Issue