py2docfx 0.1.4.dev1686623__py3-none-any.whl → 0.1.4.dev1687487__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- py2docfx/docfx_yaml/writer.py +3 -1
- {py2docfx-0.1.4.dev1686623.dist-info → py2docfx-0.1.4.dev1687487.dist-info}/METADATA +1 -1
- {py2docfx-0.1.4.dev1686623.dist-info → py2docfx-0.1.4.dev1687487.dist-info}/RECORD +5 -5
- {py2docfx-0.1.4.dev1686623.dist-info → py2docfx-0.1.4.dev1687487.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.4.dev1686623.dist-info → py2docfx-0.1.4.dev1687487.dist-info}/top_level.txt +0 -0
py2docfx/docfx_yaml/writer.py
CHANGED
@@ -1045,6 +1045,8 @@ class MarkdownTranslator(nodes.NodeVisitor):
|
|
1045
1045
|
|
1046
1046
|
def visit_Text(self, node):
|
1047
1047
|
text = self.replace_special_unicode(node.astext())
|
1048
|
+
if write_utils.is_inline_text_children_of_versionmodified(node.parent):
|
1049
|
+
text.strip(' ')
|
1048
1050
|
self.add_text(text)
|
1049
1051
|
|
1050
1052
|
def depart_Text(self, node):
|
@@ -1060,7 +1062,7 @@ class MarkdownTranslator(nodes.NodeVisitor):
|
|
1060
1062
|
if 'xref' in node['classes'] or 'term' in node['classes']:
|
1061
1063
|
self.add_text('*')
|
1062
1064
|
elif write_utils.is_inline_text_children_of_versionmodified(node):
|
1063
|
-
self.add_text('
|
1065
|
+
self.add_text('*')
|
1064
1066
|
|
1065
1067
|
def depart_inline(self, node):
|
1066
1068
|
if 'xref' in node['classes'] or 'term' in node['classes']:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: py2docfx
|
3
|
-
Version: 0.1.4.
|
3
|
+
Version: 0.1.4.dev1687487
|
4
4
|
Summary: A package built based on Sphinx which download source code package and generate yaml files supported by docfx.
|
5
5
|
Author: Microsoft Corporation
|
6
6
|
License: MIT License
|
@@ -70,7 +70,7 @@ py2docfx/docfx_yaml/settings.py,sha256=JQZNwFebczl-zn8Yk2taAGANRi-Hw8hywtDWxqXXF
|
|
70
70
|
py2docfx/docfx_yaml/translator.py,sha256=li20Sdu-j1V7oK1iaxWw9mo0KSJOlh4FLSnwmu6UxBQ,25912
|
71
71
|
py2docfx/docfx_yaml/utils.py,sha256=m5jC_qP2NKqzUx_z0zgZ-HAmxQdNTpJYKkL_F9vGeII,1555
|
72
72
|
py2docfx/docfx_yaml/write_utils.py,sha256=q5qoYWw6GVDV8a3E8IxcSLWnN9sAer42VFRgadHBkgk,305
|
73
|
-
py2docfx/docfx_yaml/writer.py,sha256=
|
73
|
+
py2docfx/docfx_yaml/writer.py,sha256=6QwFd1Pa30V_OFupacIVIacWtPlrTguPt7qz9eGzKRI,35029
|
74
74
|
py2docfx/docfx_yaml/yaml_builder.py,sha256=qSxXVS4iFCc1ZdL5QzLrv8hy3LHIQCrhO4WcTp01vag,2575
|
75
75
|
py2docfx/docfx_yaml/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
76
76
|
py2docfx/docfx_yaml/tests/conftest.py,sha256=CykkZxaDZ-3a1EIQdGBieSmHL9FdyTE2xTJZe9QgKcg,1214
|
@@ -123,7 +123,7 @@ py2docfx/docfx_yaml/tests/roots/test-writer-uri/conf.py,sha256=avcbnIOV2mlGQwhMQ
|
|
123
123
|
py2docfx/docfx_yaml/tests/roots/test-writer-versions/code_with_version_directives.py,sha256=UuizbrJPaG_PcaH18BvbI9KQevOaLd4SslpnzMSqcrE,1030
|
124
124
|
py2docfx/docfx_yaml/tests/roots/test-writer-versions/conf.py,sha256=SCEKrm9VigArfdgf-GAieJD-40d0ctT6urmGIjFOZLM,404
|
125
125
|
py2docfx/docfx_yaml/tests/utils/test_utils.py,sha256=d0OYSUQ6NyoZx5mlLdNGGNhiNmmQhjVT4hQ6jY3VE_M,3383
|
126
|
-
py2docfx-0.1.4.
|
127
|
-
py2docfx-0.1.4.
|
128
|
-
py2docfx-0.1.4.
|
129
|
-
py2docfx-0.1.4.
|
126
|
+
py2docfx-0.1.4.dev1687487.dist-info/METADATA,sha256=lyJRw3tu_4_VgOO5_jgLtdZZiSMxqlSdA4FzsqZ-x4A,601
|
127
|
+
py2docfx-0.1.4.dev1687487.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
128
|
+
py2docfx-0.1.4.dev1687487.dist-info/top_level.txt,sha256=5dH2uP81dczt_qQJ38wiZ-gzoVWasfiJALWRSjdbnYU,9
|
129
|
+
py2docfx-0.1.4.dev1687487.dist-info/RECORD,,
|
File without changes
|
File without changes
|