@@ -58,6 +58,13 @@ content_type = "block"
5858argument_type = " string"
5959content_type = " block"
6060
61+ [directive .contents ]
62+ argument_type = " string"
63+ options.local = " flag"
64+ options.backlinks = " string"
65+ options.depth = " nonnegative_integer"
66+ options.class = " string"
67+
6168[directive .include ]
6269help = """ Include a reStructuredText file's contents."""
6370argument_type = [" path" , " uri" ]
@@ -67,22 +74,30 @@ help = """Include a file as a block of code."""
6774inherit = " include"
6875options.start-after = " string"
6976options.end-before = " string"
77+ options.linenos = " string"
7078options.language = " string"
7179options.dedent = [" nonnegative_integer" , " dedent_mode" ]
80+ options.emphasize-lines = " string"
7281
7382[directive .figure ]
7483help = """ Include an image file."""
7584argument_type = [" path" , " uri" ]
85+ content_type = " block"
7686options.alt = " string"
7787options.figwidth = " length"
7888options.scale = " string"
7989options.width = " length"
8090options.align = " alignment"
91+ options.lightbox = " flag"
8192
8293[directive .example ]
8394help = """ A section providing an example related to the surrounding text."""
8495content_type = " block"
8596
97+ [directive .optional ]
98+ help = """ A section optional information or steps."""
99+ content_type = " block"
100+
86101[directive .raw ]
87102help = """ Include raw unparsed content when rendering into a given output format."""
88103deprecated = true
@@ -94,6 +109,9 @@ help = """Only parse a chunk of content if the condition in the argument is true
94109argument_type = " string"
95110content_type = " block"
96111
112+ [directive .unicode ]
113+ argument_type = " string"
114+
97115[directive .class ]
98116help = """ Set a class on the next element."""
99117deprecated = true
@@ -188,6 +206,10 @@ inherit = "_guides-base"
188206help = """ The version of product to which this guide applies."""
189207inherit = " _guides-base"
190208
209+ [directive .hlist ]
210+ content_type = " list"
211+ options.columns = " nonnegative_integer"
212+
191213[directive .languages ]
192214help = """ A list of languages that this guide supports."""
193215example = """ .. languages::
@@ -241,6 +263,12 @@ help = """Used to specify a label or button in a GUI."""
241263[role .abbr ]
242264help = """ Abbreviation with hover text."""
243265
266+ [role .file ]
267+ help = """ Show a file path."""
268+
269+ [role .icon ]
270+ help = """ Show an icon."""
271+
244272[role .xml ]
245273help = """ Use XML to create reStructuredText nodes."""
246274
@@ -303,18 +331,20 @@ type = "link http://mongodb.github.io/mongo-java-driver/3.7/javadoc/%s"
303331
304332# ## Types of objects (directive & role pairs)
305333[rstobject ."py:class" ]
334+ [rstobject .authaction ]
306335[rstobject .authrole ]
307336[rstobject .binary ]
337+ [rstobject .bsontype ]
338+ [rstobject .data ]
339+ [rstobject .dbcommand ]
308340[rstobject .method ]
309341[rstobject .mongodb ]
310342[rstobject .option ]
311343[rstobject .phpclass ]
312344[rstobject .phpmethod ]
345+ [rstobject .pipeline ]
313346[rstobject .program ]
314- [rstobject .update ]
315347[rstobject .query ]
316348[rstobject .setting ]
317- [rstobject .bsontype ]
318- [rstobject .pipeline ]
319- [rstobject .data ]
320- [rstobject .authaction ]
349+ [rstobject .update ]
350+ [rstobject .urioption ]
0 commit comments