doc Contribution guide
Overview
The portal is a go-zero official document web site in which all find bugs in use, have new features, etc. to participate in the contribution of the portal. We very much welcome everyone's active participation and will respond to the various questions raised, pr etc.Contributing Steps
For how pr can refer to the GitHub Pull Request document.
Contribution norms
The original intention of the document under the Quick Start menu: to tell the developer how to use it (usage), but not why it is used (background & scene). As long as it is reserved, the developer can run out of the expected results according to the documentation, no need for detailed introduction.
The original intention of the document under the Guide menu: the document in the guide is more important than [task], and it is necessary to tell developers how to use (usage), but also to inform them Why it is used like this (background & scene), reveals more usages that developers cannot dig out from the usage level.
Components menu: from basic usage to in-depth principles
All document titles have 2 level titles ("#") as the starting title. The subtitle is not higher than 5 levels (contains 5 levels, i.e. "####"), and the level title is reserved for the document large title.
The document proposes to start with a secondary title [Overview] and then the text.
Hyperlinks suggest using
<a href="url" target="_blank">content</a>
to prevent users from opening new pages and shutting down the current page inconveniently.Image component is recommended to use Image, support zoom expansion, use example
Propose components to be carried by the document itself, using a reference example
If there is an external link in the document, it is recommended to add the title to the document at the end