-
Notifications
You must be signed in to change notification settings - Fork 1
Documentation 101
Over the time the RIOT community has developed several ways to document RIOT's features
- the on-line API documentation that is generated from the Doxygen comments in the source code,
- several READMEs in the source code repository (e.g. the README for native and of several applications), and
- the Github-Wiki.
We assessed that every one of these is useful on its own for different use-cases:
- The doxygen documentation is close to the code and changes in the code result for the most part in changes to the API documentation, too.
- README files also are directly connected to their relevant modules or applications.
- The Wiki is accessible for everyone in the RIOT community and is in most cases the first place people look for answers.
Based on this observations we formulated some rules that should give you some direction where to put your documentation.
The doxygen documentation is primarily used to document behavior, usage and interfaces directly related to the code. If you write a new module describe your ideas for that module, how it works and how you can use its functionalities in the detailed description of your module or its functions. You can even provide small inline code examples for their usage.
READMEs shall be used primarily to describe the usage of applications or a tool but they might also useful in other cases:
- to give a non-functional overview over the contents of a directory (a README.md in a directory will always be picked and parsed by GitHub in the tree view of the directory).
- to describe some special behavior (new build targets, special macros etc) of the build system for a specific platform
The Wiki shall be used primarily for How-Tos and hardware documentation. It also shall provide links to Doxygen pages and READMEs of special interest at a point that is easy to be found for everyone.
RIOT - The friendly Operating System for the Internet of Things
Homepage | [GitHub] (https://github.com/RIOT-OS/) | Developers Mailing List | Users Mailing List | Twitter @RIOT_OS
- Family: ARM
- Board: Airfy Beacon
- Board: Arduino Due
- Board: CC2538DK
- Board: CC2650STK
- Board: HikoB Fox
- Board: IoT LAB M3
- Board: LimiFrog-v1
- Board: mbed_lpc1768
- Board: MSB-IoT
- Board: MSBA2
- Board: Nucleo-L1
- Board: Nucleo-F334
- Board: Nucleo-F303
- Board: Nucleo-F091
- Board: Mulle
- Board: OpenMote
- Board: PCA1000x (nRF51822 Development Kit)
- Board: Phytec phyWAVE-KW22
- Board: RFduino
- Board: SAMR21-xpro
- Board: SAML21-xpro
- Board: Spark Core
- Board: STM32F0discovery
- Board: STM32F3discovery
- Board: STM32F4discovery
- Board: UDOO
- Board: yunjia-nrf51822
- Board: Zolertia remote
- Family: ATmega
- Board: Arduino Mega2560
- Family: MSP430
- Board: MSB-430H
- Board: TelosB
- Board: WSN430
- Board: Zolertia Z1
- Board: eZ430-Chronos
- Family: native
- Board: native
- Family: x86
- Board: Intel Galileo