feat: add display-documentary parameter

Add `display-documentary` parameter determine if documentary page should
be displayed or not.
This commit is contained in:
2025-11-21 17:26:23 +02:00
parent 54f7a8cef8
commit a05dbee1fb
5 changed files with 24 additions and 20 deletions

View File

@@ -33,6 +33,7 @@ configure the whole document and `attachment` helper function. Important argumen
`text` (content) and `keywords` (array) as well as `title`, `lang` and `keyword-title`.
- `bibliography`: Result of `bibliography("path/to/file.yml")` or `none`.
- `attachments`: Tuple of `attachment(...)` items (tables, figures).
- `display-documentary`: Whether to display the documentary page at the end. Defaults to `true`.
- Positional argument: the document body follows the `ludf.with(...)` call.
The function also accepts a single, positional argument for the body of the paper.