py2docfx 0.1.11.dev1994975__py3-none-any.whl → 0.1.11.dev1996055__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 +4 -4
- py2docfx/convert_prepare/tests/test_sphinx_caller.py +1 -1
- {py2docfx-0.1.11.dev1994975.dist-info → py2docfx-0.1.11.dev1996055.dist-info}/METADATA +1 -1
- {py2docfx-0.1.11.dev1994975.dist-info → py2docfx-0.1.11.dev1996055.dist-info}/RECORD +6 -6
- {py2docfx-0.1.11.dev1994975.dist-info → py2docfx-0.1.11.dev1996055.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.11.dev1994975.dist-info → py2docfx-0.1.11.dev1996055.dist-info}/top_level.txt +0 -0
py2docfx/__main__.py
CHANGED
@@ -93,7 +93,7 @@ def fishish_up():
|
|
93
93
|
print(f"Warning count: {warning_count}, Error count: {error_count}")
|
94
94
|
logging.shutdown()
|
95
95
|
|
96
|
-
def main(argv) -> int:
|
96
|
+
async def main(argv) -> int:
|
97
97
|
# TODO: may need to purge pip cache
|
98
98
|
(package_info_list,
|
99
99
|
required_package_list,
|
@@ -120,9 +120,9 @@ def main(argv) -> int:
|
|
120
120
|
output_doc_folder = prepare_out_dir(output_root)
|
121
121
|
|
122
122
|
try:
|
123
|
-
|
123
|
+
await donwload_package_generate_documents(
|
124
124
|
package_info_list, output_root, output_doc_folder,
|
125
|
-
github_token, ado_token, required_package_list)
|
125
|
+
github_token, ado_token, required_package_list)
|
126
126
|
except Exception as e:
|
127
127
|
msg = f"An error occurred: {e}"
|
128
128
|
py2docfx_logger.error(msg)
|
@@ -133,4 +133,4 @@ def main(argv) -> int:
|
|
133
133
|
return 0
|
134
134
|
|
135
135
|
if __name__ == "__main__":
|
136
|
-
sys.exit(main(sys.argv[1:]))
|
136
|
+
sys.exit(asyncio.run(main(sys.argv[1:])))
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: py2docfx
|
3
|
-
Version: 0.1.11.
|
3
|
+
Version: 0.1.11.dev1996055
|
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=teNGzbkw5WY-aPo55ofJ4h9iugIgmbPu9UaJs2bxXiw,5887
|
3
3
|
py2docfx/convert_prepare/__init__.py,sha256=XxtxrP0kmW3ZBHIAoxsPDEHzcgeC0WSnole8Lk6CjKs,11
|
4
4
|
py2docfx/convert_prepare/arg_parser.py,sha256=Wa1iK8a0Gb3QqaS4X7nUPGvh-7mWhuBS9IVbmnjC770,7606
|
5
5
|
py2docfx/convert_prepare/constants.py,sha256=RC5DqNkqWvx4hb91FrajZ1R9dBFLxcPyoEJ43jdm36E,102
|
@@ -34,7 +34,7 @@ py2docfx/convert_prepare/tests/test_package_info.py,sha256=3B-IzmUjETVO-5s3g3Lmh
|
|
34
34
|
py2docfx/convert_prepare/tests/test_params.py,sha256=itwmVdBMtU1qIXAGaIoaDfvTOYyAL2B_WLsaBV9KUZY,2232
|
35
35
|
py2docfx/convert_prepare/tests/test_post_process_merge_toc.py,sha256=YKOcn4_lf4syGsAvJ9BqpdUUc3SLfK4TiOX1lpXJT_Y,885
|
36
36
|
py2docfx/convert_prepare/tests/test_source.py,sha256=LNFZtvjz6QhVLOxatjWokYCCcoSm0bhTikMF9KoTPIE,2025
|
37
|
-
py2docfx/convert_prepare/tests/test_sphinx_caller.py,sha256=
|
37
|
+
py2docfx/convert_prepare/tests/test_sphinx_caller.py,sha256=HB-roXpS1c5kr0KP69B2RzCAQ6WyxNlks0w3VTv2cIg,2786
|
38
38
|
py2docfx/convert_prepare/tests/test_subpackage.py,sha256=famt8LqwS8hCujtzvRLE5Ih8pa7t45y0d1EBk3UdYns,4984
|
39
39
|
py2docfx/convert_prepare/tests/data/generate_document/azure-dummy-sourcecode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
40
40
|
py2docfx/convert_prepare/tests/data/generate_document/azure-dummy-sourcecode/azure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -4193,7 +4193,7 @@ py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtas
|
|
4193
4193
|
py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_localsystem.py,sha256=08ojAS48W6RLsUbRD45j0SJhg_Y2NFHZT6qjT4Vrig0,75
|
4194
4194
|
py2docfx/venv/venv1/Scripts/pywin32_postinstall.py,sha256=u95n7QQUxpCjrZistYE-3gN451zXzopuJna8cXRQ4Jw,28115
|
4195
4195
|
py2docfx/venv/venv1/Scripts/pywin32_testall.py,sha256=-6yvZmd2lPQc4e8i6PgLsr_totF6mScvoq0Jqr0V2fM,3844
|
4196
|
-
py2docfx-0.1.11.
|
4197
|
-
py2docfx-0.1.11.
|
4198
|
-
py2docfx-0.1.11.
|
4199
|
-
py2docfx-0.1.11.
|
4196
|
+
py2docfx-0.1.11.dev1996055.dist-info/METADATA,sha256=Q6zUPm159VoycloFv7fxB721Dbt3nqo68hMm58xFBoI,601
|
4197
|
+
py2docfx-0.1.11.dev1996055.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4198
|
+
py2docfx-0.1.11.dev1996055.dist-info/top_level.txt,sha256=5dH2uP81dczt_qQJ38wiZ-gzoVWasfiJALWRSjdbnYU,9
|
4199
|
+
py2docfx-0.1.11.dev1996055.dist-info/RECORD,,
|
File without changes
|
File without changes
|