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 platform docs into their own directory and separate into subfolders #34233

Merged
merged 18 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from 9 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
15 changes: 15 additions & 0 deletions docs/development_controllers/chip-repl/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# chip-repl

```{toctree}
:glob:
:maxdepth: 1
:hidden:

*
```

- [Matter REPL](./matter-repl.md)
- [Intro](./Matter_REPL_Intro.ipynb)
- [Access Control](./Matter_Access_Control.ipynb)
- [Basic interactions](./Matter_Basic_Interactions.ipynb)
- [Fabric Commissioning](./Matter_Multi_Fabric_Commissioning.ipynb)
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Linux (amd64 / aarch64) or macOS.
To build and run the Python CHIP controller:

1. Install all necessary packages and prepare the build system. For more
details, see the [Building Matter](BUILDING.md) documentation:
details, see the [Building Matter](../../guides/BUILDING.md) documentation:

```
sudo apt-get update
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ Before you can use the CHIP Tool, you must compile it from source on Linux
To build and run the CHIP Tool:

1. Install all required packages for Matter and prepare the source code and the
build system. Read the [Building Matter](BUILDING.md) guide for instructions.
build system. Read the [Building Matter](../../guides/BUILDING.md) guide for
instructions.
2. Open a command prompt in the `connectedhomeip` directory.
3. Run the following command:

Expand Down
11 changes: 11 additions & 0 deletions docs/development_controllers/chip-tool/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# chip-tool

```{toctree}
:glob:
:maxdepth: 1
:hidden:

*
```

- [chip-tool guide](./chip_tool_guide.md)
13 changes: 13 additions & 0 deletions docs/development_controllers/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Development Controllers

```{toctree}
:glob:
:maxdepth: 1
:hidden:

chip-repl/index
chip-tool/index
```

- [chip-tool](./chip-tool)
- [chip-repl](./chip-repl)
2 changes: 1 addition & 1 deletion docs/getting_started/first_example.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ for testing.

[chip-tool](../../examples/chip-tool/) is a C++ command line controller with an
interactive shell. More information on chip-tool can be found in the
[chip-tool guide](../guides/chip_tool_guide.md).
[chip-tool guide](../development_controllers/chip-tool/chip_tool_guide.md).

[chip-repl](../../src/controller/python/chip-repl.py) is a shell for the python
controller. The chip-repl is part of the python controller framework, often used
Expand Down
8 changes: 4 additions & 4 deletions docs/guides/darwin.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,17 +292,17 @@ Example:
- [ESP32 Lighting](/examples/lighting-app/esp32/README.md)
- [ESP32 Temperature Sensor](/examples/temperature-measurement-app/esp32/README.md)
- [mbedOS](/examples/all-clusters-app/mbed/README.md)
- [nRF Connect All Clusters](./nrfconnect_examples_configuration.md)
- [nRF Connect All Clusters](../platforms/nrf/nrfconnect_examples_configuration.md)
- [nRF Connect Pump](/examples/pump-app/nrfconnect/README.md)
- [NXP Examples](./nxp/nxp_imx8m_linux_examples.md)
- [NXP Examples](../platforms/nxp/nxp_imx8m_linux_examples.md)
- [NXP](/examples/all-clusters-app/nxp/mw320/README.md)
- [Infineon CYW30739 Lighting](/examples/lighting-app/infineon/cyw30739/README.md)
- [Infineon PSoC6](/examples/all-clusters-app/infineon/psoc6/README.md)
- [Qorvo](/examples/lighting-app/qpg/README.md)
- [Silicon Labs](./silabs_getting_started.md)
- [Silicon Labs](../platforms/silabs/silabs_getting_started.md)
- [Simulated Linux](./simulated_device_linux.md)
- [Telink](/examples/lighting-app/telink/README.md)
- [TI Platform](./ti/ti_matter_overview.md)
- [TI Platform](../platforms/ti/ti_matter_overview.md)
- [Tizen](/examples/lighting-app/tizen/README.md)

## Providing Feedback to Apple
Expand Down
41 changes: 0 additions & 41 deletions docs/guides/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,54 +9,13 @@ and features.
:hidden:

*
esp32/README
nxp/README
ti/ti_matter_overview
```

## Build Guides

- [Building](./BUILDING.md)
cecille marked this conversation as resolved.
Show resolved Hide resolved

## Platform Guides

