Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Move sensor.rst to sensor/index.rst #73740

Merged
merged 1 commit into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MAINTAINERS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1843,7 +1843,7 @@ Release Notes:
- dts/bindings/sensor/
- include/zephyr/drivers/sensor/
- include/zephyr/dt-bindings/sensor/
- doc/hardware/peripherals/sensor.rst
- doc/hardware/peripherals/sensor/
- tests/drivers/build_all/sensor/
labels:
- "area: Sensors"
Expand Down
1 change: 1 addition & 0 deletions doc/_scripts/redirects.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
('guides/west/workspaces', 'develop/west/workspaces'),
('guides/west/zephyr-cmds', 'develop/west/zephyr-cmds'),
('guides/zephyr_cmake_package', 'build/zephyr_cmake_package'),
('hardware/peripherals/sensor', 'hardware/peripherals/sensor/index'),
('reference/api/api_lifecycle', 'develop/api/api_lifecycle'),
('reference/api/index', 'develop/api/index'),
('reference/api/overview', 'develop/api/overview'),
Expand Down
2 changes: 1 addition & 1 deletion doc/hardware/peripherals/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Peripherals
reset.rst
retained_mem.rst
sdhc.rst
sensor.rst
sensor/index.rst
spi.rst
smbus.rst
uart.rst
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ measures ambient temperature and atmospheric pressure. Note that
:c:func:`sensor_sample_fetch` is only called once, as it reads and
compensates data for both channels.

.. literalinclude:: ../../../samples/sensor/bme280/src/main.c
.. literalinclude:: ../../../../samples/sensor/bme280/src/main.c
:language: c
:lines: 12-
:linenos:
Expand Down Expand Up @@ -217,7 +217,7 @@ interest of saving power. Since the application has direct access to the
kernel config symbols, no trigger is registered when triggering was disabled
by the driver's configuration.

.. literalinclude:: ../../../samples/sensor/mcp9808/src/main.c
.. literalinclude:: ../../../../samples/sensor/mcp9808/src/main.c
:language: c
:lines: 12-
:linenos:
Expand Down
Loading