X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fcfg%2Findex.texi;h=1fbca4945efb285b62deb7b56bde58d17eb6d3b9;hb=bb7fe5e770586be9f44a8a7f3321a3139d5345bb;hp=f9844eaff5c962526ec9b496ee128d5a6bb9d16a;hpb=22a3ed111c98f81f884df47bf1040a76c36e84ab;p=nncp.git diff --git a/doc/cfg/index.texi b/doc/cfg/index.texi index f9844ea..1fbca49 100644 --- a/doc/cfg/index.texi +++ b/doc/cfg/index.texi @@ -1,9 +1,11 @@ @node Configuration +@cindex configuration file @unnumbered Configuration file +@cindex Hjson NNCP uses single file configuration file in @url{https://hjson.org/, Hjson} format (see also section about @ref{Configuration directory, -directory layout}) . Initially it is created with @ref{nncp-cfgnew} +directory layout}) . Initially it is created with @command{@ref{nncp-cfgnew}} command and at minimum it can look like this: @verbatim @@ -30,6 +32,10 @@ neigh: { } @end verbatim +@cindex JSON +@pindex hjson-cli +@pindex gojq +@pindex gjo Do not forget that Hjson can be safely converted to JSON and vice versa (loosing formatting and comments of course). By default @command{hjson-cli} utility from @code{github.com/hjson/hjson-go} is