Skip to content

MindSpore document

License

Apache-2.0, CC-BY-4.0 licenses found

Licenses found

Apache-2.0
LICENSE
CC-BY-4.0
LICENSE-CC-BY-4.0
Notifications You must be signed in to change notification settings

JinhengZhang/docs-1

 
 

MindSpore Documents

MindSpore Logo

查看中文

Overview

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.

Contributions

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.

Directory Structure Description

docs
├───activity // Record the activity experience.
|
├───docs // Technical documents about architecture, network list, operator list, programming guide and so on. Configuration files for API generation.
|    |
|    ├───api_cpp // C++ API project.
|    |
|    ├───api_java // Java API project.
|    |
|    ├───api_python // Python API project.
|    |
|    ├───faq // Frequently asked questions.
|    |
|    ├───note // Design and specification.
|    |
|    └───programming_guide // Programming guide documents.
│
├───install // Installation guide.
│
├───lite // Summary of all documents related to mindspore lite and their links.
│
├───resource // Resource-related documents.
│
├───tools // Automation tools.
│
├───tutorials // Tutorial-related documents.
|    |
|    ├───inference // Inference-related documents.
|    |
|    ├───lite // MindSpore Lite related documents.
|    |
|    ├───notebook // Experiential documents.
|    |
|    ├───training // Training-related documents.
|    |
|    ├───tutorial_code // Sample code corresponding to the tutorial.
│
└───README.md // Docs repository description.

Document Construction

MindSpore tutorials and API documents can be generated by Sphinx. The following uses the Python API document as an example to describe the procedure, and ensure that MindSpore, MindSpore Hub and MindArmour have been installed.

  1. Download code of the MindSpore Docs repository.

    git clone https://gitee.com/mindspore/docs.git
  2. Go to the api_python directory and install the dependency items in the requirements.txt file.

    cd docs/api_python
    pip install -r requirements.txt
  3. Run the following command in the api_python directory to create the build_zh_cn/html directory that stores the generated document web page. You can open build_zh_cn/html/index.html to view the API document.

    make html

    If you only need to generate the MindSpore API, please modify the source_zh_cn/conf.py file, comment the import mindspore_hub and import mindarmour statements, and then perform this step.

License

About

MindSpore document

Resources

License

Apache-2.0, CC-BY-4.0 licenses found

Licenses found

Apache-2.0
LICENSE
CC-BY-4.0
LICENSE-CC-BY-4.0

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 94.3%
  • Python 3.4%
  • JavaScript 0.9%
  • C++ 0.9%
  • CSS 0.2%
  • Shell 0.1%
  • Other 0.2%