File tree Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 3
3
========
4
4
A model for documents
5
5
6
- Allowed parameters
7
- ==================
6
+ **Allowed parameters **
8
7
9
8
=============== =========== ====================================
10
9
Allowed field Data Type Description
@@ -15,8 +14,7 @@ Allowed field Data Type Description
15
14
**notes ** str *Human readable notes *
16
15
=============== =========== ====================================
17
16
18
- Allowed children
19
- ================
17
+ **Allowed children **
20
18
21
19
=============== ===================== ==============================
22
20
Allowed child Data Type Description
@@ -29,8 +27,7 @@ Section
29
27
=======
30
28
A model of a section of the document. Will contain a Paragraph or two
31
29
32
- Allowed parameters
33
- ==================
30
+ **Allowed parameters **
34
31
35
32
=============== =========== ======================
36
33
Allowed field Data Type Description
@@ -39,8 +36,7 @@ Allowed field Data Type Description
39
36
**notes ** str *Human readable notes *
40
37
=============== =========== ======================
41
38
42
- Allowed children
43
- ================
39
+ **Allowed children **
44
40
45
41
=============== ========================= ================
46
42
Allowed child Data Type Description
@@ -53,8 +49,7 @@ Paragraph
53
49
=========
54
50
A model of a paragraph
55
51
56
- Allowed parameters
57
- ==================
52
+ **Allowed parameters **
58
53
59
54
=============== =========== =================================================
60
55
Allowed field Data Type Description
Original file line number Diff line number Diff line change @@ -422,8 +422,8 @@ def insert_links(text, format=MARKDOWN_FORMAT):
422
422
if format == MARKDOWN_FORMAT :
423
423
doc_string += "### Allowed parameters\n <table>\n "
424
424
if format == RST_FORMAT :
425
- ap = "Allowed parameters"
426
- doc_string += "%s\n %s \n \n " % (ap , "=" * len ( ap ) )
425
+ ap = "** Allowed parameters** "
426
+ doc_string += "%s\n \n " % (ap )
427
427
table_info = []
428
428
if format == DICT_FORMAT :
429
429
doc_dict [name ]["allowed_parameters" ] = {}
@@ -481,8 +481,8 @@ def insert_links(text, format=MARKDOWN_FORMAT):
481
481
if format == MARKDOWN_FORMAT :
482
482
doc_string += "#### Allowed children\n \n <table>\n "
483
483
if format == RST_FORMAT :
484
- ap = "Allowed children"
485
- doc_string += "%s\n %s \n \n " % (ap , "=" * len ( ap ) )
484
+ ap = "** Allowed children** "
485
+ doc_string += "%s\n \n " % (ap )
486
486
table_info = []
487
487
if format == DICT_FORMAT :
488
488
doc_dict [name ]["allowed_children" ] = {}
You can’t perform that action at this time.
0 commit comments