1
1
mirror of https://github.com/tweag/nickel.git synced 2024-10-06 16:18:08 +03:00
nickel/core
Théophane Hufschmitt 56c66c6291
Add a linebreak between contract and the documentation in the doc output (#1520)
* Add a linebreak between contract and the documentation in the doc output

The markdown output of `nickel doc` for record fields with both a
contract and a documentation currently looks like

```markdown
- `foo | Dyn`
documentation
```

which in strict markdown is equivalent to

```markdown
- `foo | Dyn` documentation
```

and isn't really nice once converted to Html.

Change that to

```markdown
- `foo | Dyn`
\
documentation
```

which renders `documentation` on a newline (still whithin the same
bullet point though)

* Accept new snapshots

---------

Co-authored-by: Viktor Kleen <viktor.kleen@tweag.io>
2023-08-09 15:24:15 +00:00
..
benches Format benches as well using Topiary (#1423) 2023-06-30 15:50:04 +00:00
src Add a linebreak between contract and the documentation in the doc output (#1520) 2023-08-09 15:24:15 +00:00
stdlib Fix typo in std.record.remove documentation (#1513) 2023-08-08 14:35:49 +00:00
tests [Fix] Fix contract.Sequence reversing order (#1510) 2023-08-08 08:57:19 +00:00
build.rs Rename and move workspace crates (#1399) 2023-06-26 16:58:40 +00:00
Cargo.toml Disable the colors when stdout isn't a tty (#1508) 2023-08-08 08:55:46 +00:00