Skip to content

Commit 31a05b5

Browse files
authored
Merge pull request #21728 from LasseRosenow/guides-refactor-titles
doc/guides: cleanup section titles
2 parents bd93e28 + a7f59bf commit 31a05b5

File tree

19 files changed

+55
-55
lines changed

19 files changed

+55
-55
lines changed

doc/guides/advanced_tutorials/creating_application.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Creating an application
3-
description: How to create your own application for RIOT-OS
2+
title: Creating an Application
3+
description: How to create your own application for RIOT
44
---
55

66
To create your own application you need to create a directory containing one or
@@ -58,7 +58,7 @@ RIOTBASE ?= $(CURDIR)/../../RIOT
5858
include $(RIOTBASE)/Makefile.include
5959
```
6060

61-
### How to handle unsupported boards?
61+
### How to handle Unsupported Boards?
6262

6363
Sometimes it is necessary to exclude boards because they don't provide a
6464
required functionality or don't have sufficient memory. RIOT's build system
@@ -143,7 +143,7 @@ on the module implementation.
143143
For applications, the `Makefile` is generated with the dependencies (modules,
144144
packages, required features) included.
145145

146-
## Usage:
146+
## Usage
147147

148148
To generate an example application, e.g in the `examples` directory, from the
149149
RIOT base directory, run:

doc/guides/advanced_tutorials/creating_modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Creating modules
2+
title: Creating Modules
33
description: Guide on how to create modules in RIOT-OS
44
---
55

doc/guides/advanced_tutorials/device_drivers.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ This should be clearly stated in the device driver's documentation so that
6363
anyone wanting to use the driver can find out the supported features without
6464
having to scan through the code.
6565

66-
## Device descriptor and parameter configuration
66+
## Device Descriptor and Parameter Configuration
6767

6868
Each device MUST supply a data structure, holding the devices state and
6969
configuration, using the naming scheme of `DEVNAME_t` (e.g. `dht_t`, or
@@ -108,7 +108,7 @@ configuration data that is only used once can be read directly from ROM, while
108108
often used fields (e.g. used peripherals) are stored directly in the device
109109
descriptor and one saves hereby one de-referencing step when accessing them.
110110

111-
## Default device configuration
111+
## Default Device Configuration
112112

113113
Each device driver in RIOT MUST supply a default configuration file, named
114114
`DEVNAME_params.h`. This file should be located in the `RIOT/drivers/...`. The
@@ -201,7 +201,7 @@ Third, we can define more than a single device in the board configuration
201201
And finally, we can simply override the `tmpabc_params.h` file as described
202202
above.
203203
204-
## Compile-time configuration documentation
204+
## Compile-time Configuration Documentation
205205
206206
The macros that configure the driver during compilation is added to the listing
207207
for [Compile time configurations](https://doc.riot-os.org/group__config.html). Refer to the following example
@@ -322,9 +322,9 @@ one of them - whatever makes most sense for a given function.
322322
- *MUST*: use `const devab_t *dev` when the device descriptor can be access
323323
read-only
324324
325-
## Build system integration
325+
## Build System Integration
326326
327-
### Internal include files
327+
### Internal Include Files
328328
329329
If the driver contains internal include files, a `Makefile.include` must be
330330
added in the driver implementation directory, with the following content
@@ -335,7 +335,7 @@ USEMODULE_INCLUDES_<driver name> := $(LAST_MAKEFILEDIR)/include
335335
USEMODULE_INCLUDES += $(USEMODULE_INCLUDES_<driver name>)
336336
```
337337
338-
### External dependencies
338+
### External Dependencies
339339
340340
If the driver has other module or CPU features dependencies (like `xtimer` or
341341
`periph_i2c`), they must be added in the `$(RIOTBASE)/drivers/Makefile.dep`
@@ -351,7 +351,7 @@ endif
351351
352352
**Warning:** Please be careful with alphabetical order when modifying this file.
353353
354-
## Helper tools
354+
## Helper Tools
355355
356356
To help you start writing a device driver, the RIOT build system provides the
357357
`generate-driver` make target. It is a wrapper around the
@@ -422,9 +422,9 @@ int tmpabc_init(tmpabc_t *dev, const tmpabc_params_t *params);
422422

