-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update vendored odoc-parser to version 2.4 (#2631)
* Backport the table feature from Odoc 2.4's parser and implement tables. * Make sure elements in light table don't wrap Invalid syntax was generated when elements had to wrap. This is fixed by making sure all the elements in the table are inline elements and then by formatting them without any break. A smaller type is used to represent safely formattable light table that do not contain any block elements. The `~wrap` argument is added to `fmt_inline_elements` that controls whether elements can wrap. This is passed explicitly rather than through the config type to be sure that the information is not lost when recursing through elements. This fixed a potential bug in heading labels. * Odoc 2.4's code blocks support delimiters and a output section. * Add support for @hidden tag, quoted references and reduce diff with upstream
- Loading branch information
Showing
20 changed files
with
1,879 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.