Use Compose Spec links in docs (#202)
This commit is contained in:
parent
da2141cd93
commit
b181b822f8
1 changed files with 4 additions and 2 deletions
|
@ -3,11 +3,13 @@ let
|
||||||
|
|
||||||
link = url: text: ''[${text}](${url})'';
|
link = url: text: ''[${text}](${url})'';
|
||||||
|
|
||||||
|
composeSpecRev = "55b450aee50799a2f33cc99e1d714518babe305e";
|
||||||
|
|
||||||
serviceRef = fragment:
|
serviceRef = fragment:
|
||||||
''See ${link "https://docs.docker.com/compose/compose-file/05-services/#${fragment}" "Docker Compose Services #${fragment}"}'';
|
''See ${link "https://github.com/compose-spec/compose-spec/blob/${composeSpecRev}/05-services.md#${fragment}" "Compose Spec Services #${fragment}"}'';
|
||||||
|
|
||||||
networkRef = fragment:
|
networkRef = fragment:
|
||||||
''See ${link "https://docs.docker.com/compose/compose-file/06-networks/#${fragment}" "Docker Compose Network #${fragment}"}'';
|
''See ${link "https://github.com/compose-spec/compose-spec/blob/${composeSpecRev}/06-networks.md#${fragment}" "Compose Spec Networks #${fragment}"}'';
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue