Symbol Developer Documentation guides help other developers to get started on Symbol’s technology, giving step-by-step instructions on how to use the tools, integrate with other technologies, and combine the built-in features to architect solutions.
If you are looking for inspiration to write the guide, you can browse the symbol-docs repository open issues to find some ideas pending to be written. We also encourage you to join our Slack #sig-docs channel and present yourself!
To collaborate with one of the existing issues, express it in a comment to avoid duplicated efforts. If there is no issue yet, create a new one introducing the content you want to publish.
git clone https://github.com/nemtech/symbol-docs.git
python --version
pip install -r requirements.txt
rst
file inside one of the guides folder.mkdir source/guides/<folder_name>/<title>.rst
You can use the following template to organize your content:
:orphan:
.. post:: 18 Aug, 2018
:category: <category>
:excerpt: 1
:nocomments:
:author: <your_name_or_username>
#####
Title
#####
The objective to achieve after finishing the guide.
**********
Background
**********
Explain the necessary concepts before starting to code.
*************
Prerequisites
*************
- A
- B
- C
**********************
Getting into some code
**********************
Present the code and step-by-step explanation.
************
What's next?
************
Is there any extra exercise that readers could try on their own?
6. Add the code examples under source/resources/examples/<language_or_tool>
.
You can render fragments of code from a file inside your .rst
file with the directive example-code
.
.. example-code::
.. viewsource:: <relative_url>.ts
:language: typescript
:start-after: /* start block 01*/
:end-before: /* end block 01 */
make livehtml
8. Push your changes and create a pull-request. The repository maintainers will proofread and edit the content to follow the documentation style guide.
Did you find what you were looking for? Give us your feedback.