diff --git a/api/source_en/api/python/mindspore_hub/mindspore_hub.rst b/api/source_en/api/python/mindspore_hub/mindspore_hub.rst new file mode 100644 index 0000000000000000000000000000000000000000..34b6c1ceb89517e9799d566d0bb64dc497741b24 --- /dev/null +++ b/api/source_en/api/python/mindspore_hub/mindspore_hub.rst @@ -0,0 +1,6 @@ +mindspore_hub +============= + +.. automodule:: mindspore_hub + :members: + diff --git a/api/source_en/conf.py b/api/source_en/conf.py index dc2ef84ebec642d4ab9fdfa59e7bd255494eed5b..fa5d530ee7cd401ae0e74fb21ad53d44d6a11a95 100644 --- a/api/source_en/conf.py +++ b/api/source_en/conf.py @@ -18,6 +18,8 @@ import os import mindspore # If you don't want to generate MindArmour APIs, comment this line. import mindarmour +# If you don't want to generate MindSpore_Hub APIs, comment this line. +import mindspore_hub # -- Project information ----------------------------------------------------- diff --git a/api/source_en/index.rst b/api/source_en/index.rst index 36b995c3e84db9f0cbd7b4625d0c5c387ca4e468..36649d3f0f9936f62430b9a10304bf5dafd781a0 100644 --- a/api/source_en/index.rst +++ b/api/source_en/index.rst @@ -45,3 +45,9 @@ MindSpore API api/python/mindarmour/mindarmour.defenses api/python/mindarmour/mindarmour.fuzzing api/python/mindarmour/mindarmour.diff_privacy + +.. toctree:: + :maxdepth: 1 + :caption: MindSpore Hub Python API + + api/python/mindspore_hub/mindspore_hub diff --git a/api/source_zh_cn/api/python/mindspore_hub/mindspore_hub.rst b/api/source_zh_cn/api/python/mindspore_hub/mindspore_hub.rst new file mode 100644 index 0000000000000000000000000000000000000000..34b6c1ceb89517e9799d566d0bb64dc497741b24 --- /dev/null +++ b/api/source_zh_cn/api/python/mindspore_hub/mindspore_hub.rst @@ -0,0 +1,6 @@ +mindspore_hub +============= + +.. automodule:: mindspore_hub + :members: + diff --git a/api/source_zh_cn/conf.py b/api/source_zh_cn/conf.py index 474f58597111c2265fa45830835a325c6418b28e..2e2c89c42b33b7410e1fffcf68104ebfdd93c068 100644 --- a/api/source_zh_cn/conf.py +++ b/api/source_zh_cn/conf.py @@ -18,6 +18,8 @@ import os import mindspore # If you don't want to generate MindArmour APIs, comment this line. import mindarmour +# If you don't want to generate MindSpore_Hub APIs, comment this line. +import mindspore_hub # -- Project information ----------------------------------------------------- diff --git a/api/source_zh_cn/index.rst b/api/source_zh_cn/index.rst index d5014c4f390c8b3a1484ce59509ffb746e323547..e6672f4a661b12870a28e5d8706f1321a4438298 100644 --- a/api/source_zh_cn/index.rst +++ b/api/source_zh_cn/index.rst @@ -52,3 +52,8 @@ MindSpore API api/python/mindarmour/mindarmour.fuzzing api/python/mindarmour/mindarmour.diff_privacy +.. toctree:: + :maxdepth: 1 + :caption: MindSpore Hub Python API + + api/python/mindspore_hub/mindspore_hub