diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 21:12:02 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 21:12:02 +0000 |
commit | 77e50caaf2ef81cd91075cf836fed0e75718ffb4 (patch) | |
tree | 53b7b411290b63192fc9e924a3b6b65cdf67e9d0 /debian/vendor-h2o/srcdoc/snippets/directive.mt | |
parent | Adding upstream version 1.8.3. (diff) | |
download | dnsdist-77e50caaf2ef81cd91075cf836fed0e75718ffb4.tar.xz dnsdist-77e50caaf2ef81cd91075cf836fed0e75718ffb4.zip |
Adding debian version 1.8.3-2.debian/1.8.3-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/vendor-h2o/srcdoc/snippets/directive.mt')
-rw-r--r-- | debian/vendor-h2o/srcdoc/snippets/directive.mt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/vendor-h2o/srcdoc/snippets/directive.mt b/debian/vendor-h2o/srcdoc/snippets/directive.mt new file mode 100644 index 0000000..4b880f3 --- /dev/null +++ b/debian/vendor-h2o/srcdoc/snippets/directive.mt @@ -0,0 +1,28 @@ +? my $ctx = $main::context; +? my ($content, $args) = @_; +<div id="<?= $args->{name} ?>" class="directive-head"> +? if ($args->{since}) { +<div class="directive-since">since v<?= $args->{since} ?></div> +? } +<h3><a href="<?= $ctx->{filename} ?>#<?= $args->{name} ?>"><code>"<?= $args->{name} ?>"</code></a></h3> +</div> + +<dl class="directive-desc"> +<dt>Description:</dt> +<dd> +<p> +<?= Text::MicroTemplate::encoded_string($args->{desc}) ?> +</p> +<?= $content ?> +</dd> +<dt><a href="configure/syntax_and_structure.html#config_levels">Level</a>:</dt> +<dd><?= join(", ", @{$args->{levels}}) ?></dd> +? if ($args->{default}) { +<dt>Default:</dt> +<dd><code><pre><?= $args->{default} ?></pre></code> +? } +? if ($args->{see_also}) { +<dt>See also:</dt> +<dd><?= $args->{see_also} ?></dd> +? } +</dl> |