You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: examples/README.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ with open("document.specification.yaml", "w") as d:
34
34
35
35
### 3) Create an instance of a Document
36
36
37
-
The actual instance of a document which is built (in [document.py](document.py)) can be saved in [YAML](document.yaml) or [JSON](document.json) format:
37
+
The actual instance of a document which is built (in [document.py](document.py)) can be saved in [YAML](document.yaml) or [JSON](document.json) format or [BSON](document.bson) format:
Copy file name to clipboardexpand all lines: examples/document.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ A model for documents.
38
38
</table>
39
39
40
40
## Section
41
-
A model of a section of the <ahref="#document">Document</a>. Will contain one <ahref="#paragraph">Paragraph</a> or more.
41
+
A model of a section of the <ahref="#document">Document</a>. Will contain one <ahref="#paragraph">Paragraph</a> or more, i.e the <ahref="#paragraph">Paragraph</a>(s) in the section, probably related to the <b>title</b> of the `Document <#document>`_.
Copy file name to clipboardexpand all lines: examples/document.py
+2-2
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ class Paragraph(Base):
12
12
A model of a paragraph.
13
13
14
14
Args:
15
-
contents: Paragraph contents, which make up the _Section_s.
15
+
contents: Paragraph contents, which make up the :class:`Section`s.
16
16
"""
17
17
18
18
contents: str=field(validator=instance_of(str))
@@ -22,7 +22,7 @@ class Paragraph(Base):
22
22
classSection(Base):
23
23
"""
24
24
A model of a section of the :class:`Document`.
25
-
Will contain one :class:`Paragraph` or more.
25
+
Will contain one :class:`Paragraph` or more, i.e the :class:`Paragraph`(s) in the section, probably related to the :code:`title` of the `Document <#document>`_.
A model of a section of the <a href="#document">Document</a>. Will contain one <a href="#paragraph">Paragraph</a> or more.
27
+
A model of a section of the `Document <#document>`__. Will contain one `Paragraph <#paragraph>`__ or more, i.e the `Paragraph(s) <#paragraph>`__ in the section, probably related to the **title** of the `Document <#document>`_.
Copy file name to clipboardexpand all lines: examples/document.specification.json
+2-2
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@
23
23
}
24
24
},
25
25
"Section": {
26
-
"definition": "A model of a section of the :class:`Document`. Will contain one :class:`Paragraph` or more.",
26
+
"definition": "A model of a section of the :class:`Document`. Will contain one :class:`Paragraph` or more, i.e the :class:`Paragraph`(s) in the section, probably related to the :code:`title` of the `Document <#document>`_.",
27
27
"allowed_parameters": {
28
28
"id": {
29
29
"type": "str",
@@ -42,7 +42,7 @@
42
42
"allowed_parameters": {
43
43
"contents": {
44
44
"type": "str",
45
-
"description": "Paragraph contents, which make up the _Section_s."
45
+
"description": "Paragraph contents, which make up the :class:`Section`s."
0 commit comments