Commit graph

15 commits

Author SHA1 Message Date
Jeroen Op 't Eynde
cf4ff4b950
feat: add enums to args (#45) 2023-02-16 19:57:15 +01:00
Jeroen Op 't Eynde
5e45c19fbe
feat: add newSub (#44) 2023-02-16 19:56:58 +01:00
malcolmholmes
37dd4fbc10
Remove duplicated path (#41) 2023-01-19 20:25:26 +00:00
Jeroen Op 't Eynde
e7f3020f57
fix(doc-util): ensure indexes get path prefixes (#36) 2022-10-25 15:36:32 +02:00
Jeroen Op 't Eynde
0486f08fc1
fix(render): only render index/fields sections if needed (#31) 2022-10-24 09:12:59 +02:00
Jeroen Op 't Eynde
be3cfab4d8
fix(doc-util): print info message when docstring can't get parsed (#33) 2022-10-24 09:12:44 +02:00
Jeroen Op 't Eynde
fedfb4920f
Extend render template with common usage & install instructions (#27)
* Extend render template with jsonnet-bundler instructions

* push usage/install templates up the stack

* ensure newline between docs and header

* correctly quote default args
2022-06-13 13:42:51 +02:00
Jeroen Op 't Eynde
f47f46f93f
Render Markdown with Jsonnet natively (#26) 2022-06-11 14:49:15 +02:00
Jeroen Op 't Eynde
1f8d4c6fbf
feat: containerize (#19)
* feat: containerize

* Stripping reduces binary size, fully static linking makes the binary more portable

Co-authored-by: sh0rez <me@shorez.de>
2021-06-03 14:58:12 +02:00
sh0rez
2f9dcb2d21
feat: document plain values (#12)
* feat: document plain values

Adds `d.val` to attach type and help information to plain Jsonnet
values, apart from specially treated `fn` and `obj`.

* feat: defaults
2020-07-27 16:59:04 +02:00
sh0rez
4c6f532e05
feat(lib): fn.withArgs 2020-05-13 12:31:07 +02:00
sh0rez
f284bff4e5
feat(lib): type aliases
Adds a couple of common type aliases to make using easier
2020-05-12 15:22:46 +02:00
sh0rez
21c8ebc75f
feat: docs 2020-04-30 01:26:42 +02:00
sh0rez
5fbee517fe
feat: inline package declaration
Docsonnet packages previously used to be declared in a `main.docsonnet`.
Because this file basically always contains the same, it is kinda
redundant.

To avoid that, the information from there has been inlined into the main
Jsonnet file, while the parser logic will become part of the Go
application, as embedded Jsonnet.
2020-04-28 23:40:45 +02:00
sh0rez
a63ddd1061
feat: jsonnet interface 2020-03-25 16:20:51 +01:00