py2docfx 0.1.4.dev1687487__py3-none-any.whl → 0.1.4.dev1689521__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/tests/test_writer_versions.py +3 -3
- py2docfx/docfx_yaml/writer.py +2 -2
- {py2docfx-0.1.4.dev1687487.dist-info → py2docfx-0.1.4.dev1689521.dist-info}/METADATA +1 -1
- {py2docfx-0.1.4.dev1687487.dist-info → py2docfx-0.1.4.dev1689521.dist-info}/RECORD +6 -6
- {py2docfx-0.1.4.dev1687487.dist-info → py2docfx-0.1.4.dev1689521.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.4.dev1687487.dist-info → py2docfx-0.1.4.dev1689521.dist-info}/top_level.txt +0 -0
@@ -24,7 +24,7 @@ def test_version_directives_should_be_italic(app):
|
|
24
24
|
|
25
25
|
helper_assert_summary_contains_italic(
|
26
26
|
app.env.docfx_info_field_data['code_with_version_directives.testClassA']['summary'],
|
27
|
-
'New in version 0.0.1:
|
27
|
+
'New in version 0.0.1:')
|
28
28
|
helper_assert_summary_contains_italic(
|
29
29
|
app.env.docfx_info_field_data['code_with_version_directives.testClassA']['variables'][0]['description'],
|
30
30
|
'New in version 0.0.2.')
|
@@ -33,10 +33,10 @@ def test_version_directives_should_be_italic(app):
|
|
33
33
|
'Changed in version 0.0.1.')
|
34
34
|
helper_assert_summary_contains_italic(
|
35
35
|
app.env.docfx_info_field_data['code_with_version_directives.testClassA.method']['summary'],
|
36
|
-
'New in version 0.1.0:
|
36
|
+
'New in version 0.1.0:')
|
37
37
|
helper_assert_summary_contains_italic(
|
38
38
|
app.env.docfx_info_field_data['code_with_version_directives.testClassA.method']['summary'],
|
39
|
-
'New in version 0.2.0:
|
39
|
+
'New in version 0.2.0:')
|
40
40
|
helper_assert_summary_contains_italic(
|
41
41
|
app.env.docfx_info_field_data['code_with_version_directives.testClassA.method']['summary'],
|
42
42
|
'Deprecated since version 1.1.0.')
|
py2docfx/docfx_yaml/writer.py
CHANGED
@@ -1046,7 +1046,7 @@ class MarkdownTranslator(nodes.NodeVisitor):
|
|
1046
1046
|
def visit_Text(self, node):
|
1047
1047
|
text = self.replace_special_unicode(node.astext())
|
1048
1048
|
if write_utils.is_inline_text_children_of_versionmodified(node.parent):
|
1049
|
-
text.strip(' ')
|
1049
|
+
text = text.strip(' ')
|
1050
1050
|
self.add_text(text)
|
1051
1051
|
|
1052
1052
|
def depart_Text(self, node):
|
@@ -1068,7 +1068,7 @@ class MarkdownTranslator(nodes.NodeVisitor):
|
|
1068
1068
|
if 'xref' in node['classes'] or 'term' in node['classes']:
|
1069
1069
|
self.add_text('*')
|
1070
1070
|
elif write_utils.is_inline_text_children_of_versionmodified(node):
|
1071
|
-
self.add_text('*')
|
1071
|
+
self.add_text('* ')
|
1072
1072
|
|
1073
1073
|
def visit_container(self, node):
|
1074
1074
|
pass
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: py2docfx
|
3
|
-
Version: 0.1.4.
|
3
|
+
Version: 0.1.4.dev1689521
|
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=BQ02TshJM7O53_n07i_DJ-WtI7PYNyBJ2OLzivq4iiA,35037
|
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
|
@@ -87,7 +87,7 @@ py2docfx/docfx_yaml/tests/test_translator_rst_returns.py,sha256=BL3nOMMTPzNPJk-P
|
|
87
87
|
py2docfx/docfx_yaml/tests/test_translator_signatures.py,sha256=DM51EOb4UXLkrO1-4cQQQvvX210goAsnxKJH-4A2U2Q,1537
|
88
88
|
py2docfx/docfx_yaml/tests/test_writer_table.py,sha256=UnGYXQ-QVxin_e-HGZAHdg1LSFV0qc480ZNsqPN9OYc,1444
|
89
89
|
py2docfx/docfx_yaml/tests/test_writer_uri.py,sha256=L9eFHZndD6H7nkznJ9Bw0v8xh9IegDlhhGFHBz9EHmM,1745
|
90
|
-
py2docfx/docfx_yaml/tests/test_writer_versions.py,sha256=
|
90
|
+
py2docfx/docfx_yaml/tests/test_writer_versions.py,sha256=0-0VTMhbZ4ml9ryu1gYnu0mM2yIEKsBuFYb2F6grzTE,2995
|
91
91
|
py2docfx/docfx_yaml/tests/roots/test-build-finished/code_with_signature_and_docstring.py,sha256=qvcKWL68C2aDTP8JT022nMV4EdZ50vhxVshMrHVO2sY,449
|
92
92
|
py2docfx/docfx_yaml/tests/roots/test-build-finished/conf.py,sha256=L8vIFmO546PCQks50Gif_uTBwC3cppohXrQaogfyRF8,410
|
93
93
|
py2docfx/docfx_yaml/tests/roots/test-method-arguments/code_with_all_arg_types.py,sha256=jK4M4ejeVWedhHJ_s9L9wEEqJmk0wOF8-yuoIaA6fZU,322
|
@@ -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.dev1689521.dist-info/METADATA,sha256=GtPTIBZMrtKxSLA6h307AdK8QAu0E-W5ADcgO4AFEl8,601
|
127
|
+
py2docfx-0.1.4.dev1689521.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
128
|
+
py2docfx-0.1.4.dev1689521.dist-info/top_level.txt,sha256=5dH2uP81dczt_qQJ38wiZ-gzoVWasfiJALWRSjdbnYU,9
|
129
|
+
py2docfx-0.1.4.dev1689521.dist-info/RECORD,,
|
File without changes
|
File without changes
|