423423
After this function is called, the device MUST be running and usable.
424424

425-
## Value handling
425+
## Value Handling
426426

427-
### Value semantics
427+
### Value Semantics
428428

429429
All sensors in RIOT MUST return their reading results as real physical values.
430430
When working with sensor data, these are the values of interest, and the
@@ -459,7 +459,7 @@ just return centi-degree instead of degree (e.g. 2372c°C instead of 23.72°C).
459459
- *SHOULD*: the driver exports functions for putting it to sleep and waking up
460460
the device
461461

462-
# Network devices
462+
# Network Devices
463463

464464
## Initialization
465465

doc/guides/advanced_tutorials/porting_boards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ when starting to port a board: all required files are generated with
282282
copyright headers, doxygen groups, etc, so you can concentrate on the port.
283283
The board source files are created in the `boards/<board name>` directory.
284284

285-
## Usage:
285+
## Usage
286286

287287
From the RIOT base directory, run:
288288

doc/guides/build-system/advanced_build_system_tricks.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This page describes some build systems tricks that can help developers but are n
77

88
They are low level commands that should not be taken as part of a stable API but better have a documentation than only having a description in the build system code.
99

10-
## Customize the build system
10+
## Customize the Build System
1111

1212
- `RIOT_MAKEFILES_GLOBAL_PRE`: files parsed before the body of `$RIOTBASE/Makefile.include`
1313
- `RIOT_MAKEFILES_GLOBAL_POST`: files parsed after the body of `$RIOTBASE/Makefile.include`
@@ -23,7 +23,7 @@ You can configure your own files that will be parsed by the build system main `M
2323
- Define your custom targets
2424
- Override default targets
2525

26-
## Speed-up builds with ccache
26+
## Speed-up Builds with ccache
2727

2828
[`ccache`](https://ccache.samba.org/) is a compiler cache. It speeds up recompilation by caching previous compilations and detecting when the same compilation is being done again.
2929

@@ -101,7 +101,7 @@ sys 0m0.327s
101101
[kaspar@booze default (master)]$
102102
```
103103

104-
## Analyze dependency resolution
104+
## Analyze Dependency Resolution
105105

106106
When refactoring dependency handling or modifying variables used for dependency resolution, one may want to evaluate the impact on the existing applications. This describe some debug targets to dump variables used during dependency resolution.
107107

@@ -123,7 +123,7 @@ For more configuration and usage details, see in the file defining the targets `
123123

124124
To do a repository wide analysis, you can use the script `dist/tools/buildsystem_sanity_check/save_all_dependencies_resolution_variables.sh` that will generate the output for all boards and applications. It currently take around 2 hours on an 8 cores machine with ssd.
125125

126-
## Generate Makefile.ci content
126+
## Generate Makefile.ci Content
127127

128128
Most applications and tests include a `Makefile.ci` to indicate which boards cannot compile the application or test. The content for these files can be generated via the script in:
129129

doc/guides/build-system/build_system_basics.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ For a `FEATURE` to be provided by a `board` it must meet 2 criteria, and for
7070

7171
### Where to define FEATURES\_%
7272

73-
- `FEATURES_PROVIDED`, `FEATURES_CONFLICT` and `FEATURES_CONFLICT_MSG ` are
73+
- `FEATURES_PROVIDED`, `FEATURES_CONFLICT` and `FEATURES_CONFLICT_MSG` are
7474
defined in `Makefile.features`
7575

7676
- `FEATURES_REQUIRED`, `FEATURES_OPTIONAL`, `FEATURES_REQUIRED_ANY`,
@@ -134,7 +134,7 @@ summarizes some of the pros and cons as well as specifies good and bad patterns
134134
in our build system. You might want to refer to `gnu make` documentation
135135
regarding these subjects.
136136

137-
## Avoid unnecessary export
137+
## Avoid Unnecessary Export
138138

139139
```
140140
export OUTPUT = $(shell some-command)
@@ -154,9 +154,9 @@ This is why global variables need clear documentation.
154154

