docs: shortcode for links to the cmd/sampleconf directory

fixes #11
This commit is contained in:
Christian Schwarz 2017-10-02 15:12:35 +02:00
parent 5c6c9485a8
commit d891b2b119
3 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@ weight = 10
{{% alert theme="warning" %}}Under Construction{{% /alert %}}
See `sampleconf/*/*.yml` for examples.
See {{< sampleconflink >}} for examples.
## Source

View File

@ -5,4 +5,4 @@ weight = 90
{{% alert theme="warning" %}}Under Construction{{% /alert %}}
See `cmd/sampleconf/random/logging.yml`.
See {{< sampleconflink "random/logging.yml" >}}.

View File

@ -0,0 +1 @@
<a href="https://github.com/zrepl/zrepl/tree/master/cmd/sampleconf/{{.Get 0}}" target="_new"><code>cmd/sampleconf/{{ .Get 0}}</code></a>