-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Frontmatter: add support for
@short_title
- Loading branch information
Showing
17 changed files
with
239 additions
and
67 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,26 @@ | ||
type child = Page of string | Dir of string | ||
|
||
type short_title = Comment.link_content | ||
|
||
type line | ||
|
||
type children_order = child Location_.with_location list Location_.with_location | ||
|
||
type t = { children_order : children_order option } | ||
type t = { | ||
children_order : children_order option; | ||
short_title : short_title option; | ||
} | ||
|
||
val empty : t | ||
|
||
val parse_children_order : | ||
Location_.span -> | ||
Odoc_parser.Ast.nestable_block_element Location_.with_location list -> | ||
Comment.nestable_block_element Location_.with_location list -> | ||
(line Location_.with_location, Error.t) Result.result | ||
|
||
val parse_short_title : | ||
Location_.span -> | ||
Comment.nestable_block_element Location_.with_location list -> | ||
(line Location_.with_location, Error.t) Result.result | ||
|
||
val of_lines : line Location_.with_location list -> t Error.with_warnings |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
val docs : Odoc_model.Comment.docs Type_desc.t | ||
open Odoc_model | ||
open Odoc_model.Comment | ||
|
||
val docs_or_stop : Odoc_model.Comment.docs_or_stop Type_desc.t | ||
val docs : docs Type_desc.t | ||
|
||
val inline_element : inline_element Location_.with_location list Type_desc.t | ||
|
||
val docs_or_stop : docs_or_stop Type_desc.t |
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
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
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.