File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -580,6 +580,32 @@ help = """A list of languages that this guide supports."""
580580# """
581581content_type = " list"
582582
583+ [directive .column ]
584+ help = """ column content for the n-column component"""
585+ content_type = " block"
586+ options.title = " string"
587+
588+ [directive ."multi-column" ]
589+ help = """ A two-column component for the homepage"""
590+ content_type = " block"
591+ example = """ .. multi-column::
592+
593+ .. column::
594+
595+ .. code-block:: ${4:language}
596+ ${5:First code block content}
597+
598+ ${6:Paragraph content between code blocks}
599+
600+ .. code-block:: ${7:language}
601+ ${8:Second code block content}
602+
603+ .. column::
604+
605+ ${9:title}
606+ ${10:Unordered list content}
607+ """
608+
583609
584610# #### Guides (LEGACY - do not deprecate until removed in dependent docs repos)
585611[directive .hlist ]
You can’t perform that action at this time.
0 commit comments