Commit Graph

9 Commits

Author SHA1 Message Date
Baltasar Blanco
9221e099e4 docs(corefile): document that the Corefile is line oriented (#8544)
The Caddyfile parser in coredns/caddy reads the arguments of a plugin, or of one of its properties, up to the end of the line, and a closing brace on that line can be read as one of them. corefile.5.md never said so, and a one-line server block such as '. { whoami }' fails with an error that reads like a brace-matching problem.

Fixes #7267

Signed-off-by: Baltasar Blanco <baltasarblanco.dev@gmail.com>
2026-09-11 13:02:05 -07:00
DrmagicE
acb75ea904 Update builtin corefile example (#3539)
Automatically submitted.
2019-12-14 12:57:33 +00:00
Miek Gieben
2c418b9fd5 Doc update (#2792)
* Fix spelling in coredns.1 and corefile.7 md files
* Run make -f Makefile.doc

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-04-22 05:38:40 +08:00
Miek Gieben
f8aa208cc0 docs: Regenerate all manpages using mmark (#2762)
Mmark recently became able to create manual pages. This removed the
dependency on 'ronn' and just uses mmark (Go program).

Re-hookup Makefile.doc to generate the correct header mmark needs to
see and regenate them all.

Spot checking a few pages suggest they look good and actually better
than rendered with ronn, esp. lists in lists.

Fixes #2757

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-04-06 08:42:40 +01:00
Miek Gieben
fb32f7a358 Add import plugin to give it docs (#2428)
* wip: add import to make it have docs

Fake the import plugin further to give it proper docs. This should help
make it more discoverable.

Signed-off-by: Miek Gieben <miek@miek.nl>

* Finish writing the documentation

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-01-05 19:41:47 -08:00
Miek Gieben
5e4faf9bb5 docs: more on imports and snippets (#2423)
Add some docs in the manual page. Problem here is that it is only in the
manual page and we don't publish this particular one on coredns.io.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-01-04 03:47:28 +08:00
Karsten Weiss
6d8a078704 Typo fixes (#2031) 2018-08-14 08:55:55 -07:00
Miek Gieben
e6c00f39f1 update corefile(5) and regen (#1904)
Add that we support https and do a regen.

Signed-off-by: Miek Gieben <miek@miek.nl>
2018-06-29 12:36:12 +01:00
Miek Gieben
a8e268e33b doc: add corefile(5) manual page (#1351) 2018-01-06 15:53:33 +00:00