Skip to content

Commit 7df50e8

Browse files
committed
To v0.2.6
Tweak rst to remove space
1 parent 3b04f80 commit 7df50e8

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

examples/document.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ Allowed child Data Type Description
2424
=======
2525
Section
2626
=======
27-
A model of a section of the `Document <#document>`_ . Will contain one `Paragraph <#paragraph>`_ or more
28-
27+
A model of a section of the `Document <#document>`_. Will contain one `Paragraph <#paragraph>`_ or more.
2928

3029
**Allowed parameters**
3130

src/modelspec/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.2.5"
1+
__version__ = "0.2.6"
22

33
from .base_types import Base, define, has, field, fields, optional, instance_of, in_
44

src/modelspec/base_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ def insert_links(text, format=MARKDOWN_FORMAT):
612612
if format == MARKDOWN_FORMAT:
613613
text2 = f'{pre}<a href="#{ref.lower()}">{ref}</a>{post}'
614614
elif format == RST_FORMAT:
615-
text2 = f"{pre}`{ref} <#{ref.lower()}>`_ {post}"
615+
text2 = f"{pre}`{ref} <#{ref.lower()}>`_{post}"
616616

617617
# print(" > Converted to: %s" % text2)
618618
text = text2

0 commit comments

Comments
 (0)