155155
[gnumake doc](https://www.gnu.org/software/make/manual/html_node/Variables_002fRecursion.html)
156156

157-
## Use memoized for variables referencing a function or command
157+
## Use Memoized for Variables Referencing a Function or Command
158158

159-
### recursively expanded variable:
159+
### Recursively Expanded Variable
160160

161161
```
162162
OUTPUT = $(shell some-command $(ANOTHER_VARIABLE))
@@ -175,7 +175,7 @@ OUTPUT = $(shell some-command $(ANOTHER_VARIABLE))
175175
- If the variable expansion doesn't involve evaluating a function the overhead
176176
is none.
177177

178-
### simply expanded variable:
178+
### Simply Expanded Variable
179179

180180
```
181181
OUTPUT := $(shell some-command $(ANOTHER_VARIABLE))
@@ -193,7 +193,7 @@ OUTPUT := $(shell some-command $(ANOTHER_VARIABLE))
193193

194194
- The values of variables declared with `:=` depend on the order of definition.
195195

196-
### memoized:
196+
### Memoized
197197

198198
```
199199
OUTPUT = $(call memoized,OUTPUT,$(shell some-command))
@@ -208,7 +208,7 @@ OUTPUT = $(call memoized,OUTPUT,$(shell some-command))
208208

209209
[gnumake doc](https://www.gnu.org/software/make/manual/html_node/Flavors.html)
210210

211-
## Additional documentation
211+
## Additional Documentation
212212

213213
- Deferred vs. simple expansion: http://make.mad-scientist.net/deferred-simple-variable-expansion/
214214
- Tracking issue: [#10850](https://github.com/RIOT-OS/RIOT/issues/10850)

doc/guides/build-system/flashing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ So the current filename should be higher than 60-serial.rules
356356
If for some reason re-writing the serial is needed there is a windows tool:
357357
https://remoteqth.com/wiki/index.php?page=How+to+set+usb+device+SerialNumber
358358

359-
## Documentation:
359+
## Documentation
360360
* The whole documentation
361361
http://reactivated.net/writing_udev_rules.html#udevinfo
362362
* Udev manpage

doc/guides/c_tutorials/create_project.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ you can skip to the next section.
1818

1919
<GitSetup />
2020

21-
## Step 2: Creating our hello world program
21+
## Step 2: Creating our Hello World Program
2222

2323
Now that we have added RIOT as a submodule to our project,
2424
we can start writing our hello world program.
@@ -98,7 +98,7 @@ include $(RIOTBASE)/Makefile.include
9898
Congratulations! You have now created a new project with a simple hello world program.
9999
In the next step, we will build and run our program just like we did in the "Getting Started" guide.
100100

101-
## Step 4: Building and running the program
101+
## Step 4: Building and Running the Program
102102

103103
<Contact />
104104

doc/guides/c_tutorials/gpio.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ Be careful to not press the reset button by mistake 😉
262262
Your browser does not support the video tag.
263263
</video>
264264

265-
## Extra: Board specific defines
265+
## Extra: Board Specific Defines
266266

267267
Most boards (if they have LEDs or buttons) will have
268268
specific defines for the GPIO pins that are used.

doc/guides/getting-started/finding_modules.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ In the previous tutorial, we created a simple hello world program and you might
1212

1313
Lets take a look at how we can use modules in RIOT and where to find them.
1414

15-
## Step 1: Finding modules
15+
## Step 1: Finding Modules
1616

1717
RIOT provides a number of modules that you can use in your application, including modules for networking, sensors, and more.
1818
Depending on the goal of your application, you might need to use different modules and sometimes even create your own. So where can you find these modules?
@@ -47,7 +47,7 @@ Let's say I want to use base64 encoding in my application. I can search the RIOT
4747

4848
<Contact/>
4949

50-
## Step 2: Using modules
50+
## Step 2: Using Modules
5151

5252
Using modules in RIOT is quite simple. You just need to list any modules that you want to use in your application in the `Makefile` of your application.
5353

0 commit comments

Comments
 (0)