The most suitable lightweight operating system for learning, the effective combination of code and documents

Time:2021-11-30

1. Oneos Lite website

OneOS-LiteDocument website:https://oneos-lite.com/

OneOS-LiteWarehouse address:https://gitee.com/cmcc-oneos/…

OneOS-LiteeditionIn the process of iteration, developers are welcome to put forward valuable suggestions. I also hope to click the upper right corner and click one button three times(forkstarfollow)。

It is worth noting that,OneOS-LiteThe document and the code warehouse are closely connected and in the same warehouse. It is very useful for children’s shoes who like the Internet of things operating system and want to learn by themselves.

2. Online browsing of documents

visitOneOS-LiteWebsite:https://oneos-lite.com/

The most suitable lightweight operating system for learning, the effective combination of code and documents

visitOneOSOfficial website:Oneos – China Mobile Internet of things operating system (10086. CN)

The most suitable lightweight operating system for learning, the effective combination of code and documents

3. Local browsing of documents

The document and the code are placed in the same warehouse. The developer has downloaded the document while downloading the code. We believe that it is a more efficient development method to consult the code in combination with documents. The relevant source code directories contain documentation related to the code.

The most suitable lightweight operating system for learning, the effective combination of code and documents

Developers can use ourOneOS-CubeTool to start a local server, which can easily preview the effect in real time. Enter the following command in the code root directory:

python -m http.server 3000

The results are as follows:

PS D:\xiaoneng\oneos-2.0> python -m http.server 3000
Serving HTTP on :: port 3000 (http://[::]:3000/) ...
::1 - - [21/Jul/2021 14:45:24] "GET / HTTP/1.1" 200 -

You can access the address:http://localhost:3000, read the documentation.

If your computer is installedpython3, you can enter the warehouse and execute the command on the command line:

python -m http.server 3000

If your computer is installednpm, you can rundocsify serveStart a local server. Default access addresshttp://localhost:3000

docsify serve oneos-2.0

Before that, you need to usenpmperhapsyarninstalldocsify-cli

npm i docsify-cli -g
# yarn global add docsify-cli

4. Document editing

The document and code are open source and deployed to the gitee warehouse. If you find a document error, you can go to the upper left corner of the document and clickEdit Document, edit and submitmerge

The most suitable lightweight operating system for learning, the effective combination of code and documents

clickEdit DocumentAfter that, you will enter the gitee editing page and clickedit

The most suitable lightweight operating system for learning, the effective combination of code and documents

Submit informationNote: document modification points, such as document error / addition / deletion / update: ×××。 If there are more modification ideas, you can add them toExtended information。 Finally, select the submittedTarget branch, clickSubmit, OK.

The most suitable lightweight operating system for learning, the effective combination of code and documents

5. Focus on && contact

gitee: https://gitee.com/cmcc-oneos/OneOS-Lite

docs: https://oneos-lite.com/