@@ -491,6 +491,45 @@ def func(): pass
491491| True | False | False |
492492"""
493493
494+ SIMPLE_TABLE_IN_PARAMS = """
495+ Create an array.
496+ Parameters
497+ ----------
498+ object : array_like
499+ An array, any object exposing the array interface, an object whose
500+ __array__ method returns an array, or any (nested) sequence.
501+ order : {'K', 'A', 'C', 'F'}, optional
502+ Specify the memory layout of the array.
503+ If object is an array the following holds.
504+ ===== ========= ===================================================
505+ order no copy copy=True
506+ ===== ========= ===================================================
507+ 'K' unchanged F & C order preserved, otherwise most similar order
508+ 'F' F order F order
509+ ===== ========= ===================================================
510+ When ``copy=False`` and a copy is made for other reasons...
511+ subok : bool, optional
512+ If True, then sub-classes will be passed-through, otherwise
513+ """
514+
515+ SIMPLE_TABLE_IN_PARAMS_MARKDOWN = r"""
516+ Create an array.
517+ #### Parameters
518+
519+ - `object`: array_like
520+ An array, any object exposing the array interface, an object whose
521+ \_\_array\_\_ method returns an array, or any (nested) sequence.
522+ - `order`: {'K', 'A', 'C', 'F'}, optional
523+ Specify the memory layout of the array.
524+ If object is an array the following holds.
525+ | order | no copy | copy=True |
526+ | ----- | --------- | --------------------------------------------------- |
527+ | 'K' | unchanged | F & C order preserved, otherwise most similar order |
528+ | 'F' | F order | F order |
529+ When ``copy=False`` and a copy is made for other reasons...
530+ - `subok`: bool, optional
531+ If True, then sub-classes will be passed-through, otherwise
532+ """
494533
495534INTEGRATION = """
496535Return a fixed frequency DatetimeIndex.
@@ -618,6 +657,10 @@ def func(): pass
618657 'converts standard simple table' : {
619658 'rst' : SIMPLE_TABLE_2 ,
620659 'md' : SIMPLE_TABLE_2_MARKDOWN
660+ },
661+ 'converts indented simple table' : {
662+ 'rst' : SIMPLE_TABLE_IN_PARAMS ,
663+ 'md' : SIMPLE_TABLE_IN_PARAMS_MARKDOWN
621664 }
622665}
623666
0 commit comments