Files
Nim/doc
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
..
2026-01-11 18:39:01 +08:00
2024-12-27 19:42:18 +01:00
2023-09-27 05:49:17 +02:00
2024-01-12 20:50:20 +08:00
2023-10-25 20:53:15 +08:00
2025-11-06 17:33:52 +01:00
2022-06-04 07:03:03 +02:00
2023-02-07 16:15:44 +08:00
2023-03-03 23:37:12 +01:00
2023-07-02 22:36:05 +02:00
2023-07-02 22:36:05 +02:00

============================
Nim's documentation system
============================

This folder contains Nim's documentation. The documentation
is written in a format called *Markdown*, a markup language that reads
like ASCII and can be converted to HTML automatically!