Files
Nim/tests/misc
Jake Leahy c1e381ae8d Raw switch for jsondoc (#24568)
Implements #21928

Adds a `--raw` (since thats what the original issue used, suggestions
welcome) switch which stops the jsondoc gen from rendering rst/markdown.

Implemented by making `genComment` check if it needs to return the raw
string or not. This required switching the related procs to using
`Option` to handle how `nil` values were returned before. The `nil`
returns were eventually ignored so just ignoring `none(T)` has the same
effect.

Doesn't support `runnableExamples` since jsondocs doesn't support them
either
2026-01-11 18:39:01 +08:00
..
2022-10-02 06:44:10 +02:00
2019-09-13 07:46:46 +02:00
2026-01-11 18:39:01 +08:00
2023-08-06 15:21:24 +08:00
2022-12-28 08:28:48 +01:00
2023-09-26 17:40:18 +08:00
2022-12-22 06:16:25 +01:00
2022-06-10 20:40:34 +02:00
2023-01-13 15:36:13 +01:00
2022-12-27 12:07:15 +01:00
2022-10-02 06:44:10 +02:00
2022-12-19 12:35:15 +01:00
2014-06-03 19:05:13 -04:00
2020-03-30 13:18:12 +02:00
2018-11-23 11:58:28 +01:00
2019-08-31 07:44:53 +02:00
2018-11-23 11:58:28 +01:00
2018-11-23 11:58:28 +01:00
2020-07-15 03:46:17 -04:00
2018-11-23 11:58:28 +01:00
2018-11-23 11:58:28 +01:00
2023-04-17 20:56:52 +02:00
2026-01-11 18:39:01 +08:00
2019-07-25 09:25:18 +02:00
2019-07-25 09:25:18 +02:00
2019-05-27 21:29:02 +02:00
2020-01-16 14:21:12 +01:00
2024-11-23 13:39:26 +01:00
2019-11-05 11:05:46 +01:00
2018-11-23 11:58:28 +01:00
2019-11-05 11:05:46 +01:00
2018-11-23 11:58:28 +01:00
2018-11-23 11:58:28 +01:00
2022-11-25 17:39:50 +08:00