py2docfx 0.1.17.dev2143708__py3-none-any.whl → 0.1.18.dev2146624__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/build_finished.py +3 -3
- {py2docfx-0.1.17.dev2143708.dist-info → py2docfx-0.1.18.dev2146624.dist-info}/METADATA +1 -1
- {py2docfx-0.1.17.dev2143708.dist-info → py2docfx-0.1.18.dev2146624.dist-info}/RECORD +5 -5
- {py2docfx-0.1.17.dev2143708.dist-info → py2docfx-0.1.18.dev2146624.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.17.dev2143708.dist-info → py2docfx-0.1.18.dev2146624.dist-info}/top_level.txt +0 -0
@@ -26,7 +26,7 @@ scientific_notation_regex = re.compile(r'^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)$
|
|
26
26
|
|
27
27
|
def string_representer(dumper, data):
|
28
28
|
return dumper.represent_scalar(u"tag:yaml.org,2002:str", data,
|
29
|
-
|
29
|
+
style="'" if (scientific_notation_regex.match(data)) else None)
|
30
30
|
yml.add_representer(str, string_representer)
|
31
31
|
|
32
32
|
def insert_node_to_toc_tree_return_is_root_package(toc_yaml, uid, project_name, toc_node_map):
|
@@ -41,7 +41,7 @@ def insert_node_to_toc_tree_return_is_root_package(toc_yaml, uid, project_name,
|
|
41
41
|
if found_node:
|
42
42
|
# If ancestor already in current TOC, insert to its items
|
43
43
|
name = uid.split('.')[-1] if '.' in uid and project_name != uid else uid
|
44
|
-
cur_node = {'name': name, 'uid': uid}
|
44
|
+
cur_node = {'name': name, 'uid': uid, 'no-loc': [name]}
|
45
45
|
if 'uid' in found_node:
|
46
46
|
# Only leaf nodes should have uid
|
47
47
|
found_node.pop('uid', 'No uid found')
|
@@ -52,7 +52,7 @@ def insert_node_to_toc_tree_return_is_root_package(toc_yaml, uid, project_name,
|
|
52
52
|
# uid is representing a package in TOC as root node
|
53
53
|
if cur_node is None:
|
54
54
|
# if uid doesn't contain '.', the name needn't to simplify
|
55
|
-
cur_node = {'name': uid, 'uid': uid}
|
55
|
+
cur_node = {'name': uid, 'uid': uid, 'no-loc': [uid]}
|
56
56
|
toc_yaml.append(cur_node)
|
57
57
|
is_root = True
|
58
58
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: py2docfx
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.18.dev2146624
|
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
|
@@ -57,7 +57,7 @@ py2docfx/convert_prepare/tests/data/subpackage/azure-mgmt-containerservice/azure
|
|
57
57
|
py2docfx/convert_prepare/tests/data/subpackage/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
58
58
|
py2docfx/convert_prepare/tests/data/subpackage/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/models.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
59
59
|
py2docfx/docfx_yaml/__init__.py,sha256=KCEizAXv-SXtrYhvFfLHdBWDhz51AA9uagaeTL-Itpo,100
|
60
|
-
py2docfx/docfx_yaml/build_finished.py,sha256=
|
60
|
+
py2docfx/docfx_yaml/build_finished.py,sha256=JfkhRVCMntJP8t6W2qxqg-001o-x3DKKlc3VasaB1-A,13862
|
61
61
|
py2docfx/docfx_yaml/build_init.py,sha256=lAw-fnBVQbySfZ7Sut_NpFQUjnqLOmnGQrTBBH2RXcg,1860
|
62
62
|
py2docfx/docfx_yaml/common.py,sha256=UN1MUmjUoN1QSFDR1Cm_bfRuHr6FQiOe5VQV6s8xzjc,6841
|
63
63
|
py2docfx/docfx_yaml/convert_class.py,sha256=YaPjxqNy0p6AXi3H3T0l1MZeYRZ3dWkqusO4E0KT9QU,2161
|
@@ -3913,7 +3913,7 @@ py2docfx/venv/venv1/Lib/site-packages/wheel/_commands/convert.py,sha256=0wSJMU0m
|
|
3913
3913
|
py2docfx/venv/venv1/Lib/site-packages/wheel/_commands/pack.py,sha256=o3iwjfRHl7N9ul-M2kHbewLJZnqBLAWf0tzUCwoiTMw,3078
|
3914
3914
|
py2docfx/venv/venv1/Lib/site-packages/wheel/_commands/tags.py,sha256=Rv2ySVb8-qX3osKp3uJgxcIMXkjt43XUD0-zvC6KvnY,4775
|
3915
3915
|
py2docfx/venv/venv1/Lib/site-packages/wheel/_commands/unpack.py,sha256=Y_J7ynxPSoFFTT7H0fMgbBlVErwyDGcObgme5MBuz58,1021
|
3916
|
-
py2docfx-0.1.
|
3917
|
-
py2docfx-0.1.
|
3918
|
-
py2docfx-0.1.
|
3919
|
-
py2docfx-0.1.
|
3916
|
+
py2docfx-0.1.18.dev2146624.dist-info/METADATA,sha256=BkWCFSo-0liQJf_3dv6VS55zhtB2eXdEiP-NEUAQ1IQ,548
|
3917
|
+
py2docfx-0.1.18.dev2146624.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
3918
|
+
py2docfx-0.1.18.dev2146624.dist-info/top_level.txt,sha256=5dH2uP81dczt_qQJ38wiZ-gzoVWasfiJALWRSjdbnYU,9
|
3919
|
+
py2docfx-0.1.18.dev2146624.dist-info/RECORD,,
|
File without changes
|
File without changes
|