modify some docs

This commit is contained in:
wonderfullook
2022-07-15 19:08:16 +08:00
parent 666dbf8200
commit 27641d9dc1
6 changed files with 14 additions and 43 deletions

View File

@@ -1,48 +1,21 @@
# Share article
## Prepare
If you want to share articles, you can add it to wiki.
- This site is built by teedoc, so we need to install it first.
Here are the steps:
### About teedoc
---
If you have trouble using this site, pleasr refer to https://teedoc.github.io/en/
Our wiki supports markdown and ipynb these two documents type
### build locally
Visit https://github.com/sipeed/sipeed_wiki/tree/main/docs add click 'Upload files'
* Install teedoc
![Upload_files](./../zh/assets/upload.png)
```
pip3 install teedoc --upgrade
```
Then follow the prompts in the red box, the purple box shows the added document, and enter your additional notes in blue box. After these are done, click the green button `Commit changes` to finish adding document.
* Get site source files
![add_docs](./assets/add.png)
```
git clone https://github.com/sipeed/sipeed_wiki.git
```
The repository administrator will migrate the document to the correct location according to the additional notes in the blue box when seeing it.
* Install related plugins
```
cd sipeed_wiki
teedoc install
```
* build and serve locally
```
teedoc serve
```
then visit [http://127.0.0.1:2333](http://127.0.0.1:2333) to see your local site
## Add article
Normally all docs are put in the folder named docs which is in the root path.
When finishing writing the document you want to share under the appropriate corresponding directory, edit the file with name **sidebar** to make your file to be shown in the corresponding place on the web page.
Then you can then view the effect in the locally built site.
If you think you have finish this job, just create pull request and we'll merge it .
> Thanks for your participation in construction of open source documentation

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

View File

@@ -1,11 +1,9 @@
# Edit wiki
# Modify wiki
Sometimes editor may not notice some errors, or you have some article and want to share with people.
Sometimes editor may not notice some errors, or you have article want to share with others.
Both situations are need editing wiki.
Here are two ways to modify wiki.
Here are two ways to edit wiki.
- [**Edit document**](./change_doc.md) <--Click it
- [**Modify document**](./change_doc.md) <--Click it
- [**Share document**](./add_doc.md) <--Click it