Skip to content

Commit cf494eb

Browse files
authored
Merge pull request #21968 from maribu/doc/update-api-doc-link
doc: use https://api.riot-os.org for API doc
2 parents 59df477 + e62f2d4 commit cf494eb

File tree

35 files changed

+73
-71
lines changed

35 files changed

+73
-71
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,15 @@ As a reminder, all contributors are expected to follow our
2323
## Getting Started
2424
[getting-started]: #getting-started
2525
If you are just beginning to work with RIOT you might first want to read our
26-
[documentation]. Especially the following sections might be of interest to you
26+
[guide] and [API documentation]. Especially the following sections might be of
27+
interest to you
2728

2829
- [Getting Started](https://guide.riot-os.org/getting-started/installing/)
2930
- [Creating modules](https://guide.riot-os.org/advanced_tutorials/creating_modules/)
3031
- [Creating an application](https://guide.riot-os.org/advanced_tutorials/creating_application/)
3132

32-
[documentation]: https://doc.riot-os.org
33+
[guide]: https://guide.riot-os.org
34+
[API documentation]: https://api.riot-os.org
3335

3436
## Bug reports and feature requests
3537
[issues]: #bug-reports-and-feature-requests

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ LGPL code.
5959
[license-badge]: https://img.shields.io/github/license/RIOT-OS/RIOT
6060
[license-link]: https://github.com/RIOT-OS/RIOT/blob/master/LICENSE
6161
[api-badge]: https://img.shields.io/badge/docs-API-informational.svg
62-
[api-link]: https://doc.riot-os.org/
62+
[api-link]: https://api.riot-os.org/
6363
[guide-badge]: https://img.shields.io/badge/docs-Getting_Started_Guide-informational.svg
6464
[guide-link]: https://guide.riot-os.org/getting-started/installing/
6565
[mastodon-badge]: https://img.shields.io/badge/social-Mastodon-informational.svg
@@ -81,7 +81,7 @@ LGPL code.
8181
[getting-started]: https://guide.riot-os.org/getting-started/installing/
8282
[tutorials]: https://github.com/RIOT-OS/Tutorials
8383
[riot-course]: https://github.com/RIOT-OS/riot-course
84-
[api-docs]: https://doc.riot-os.org/
84+
[api-docs]: https://api.riot-os.org/
8585

8686
## Features
8787

boards/doc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Guide to board pinouts {#pinout_guide}
7979
The following are the steps to take to locate specific pinouts on boards.
8080
This is useful when connecting external hardware to RIOT supported boards.
8181

82-
1. Check the [board documentation](http://doc.riot-os.org/group__boards.html)
82+
1. Check the [board documentation](http://api.riot-os.org/group__boards.html)
8383
to see if the pinout is available
8484
2. If the pinout is not available or up to date check the following:
8585
- `boards/<BOARD>/include/periph_conf.h` for board specific

dist/tools/uf2/nrf52_softdevice_check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if [ "${SOFTDEVICE}" = "not found" ] && [ "${UF2_SOFTDEV}" != "DROP" ]; then
5353
echo -e "\033[0;31mNo SoftDevice present on the device, but the compilation is set" \
5454
"to expect a SoftDevice."
5555
echo -e "For more information see:" \
56-
"https://doc.riot-os.org/group__boards__common__adafruit-nrf52-bootloader.html#ada-nrf52-update"\
56+
"https://api.riot-os.org/group__boards__common__adafruit-nrf52-bootloader.html#ada-nrf52-update"\
5757
"\033[0m"
5858
exit 1
5959
fi

dist/tools/vagrant/freebsd/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ Iface 6 HWaddr: F1:28:23:23:F1:28
6767
```
6868

6969
[Vagrantfile]: ./Vagrantfile
70-
[native]: https://doc.riot-os.org/group__boards__native.html
70+
[native]: https://api.riot-os.org/group__boards__native.html

doc/doxygen/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<ul id="riot-navlist" class="nav navbar-nav"></ul>
7676
<!--BEGIN SEARCHENGINE-->
7777
<form id="riot-searchform" class="navbar-form navbar-left navbar-right" action="https://duckduckgo.com/" method="get">
78-
<input type="hidden" name="sites" value="doc.riot-os.org"/>
78+
<input type="hidden" name="sites" value="api.riot-os.org"/>
7979
<input type="hidden" name="kt" value="h"/>
8080
<div class="form-group">
8181
<div id="MSearchBox" class="MSearchBoxActive">

doc/guides/advanced_tutorials/creating_application.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ target board's flash memory or RAM.
8181

8282
By default a RIOT application comprises only of the applications' code itself,
8383
the kernel, and platform specific code. In order to use additional modules,
84-
such as a particular [device driver](https://doc.riot-os.org/group__drivers.html)
85-
or [a system library](https://doc.riot-os.org/group__sys.html)
86-
(including [networking capabilities](https://doc.riot-os.org/group__net.html)),
84+
such as a particular [device driver](https://api.riot-os.org/group__drivers.html)
85+
or [a system library](https://api.riot-os.org/group__sys.html)
86+
(including [networking capabilities](https://api.riot-os.org/group__net.html)),
8787
you have to append the modules' names to the USEMODULE variable.
8888
For example, to build an application using the
8989
SHT11 temperature sensor and UDP/IPv6 functionalities of the GNRC network stack,
@@ -119,7 +119,7 @@ CFLAGS += -DTHREAD_STACKSIZE_MAIN=2048
119119
```
120120

121121
For a list of all compile time configurations check the
122-
[API Documentation](https://doc.riot-os.org/group__config.html).
122+
[API Documentation](https://api.riot-os.org/group__config.html).
123123

124124
#### Kconfig
125125

doc/guides/advanced_tutorials/creating_modules.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ containing source files and a Makefile. Additionally their API can be defined
1717
in one or more header files, residing in the include path of their
1818
super-module.
1919

20-
E.g. the [Shell](https://doc.riot-os.org/group__sys__shell.html) module
20+
E.g. the [Shell](https://api.riot-os.org/group__sys__shell.html) module
2121
is implemented in `sys/shell` and defines its
2222
API in `sys/include/shell.h` and the
23-
[ISL29020 light sensor](https://doc.riot-os.org/group__drivers__isl29020.html)
23+
[ISL29020 light sensor](https://api.riot-os.org/group__drivers__isl29020.html)
2424
driver is implemented in `drivers/isl29020`
2525
and defines its API in `drivers/include/isl29020.h`.
2626

doc/guides/advanced_tutorials/device_drivers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,10 @@ above.
204204
### Compile-time Configuration Documentation
205205
206206
The macros that configure the driver during compilation is added to the listing
207-
for [Compile time configurations](https://doc.riot-os.org/group__config.html). Refer to the following example
207+
for [Compile time configurations](https://api.riot-os.org/group__config.html). Refer to the following example
208208
that exposes
209209
[TMP00x sensor](https://github.com/RIOT-OS/RIOT/blob/2025.07-branch/drivers/include/tmp00x.h#L96-L157)
210-
to [sensors group](https://doc.riot-os.org/group__config__drivers__sensors.htmls).
210+
to [sensors group](https://api.riot-os.org/group__config__drivers__sensors.htmls).
211211
212212
```c
213213
/**

doc/guides/advanced_tutorials/porting_boards.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ configurations. e.g:
6262
buttons. It might as well override default drivers parameters (e.g.: assigning
6363
specific pin connections to a LCD screen, radio, etc.).
6464
- `gpio_params.h`: if the board supports
65-
[SAUL](https://doc.riot-os.org/group__drivers__saul.html) then its
66-
[saul_gpio_params_t](https://doc.riot-os.org/structsaul__gpio__params__t.html)
65+
[SAUL](https://api.riot-os.org/group__drivers__saul.html) then its
66+
[saul_gpio_params_t](https://api.riot-os.org/structsaul__gpio__params__t.html)
6767
is defined here. (Analogously, an `adc_params.h` can
68-
contain a [saul_adc_params_t](https://doc.riot-os.org/structsaul__adc__params__t.html)
68+
contain a [saul_adc_params_t](https://api.riot-os.org/structsaul__adc__params__t.html)
6969
and `pwm_params.h` a
70-
[saul_pwm_rgb_params_t](https://doc.riot-os.org/structsaul__pwm__rgb__params__t.html)
71-
and a [saul_pwm_dimmer_params_t](https://doc.riot-os.org/structsaul__pwm__dimmer__params__t.html)).
70+
[saul_pwm_rgb_params_t](https://api.riot-os.org/structsaul__pwm__rgb__params__t.html)
71+
and a [saul_pwm_dimmer_params_t](https://api.riot-os.org/structsaul__pwm__dimmer__params__t.html)).
7272
- other: other specific headers needed by one `BOARD`
7373

7474
:::note
@@ -128,12 +128,12 @@ present in the platform should be enabled. Each board (or CPU) has knowledge as
128128
to which drivers should be enabled in each case.
129129

130130
The previous code snippet shows how a board which has a
131-
[Semtech SX1272 and SX1276 radio driver](https://doc.riot-os.org/group__drivers__sx127x.html)
131+
[Semtech SX1272 and SX1276 radio driver](https://api.riot-os.org/group__drivers__sx127x.html)
132132
device, pulls in its driver when the default network interfaces are required.
133133

134134
When the pseudomodule `saul_default` is enabled, the board should pull in all
135135
the drivers of the devices it has which provide a
136-
[[S]ensor [A]ctuator [U]ber [L]ayer](https://doc.riot-os.org/group__drivers__saul.html)
136+
[[S]ensor [A]ctuator [U]ber [L]ayer](https://api.riot-os.org/group__drivers__saul.html)
137137
interface. This is usually done as following:
138138

139139
```makefile
@@ -273,8 +273,8 @@ For example: If you observe "erratic" blinking patterns in
273273
### Overhead Calibration
274274
275275
When using the high level timer `ztimer` there is an overhead in calling the
276-
[ztimer_sleep](https://doc.riot-os.org/group__sys__ztimer.html#gade98636e198f2d571c8acd861d29d360)
277-
and [ztimer_set](https://doc.riot-os.org/group__sys__ztimer.html#ga8934a79a89e35d58673418a1e4a2e69c)
276+
[ztimer_sleep](https://api.riot-os.org/group__sys__ztimer.html#gade98636e198f2d571c8acd861d29d360)
277+
and [ztimer_set](https://api.riot-os.org/group__sys__ztimer.html#ga8934a79a89e35d58673418a1e4a2e69c)
278278
functions. This offset can be compensated for.
279279
It can be measured by running `tests/sys/ztimer_overhead` on your board, i.e:
280280
@@ -311,7 +311,7 @@ The last two lines can be added as defines to the new board `board.h`:
311311
```
312312

313313
Alternatively, the pseudomodule
314-
[ztimer_auto_adjust](https://doc.riot-os.org/group__pseudomodule__ztimer__auto__adjust.html)
314+
[ztimer_auto_adjust](https://api.riot-os.org/group__pseudomodule__ztimer__auto__adjust.html)
315315
can be used in an application to enable automatic timer offset compensation at board startup.
316316
This however incurs overhead both in the text segment and at bootup time.
317317

@@ -572,10 +572,10 @@ in place of the actual board name in the environment or Make variable `BOARD`.
572572

573573
A list of all existing board aliases can be found in
574574
[`makefiles/board_alias.inc.mk`](https://github.com/RIOT-OS/RIOT/blob/master/makefiles/board_alias.inc.mk).
575-
[`BOARD=native`](https://doc.riot-os.org/group__boards__common__native.html)
575+
[`BOARD=native`](https://api.riot-os.org/group__boards__common__native.html)
576576
is a special alias in that it
577-
resolves to either [`native32`](https://doc.riot-os.org/group__boards__native32.html)
578-
or [`native64`](https://doc.riot-os.org/group__boards__native64.html)
577+
resolves to either [`native32`](https://api.riot-os.org/group__boards__native32.html)
578+
or [`native64`](https://api.riot-os.org/group__boards__native64.html)
579579
depending on the host architecture.
580580

581581
## Tools
@@ -595,7 +595,7 @@ Some scripts and tools available to ease `BOARD` porting and testing:
595595
## Further Reference
596596

597597
- [In her blog](https://blog.martine-lenders.eu/riot-board-en.html), Martine Lenders documented her approach of
598-
porting the [Adafruit Feather nRF52840 Express](https://doc.riot-os.org/group__boards__adafruit-feather-nrf52840-express.html)
598+
porting the [Adafruit Feather nRF52840 Express](https://api.riot-os.org/group__boards__adafruit-feather-nrf52840-express.html)
599599
in February 2020.
600600
- [Over at HackMD](https://hackmd.io/njFHwQ33SNS3sQKAkLkNtQ), Akshai M documented his approach of
601-
porting the [Silicon Labs SLSTK3400A starter kit](https://doc.riot-os.org/group__boards__slstk3400a.html) in July 2020.
601+
porting the [Silicon Labs SLSTK3400A starter kit](https://api.riot-os.org/group__boards__slstk3400a.html) in July 2020.

0 commit comments

Comments
 (0)