MaixPy Experience Sharing —— XXX
This catalog is mainly used for sharing your own experience or tutorials, and it can also be moved with the author's permission to reprint, and famous sources.
1. To participate in sharing, you need to master the knowledge in advance#
- Use of git and github
- Use of github PR (pull request)
There is a brief introduction in the introductory tutorial, please learn by yourself for detailed usage
If you are not confident to master these skills, you can submit issue to explain the problem or contribute experience, etc. We will help you to add
2. How to add#
2.1. Clone document to local#
2.2. New directory#
Need to create a new directory dedicated to writing shared articles,
Create a folder in the MaixPy_DOC/docs/maixpy/zh/share/my_share/
directory, the folder name can only be in lowercase English and underscore, you can name it with your English name, such as tom
or lihua
,
The following uses MaixPy_DOC/docs/maixpy/zh/share/my_share/tom
as an example
Of course, if you write an English document, you need to put it in the MaixPy_DOC/docs/maixpy/en/share/my_share/tom
folder
Create a file in this folder, name it readme.md
, and use the markdown
syntax to write and share in it,
Create a MaixPy_DOC/docs/maixpy/zh/share/my_share/tom/assets
directory to store pictures,
The relative path is used to reference the pictures in the document. For example, if the path of an image is MaixPy_DOC/docs/maixpy/zh/share/my_share/tom/assets/cover.jpg
, it will be in MaixPy_DOC/docs/maixpy/zh/share/my_share/tom/readme.md
Use the following syntax to quote pictures in
Note, don’t enlarge files in the folder, and don’t use too big pictures, otherwise the document warehouse will be huge
2.3. Write documentation#
To make the document look well-formed and easier to read,
To write a document must follow the grammar and format requirements: See document specification
Document template, write an article according to the template, you can modify it according to your own situation
2.4. Add this share to the directory column on the left side of the document#
Open MaixPy_DOC/docs/maixpy/zh/SUMMARY.md
, add your own share at the end, such as
The effect after adding your own card is:
Note that there are two spaces in front of *****, not tab
2.5. Submit#
After writing, submit the modification, and then submit the PR on github. After the PR is passed, the official document page will have this article
Related Issues not found
Please login GitHub to create issue