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 2 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 @@ -23,7 +23,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
56 changes: 0 additions & 56 deletions docs/guides/README.md

This file was deleted.

41 changes: 0 additions & 41 deletions docs/guides/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,58 +9,17 @@ 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)

## Troubleshooting Guides

- [Avahi - Troubleshooting](./troubleshooting_avahi.md)
2 changes: 2 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ PROJECT_FLOW
VSCODE_DEVELOPMENT
api/index
ci-cd/index
development_controllers/index
discussion/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
testing/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)
10 changes: 5 additions & 5 deletions docs/guides/darwin.md → docs/platforms/darwin/darwin.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,17 +257,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](../nrf/nrfconnect_examples_configuration.md)
- [nRF Connect Pump](/examples/pump-app/nrfconnect/README.md)
- [NXP Examples](./nxp/nxp_imx8m_linux_examples.md)
- [NXP Examples](../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)
- [Simulated Linux](./simulated_device_linux.md)
- [Silicon Labs](../silabs/silabs_getting_started.md)
- [Simulated Linux](../../guides/simulated_device_linux.md)
- [Telink](/examples/lighting-app/telink/README.md)
- [TI Platform](./ti/ti_matter_overview.md)
- [TI Platform](../ti/ti_matter_overview.md)
- [TI All Clusters](/examples/all-clusters-app/cc13x4_26x4/README.md)
- [Tizen](/examples/lighting-app/tizen/README.md)

Expand Down
11 changes: 11 additions & 0 deletions docs/platforms/darwin/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Darwin
cecille marked this conversation as resolved.
Show resolved Hide resolved

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

*
```

[Apple - Testing with iPhone, iPad, macOS, Apple TV, HomePod, Watch, etc](./darwin.md)
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
Loading
Loading