- [Android - Building](./android_building.md)
- [Apple - Testing with iPhone, iPad, macOS, Apple TV, HomePod, Watch, etc](./darwin.md)
- [ASR - Getting Started Guide](./asr_getting_started_guide.md)
- [Espressif (ESP32) - Getting Started Guide](./esp32/README.md)
- [Infineon PSoC6 - Software Update](./infineon_psoc6_software_update.md)
- [Linux - Simulated Devices](./simulated_device_linux.md)
- [mbedOS - Adding a new target](./mbedos_add_new_target.md)
- [mbedOS - Commissioning](./mbedos_commissioning.md)
- [mbedOS - Platform Overview](./mbedos_platform_overview.md)
- [nRF Connect - Android Commissioning](./nrfconnect_android_commissioning.md)
- [nRF Connect - CLI Guide](./nrfconnect_examples_cli.md)
- [nRF Connect - Configuration](./nrfconnect_examples_configuration.md)
- [nRF Connect - Factory Data Configuration](./nrfconnect_factory_data_configuration.md)
- [nRF Connect - Platform Overview](./nrfconnect_platform_overview.md)
- [nRF Connect - Software Update](./nrfconnect_examples_software_update.md)
- [NXP - Getting Started Guide](./nxp/README.md)
- [Silicon Labs - Documentation](https://siliconlabs.github.io/matter/latest/index.html)
- [Silicon Labs - Getting Started](./silabs_getting_started.md)
- [Silicon Labs - Software Update](./silabs_efr32_software_update.md)
- [Silicon Labs - CLI Guide](./silabs_cli_guide.md)
- [TI - Platform Overview](./ti/ti_matter_overview.md)

## Tool Guides

- [CHIP Tool](./chip_tool_guide.md)
- [Python Matter-Repl](./matter-repl.md)
- [python-chip-controller - Advanced](./python_chip_controller_advanced_usage.md)
- [python-chip-controller - Building](./python_chip_controller_building.md)
- [CHEF test devices](../../examples/chef/README.md)
- [New device type adding](../../examples/chef/NEW_CHEF_DEVICES.md)

## Development Guides

- [Access Control](./access-control-guide.md)
- [Matter IDL tooling and validation](./matter_idl_tooling.md)

## Setup Guides

- [Open Thread - Hardware suggestions](./openthread_rcp_nrf_dongle.md)
- [Open Thread - Setting up a Raspberry Pi as a Border Router](./openthread_border_router_pi.md)
2 changes: 2 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
PROJECT_FLOW
VSCODE_DEVELOPMENT
ci-cd/index
development_controllers/index
getting_started/index
cecille marked this conversation as resolved.
Show resolved Hide resolved
cluster_and_device_type_dev/index
cecille marked this conversation as resolved.
Show resolved Hide resolved
guides/index
platforms/index
style/index
examples/index
product_considerations/index
Expand Down
11 changes: 11 additions & 0 deletions docs/platforms/android/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Android

```{toctree}
:glob:
:maxdepth: 1
:hidden:

*
```

[Android - Building](./android_building.md)
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ to speed up development. You can find them in the samples with `/asr` subfolder.

## Building the Example Application

- [Setup Matter Environment](./BUILDING.md)
- [Setup Matter Environment](../../guides/BUILDING.md)

- Setup toolchain
- for ASR582X and ASR550X
Expand Down Expand Up @@ -140,7 +140,7 @@ There are two commissioning modes supported by ASR platform:
`build_examples.py` script. For example:
`./scripts/build/build_examples.py --target asr-$ASR_BOARD-lighting-ota build`
2. For more usage details, please refer to the
[OTA example](../../examples/ota-requestor-app/asr/README.md)
[OTA example](../../../examples/ota-requestor-app/asr/README.md)

## Factory

Expand Down
11 changes: 11 additions & 0 deletions docs/platforms/asr/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ASR

```{toctree}
:glob:
:maxdepth: 1
:hidden:

*
```

[ASR - Getting Started Guide](./asr_getting_started_guide.md)
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ $ out/debug/chip-tool pairing ble-wifi 12345 MY_SSID MY_PASSWORD 20202021 3840
#### Commissioning the Thread device (ESP32H2)

- For ESP32-H2, firstly start OpenThread Border Router, you can either use
[Raspberry Pi OpenThread Border Router](../openthread_border_router_pi.md)
[Raspberry Pi OpenThread Border Router](../openthread/openthread_border_router_pi.md)
OR
[ESP32 OpenThread Border Router](../../../examples/thread-br-app/esp32/README.md)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
35 changes: 35 additions & 0 deletions docs/platforms/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Platform Guides

```{toctree}
:glob:
:maxdepth: 1
:hidden:

android/index
asr/index
darwin/index
esp32/index
infineon/index
mbedos/index
nrf/index
nxp/index
openiotsdk/index
openthread/index
silabs/index
stm32/index
ti/index
```

- [Android](./android/)
- [ASR](./asr/)
- [Darwin](./darwin/)
- [ESP32](./esp32/)
- [Infineon](./infineon/)
- [MbedOS](./mbedos/)
- [NRF](./nrf/)
- [NXP](./nxp/)
- [OpenIoTSDK](./openiotsdk/)
- [OpenThread](./openthread/)
- [Silabs](./silabs/)
- [STM32](./stm32/)
- [TI](./ti/)
12 changes: 12 additions & 0 deletions docs/platforms/infineon/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Infineon

```{toctree}
:glob:
:maxdepth: 1
:hidden:

*
```

[Provisioning](./infineon_psoc6_software_update.md)
[Software update](./infineon_psoc6_software_update.md)
13 changes: 13 additions & 0 deletions docs/platforms/mbedos/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# MbedOS

```{toctree}
:glob:
:maxdepth: 1
:hidden:

*
```

[Add new target](./mbedos_add_new_target.md)
[Commissioning](./mbedos_commissioning.md)
[Platform overview](./mbedos_platform_overview.md)
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ To make provisioning possible and to control the Matter device from your Android
based smartphone, you must first build and install the CHIPTool application.

To build the CHIPTool application for your smartphone, read
[Android building guide](android_building.md).
[Android building guide](../android/android_building.md).

After building, install the application by completing the following steps:

Expand Down Expand Up @@ -154,7 +154,7 @@ brightness between 0-255.
If **Lighting LED** is available then brightness change can be observed.

> For more details about Android CHIPTool please visit
> [CHIPTool](../../examples/android/CHIPTool/README.md)
> [CHIPTool](../../../examples/android/CHIPTool/README.md)

## POSIX CLI CHIPTool

Expand All @@ -164,7 +164,7 @@ To make provisioning possible and to control the Matter device from Linux-based
device, you can build and run the Matter Client example application on it.

To build the POSIX CLI CHIPTool application check the guide
[POSIX CLI guide](../../examples/chip-tool/README.md).
[POSIX CLI guide](../../../examples/chip-tool/README.md).

### Device commissioning for CLI

Expand Down Expand Up @@ -196,7 +196,7 @@ For example:
The client will send a single command packet and then exit.

> For more details about POSIX CLI CHIPTool please visit
> [POSIX CLI CHIPTool](../../examples/chip-tool/README.md)
> [POSIX CLI CHIPTool](../../../examples/chip-tool/README.md)

## Python Device Controller

Expand All @@ -206,7 +206,7 @@ To make provisioning possible and to control the Matter device with Python
application, you can build and run the Python CHIP controller.

To build and install the Python Device Controller application check the guide
[Python Device Controller guide](python_chip_controller_building.md).
[Python Device Controller guide](../../development_controllers/chip-repl/python_chip_controller_building.md).

### Device commissioning for Python Device Controller

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ needed to perform communication through the Matter stack.
Sample Matter applications are provided for the Mbed OS platform. They can be
used to speed up development:

- [shell](../../examples/shell/mbed/README.md)
- [all-clusters-app](../../examples/all-clusters-app/mbed/README.md)
- [lock-app](../../examples/lock-app/mbed/README.md)
- [lighting-app](../../examples/lighting-app/mbed/README.md)
- [pigweed-app](../../examples/pigweed-app/mbed/README.md)
- [shell](../../../examples/shell/mbed/README.md)
- [all-clusters-app](../../../examples/all-clusters-app/mbed/README.md)
- [lock-app](../../../examples/lock-app/mbed/README.md)
- [lighting-app](../../../examples/lighting-app/mbed/README.md)
- [pigweed-app](../../../examples/pigweed-app/mbed/README.md)

### Example configuration

Expand Down
16 changes: 16 additions & 0 deletions docs/platforms/nrf/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# NRF

```{toctree}
:glob:
:maxdepth: 1
:hidden:

*
```

[Android Commissioning](./nrfconnect_android_commissioning.md)
[Examples CLI](./nrfconnect_examples_cli.md)
[Examples configuration](./nrfconnect_examples_configuration.md)
[Examples Software update](./nrfconnect_examples_software_update.md)
[Factory data](./nrfconnect_factory_data_configuration.md)
[Platform overview](./nrfconnect_platform_overview.md)
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Commissioning nRF Connect Accessory using Android CHIPTool

You can use [CHIPTool](android_building.md) for Android smartphones to
commission a Nordic Semiconductor's development kit programmed with a Matter
You can use [CHIPTool](../android/android_building.md) for Android smartphones
to commission a Nordic Semiconductor's development kit programmed with a Matter
example for the nRF Connect platform into a Matter fabric.

This guide references the nRF52840 DK and Matter nRF Connect Lighting Example
Expand Down Expand Up @@ -86,9 +86,10 @@ accessory using Android CHIPTool:
> _Note:_ This step is only needed if you're testing a Thread device. Skip it if
> the tested device operates in a Wi-Fi network.

Follow the [OpenThread Border Router](openthread_border_router_pi.md) article to
set up OpenThread Border Router on the Raspberry Pi, with either the nRF52840 DK
or the nRF52840 Dongle acting as the
Follow the
[OpenThread Border Router](../openthread/openthread_border_router_pi.md) article
to set up OpenThread Border Router on the Raspberry Pi, with either the nRF52840
DK or the nRF52840 Dongle acting as the
[OpenThread Radio Co-Processor](https://openthread.io/platforms/co-processor).
During the setup, make sure that the Raspberry Pi is connected to your Wi-Fi
Access Point.
Expand All @@ -107,7 +108,7 @@ Application to learn how to build and program the example onto an nRF52840 DK.
## Building and installing Android CHIPTool

To build the CHIPTool application for your smartphone, read the
[Building Android](android_building.md) guide.
[Building Android](../android/android_building.md) guide.

After building, install the application by completing the following steps:

Expand Down
Loading
Loading