py2docfx 0.1.9.dev1818320__py3-none-any.whl → 0.1.9.dev1819899__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/__main__.py +7 -7
- {py2docfx-0.1.9.dev1818320.dist-info → py2docfx-0.1.9.dev1819899.dist-info}/METADATA +1 -1
- {py2docfx-0.1.9.dev1818320.dist-info → py2docfx-0.1.9.dev1819899.dist-info}/RECORD +5 -5
- {py2docfx-0.1.9.dev1818320.dist-info → py2docfx-0.1.9.dev1819899.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.9.dev1818320.dist-info → py2docfx-0.1.9.dev1819899.dist-info}/top_level.txt +0 -0
py2docfx/__main__.py
CHANGED
@@ -223,7 +223,7 @@ def install_required_packages(
|
|
223
223
|
get_source(package, idx, vststoken=ado_token, githubtoken=github_token)
|
224
224
|
install_package(package)
|
225
225
|
end_time = time.time()
|
226
|
-
print(f"<install_required_packages>{start_time
|
226
|
+
print(f"<install_required_packages>{end_time-start_time}<install_required_packages/>")
|
227
227
|
|
228
228
|
def donwload_package_generate_documents(
|
229
229
|
package_info_list: list[PackageInfo],
|
@@ -236,22 +236,22 @@ def donwload_package_generate_documents(
|
|
236
236
|
start_time = time.time()
|
237
237
|
get_source(package, package_number, vststoken=ado_token, githubtoken=github_token)
|
238
238
|
end_time = time.time()
|
239
|
-
print(f"<get_source>{package.name},{start_time
|
239
|
+
print(f"<get_source>{package.name},{end_time-start_time}<get_source/>")
|
240
240
|
|
241
241
|
start_time = time.time()
|
242
242
|
install_package(package)
|
243
243
|
end_time = time.time()
|
244
|
-
print(f"<install_package>{package.name},{start_time
|
244
|
+
print(f"<install_package>{package.name},{end_time-start_time}<install_package/>")
|
245
245
|
|
246
246
|
start_time = time.time()
|
247
247
|
generate_document(package, output_root)
|
248
248
|
end_time = time.time()
|
249
|
-
print(f"<generate_document>{package.name},{start_time
|
249
|
+
print(f"<generate_document>{package.name},{end_time-start_time}<generate_document/>")
|
250
250
|
|
251
251
|
start_time = time.time()
|
252
252
|
merge_toc(YAML_OUTPUT_ROOT, package.path.yaml_output_folder)
|
253
253
|
end_time = time.time()
|
254
|
-
print(f"<merge_toc>{package.name},{start_time
|
254
|
+
print(f"<merge_toc>{package.name},{end_time-start_time}<merge_toc/>")
|
255
255
|
|
256
256
|
if output_doc_folder:
|
257
257
|
package.path.move_document_to_target(os.path.join(output_doc_folder, package.name))
|
@@ -288,14 +288,14 @@ def main(argv) -> int:
|
|
288
288
|
start_time = time.time()
|
289
289
|
install_required_packages(required_package_list, github_token, ado_token)
|
290
290
|
end_time = time.time()
|
291
|
-
print(f"<install_required_packages>{start_time
|
291
|
+
print(f"<install_required_packages>{end_time-start_time}<install_required_packages/>")
|
292
292
|
|
293
293
|
start_time = time.time()
|
294
294
|
donwload_package_generate_documents(
|
295
295
|
package_info_list, output_root, output_doc_folder,
|
296
296
|
github_token, ado_token, len(list(required_package_list)))
|
297
297
|
end_time = time.time()
|
298
|
-
print(f"<donwload_package_generate_documents>{start_time
|
298
|
+
print(f"<donwload_package_generate_documents>{end_time-start_time}<donwload_package_generate_documents/>")
|
299
299
|
return 0
|
300
300
|
|
301
301
|
if __name__ == "__main__":
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: py2docfx
|
3
|
-
Version: 0.1.9.
|
3
|
+
Version: 0.1.9.dev1819899
|
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
|
@@ -1,5 +1,5 @@
|
|
1
1
|
py2docfx/__init__.py,sha256=kPRhPGPC1JknDotkksG428c1iIgfFr_4_7Jm-llrowY,72
|
2
|
-
py2docfx/__main__.py,sha256=
|
2
|
+
py2docfx/__main__.py,sha256=GGbOyvqJm1encGUpH8xSSuo46_kz0P_AyJcvc_7gjBo,11881
|
3
3
|
py2docfx/convert_prepare/__init__.py,sha256=XxtxrP0kmW3ZBHIAoxsPDEHzcgeC0WSnole8Lk6CjKs,11
|
4
4
|
py2docfx/convert_prepare/environment.py,sha256=AwS4c4OSwVdxlExBLVo310HrVhFMhWQ2Wh9RJPJKH1c,894
|
5
5
|
py2docfx/convert_prepare/generate_conf.py,sha256=wqs6iyElzJarH-20_qEL9zvZvt5xfBMsGXSXPSZy6wg,2295
|
@@ -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.9.
|
127
|
-
py2docfx-0.1.9.
|
128
|
-
py2docfx-0.1.9.
|
129
|
-
py2docfx-0.1.9.
|
126
|
+
py2docfx-0.1.9.dev1819899.dist-info/METADATA,sha256=xegSgi5VxHh1X3qy-wA2VAvThEtwbDdFza1cd6INmBA,600
|
127
|
+
py2docfx-0.1.9.dev1819899.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
128
|
+
py2docfx-0.1.9.dev1819899.dist-info/top_level.txt,sha256=5dH2uP81dczt_qQJ38wiZ-gzoVWasfiJALWRSjdbnYU,9
|
129
|
+
py2docfx-0.1.9.dev1819899.dist-info/RECORD,,
|
File without changes
|
File without changes
|