Skip to content

Commit ab007ef

Browse files
Add availability doc
1 parent 18c1fb5 commit ab007ef

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

documentation/markup.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,6 +1050,17 @@ Paragraph-level markup
10501050
These directives create short paragraphs and can be used inside information
10511051
units as well as normal text:
10521052

1053+
.. describe:: availability
1054+
1055+
This directive documents the platforms on which a module or feature
1056+
is available. For example::
1057+
1058+
.. availability:: Unix, not WASI, not Android.
1059+
1060+
::
1061+
1062+
.. availability:: Linux >= 3.0 with glibc >= 2.14.
1063+
10531064
.. describe:: note
10541065

10551066
An especially important bit of information about an API that a user should be

0 commit comments

Comments
 (0)