Skip to content

Commit

Permalink
Documentation for reference to extension declaration
Browse files Browse the repository at this point in the history
Signed-off-by: Paul-Elliot <[email protected]>
  • Loading branch information
panglesd committed Oct 26, 2023
1 parent e7a1876 commit 2fcaef1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/ocamldoc_differences.mld
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Additionally we support extra annotations:
- [class-type] is a replacement for [classtype]
- [exn] is recognised as [exception]
- [extension] refers to a type extension
- [extension-decl] refers to the declaration point of an extension constructor
- [field] is a replacement for [recfield]
- [instance-variable] refers to instance variables
- [label] refers to labels introduced in anchors
Expand Down
1 change: 1 addition & 0 deletions doc/odoc_for_authors.mld
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ The prefixes supported are:
- [method]
- [constructor] (and the equivalent deprecated prefix [const])
- [extension]
- [extension-decl] for refering to the declaration point of an extension constructor
- [field] (and the equivalent deprecated prefix [recfield])
- [instance-variable]
- [section] (and the equivalent deprecated prefix [label]) - for referring to headings
Expand Down

0 comments on commit 2fcaef1

Please sign in to comment.