-
Notifications
You must be signed in to change notification settings - Fork 11
Contributing documentation
The sources for the website and documentation are here
To edit them, fork that repository to your own account. The actual documents are in markdown format inside the _docs folder.
To edit them you'll need to follow these guidelines:
- The format of the document is:
# class ofClass
## Description
description of the class
## Methods
methods of the class
## Variables
variables of the class
When editing, do not modify those headers.
Don't add new functions or variables to the documents; they will be autogenerated from doxygen and have a specific format:
###void setup()
_syntax: setup()_
_name: setup_
_returns: void_
_returns_description: _
_parameters: _
_access: public_
_version_started: 006_
_version_deprecated: _
_summary: _
_constant: False_
_static: no_
_visible: True_
_advanced: False_
_description: _
This function gets called once, just at the start of the app.
It would be a good place, for example, to allocate variables or load any files.
The fields that are marked with _field: value_
shouldn't be touched for now.
For modifying the description, the format is markdown, you can check out the syntax here
There are some exceptions to pure markdown:
- do not use headers like
##
inside the descriptions, since those are used to parse the methods and variables - to signal code use:
$$code(lang=c++)
$$/code
instead of the normal markdown syntax
The documents can be edited directly from github: just navigate to the file you want to edit and press edit file. Once you have finished editing, saving will generate a commit, and send a pull request to the main repo to get your changes accepted.