Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
TingWang ef60680385 | 3 months ago | |
---|---|---|
.gitee | 1 year ago | |
.github | 1 year ago | |
activity | 1 year ago | |
docs | 3 months ago | |
install | 4 months ago | |
resource | 5 months ago | |
tools | 8 months ago | |
tutorials | 3 months ago | |
.gitignore | 1 year ago | |
CONTRIBUTING_DOC.md | 1 year ago | |
CONTRIBUTING_DOC_CN.md | 1 year ago | |
LICENSE | 4 years ago | |
LICENSE-CC-BY-4.0 | 4 years ago | |
NOTICE | 4 years ago | |
README.md | 1 year ago | |
README_CN.md | 1 year ago |
This project provides the source files of the installation guide, tutorials, and other documents, as well as API configurations on the MindSpore official website https://www.mindspore.cn.
You are welcome to contribute documents. If you want to contribute documents, read the CONTRIBUTING_DOC.md. Please comply with the document writing specifications, and submit documents according to the process rules. After the documents are approved, the changes will be displayed in the document project and on the official website.
If you have any comments or suggestions on the documents, submit them in Issues.
docs
├───activity // Record the activity experience.
|
├───docs // Technical documents about architecture, network list, operator list and so on. Configuration files for API generation.
| |
| ├───federated // MindSpore Federated (API project, related documents and FAQ)
| |
| ├───hub // MindSpore Hub (API project and FAQ)
| |
| ├───lite // MindSpore Lite (API project, related documents and FAQ)
| |
| ├───mindarmour // MindArmour (API project, related documents and FAQ)
| |
| ├───mindinsight // MindInsight (related documents and FAQ)
| |
| ├───mindquantum // MindQuantum (API project and related documents)
| |
| ├───mindspore // MindSpore (API project, FAQ, migration guide, instructions)
| |
| ├───notebook // Experiential documentation
| |
| ├───probability // MindSpore Probability (API project and related documents)
| |
| ├───sample_code // Document corresponding sample code
| |
| └───serving // MindSpore Serving (API project, related documents and FAQ)
|
│───install // Installation instruction
|
│───resource // Resource related documents
|
│───tools // Automation tool
|
│───tutorials // MindSpore tutorial related documents
|
└───README_CN.md // Docs repository description
MindSpore tutorials and API documentation can be generated by the Sphinx tool. Before building API documentation for MindSpore, MindSpore Hub, MindArmour or MindQuantum, the corresponding module must be completed installation. The following takes the MindSpore Python API document as an example to introduce the specific steps. The installation of MindSpore must be completed before the operation.
Use pip
to install MindSpore module, which API documentation needs to built base on the installation, refe to install.
pip install mindspore-1.5.0-cp37-cp37m-linux_x86_64.whl
Download code of the MindSpore Docs repository.
git clone https://gitee.com/mindspore/docs.git -b r1.8
Go to the api_python directory and install the dependency items in the requirements.txt file.
cd docs/mindspore
pip install -r requirements.txt
Run the following command in the api_python directory to create the build_en/html
directory that stores the generated document web page. You can open build_en/html/index.html
to view the API document.
make html
When APIs for different repositories such as MindSpore, MindInsight, and MindQuantum are built, the following configuration list is given for use because some resource files corresponding to different repositories are used, and the corresponding repositories need to be cloned and the environment variables are configured:
Generation of the corresponding APIs | Environment variables | Repository links | Repository names |
---|---|---|---|
MindSpore/ MindSpore Lite | MS_PATH | https://gitee.com/mindspore/mindspore.git | mindspore |
MindInsight | MI_PATH | https://gitee.com/mindspore/mindinsight.git | mindinsight |
MindArmour | MA_PATH | https://gitee.com/mindspore/mindarmour.git | mindarmour |
MindQuantum | MQ_PATH | https://gitee.com/mindspore/mindquantum.git | mindquantum |
Reinforcement | RM_PATH | https://gitee.com/mindspore/reinforcement.git | reinforcement |
Serving | SV_PATH | https://gitee.com/mindspore/serving.git | serving |
Vision | VS_PATH | https://gitee.com/mindspore/vision.git | vision |
Hub | HB_PATH | https://gitee.com/mindspore/hub.git | hub |
XAI | XA_PATH | https://gitee.com/mindspore/xai.git | xai |
Golden Stick | GS_PATH | https://gitee.com/mindspore/golden-stick.git | golden_stick |
DevToolkit | DT_PATH | https://gitee.com/mindspore/ide-plugin.git | devtoolkit |
The code to clone the repositories and set the environment variables is as follows:
git clone repository_link
export environment_variable = corresponds_to_the_local_path_of_the_clone_repository
When the API of Lite is built, Doxygen needs to be installed:
sudo apt install doxygen
When MindSpore Tutorials, MindSpore Docs, Deep Probability Programming Docs and MindQuantum Docs are built, pandoc needs to be installed. For downloading and installing pandoc, refer to https://pandoc.org/installing.html。
提供MindSpore官方网站所呈现安装指南、教程、文档的源文件以及API的相关配置。
Jupyter Notebook Markdown reStructuredText Python Gettext Catalog other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》