From a597f3d35dfd5a58fddbc0995b6f81a452668d80 Mon Sep 17 00:00:00 2001 From: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com> Date: Tue, 21 Oct 2025 10:34:14 -0400 Subject: [PATCH 1/2] Fix rst conversion issues --- content/components/packet_transport/_index.md | 2 +- content/components/packet_transport/sx126x.md | 10 ++++------ content/components/packet_transport/sx127x.md | 10 ++++------ content/components/packet_transport/uart.md | 8 ++++---- content/components/packet_transport/udp.md | 8 ++++---- 5 files changed, 17 insertions(+), 21 deletions(-) diff --git a/content/components/packet_transport/_index.md b/content/components/packet_transport/_index.md index 282f0c053d..3a8e015f49 100644 --- a/content/components/packet_transport/_index.md +++ b/content/components/packet_transport/_index.md @@ -282,7 +282,7 @@ binary_sensor: - {{< docref "/components/binary_sensor/packet_transport" >}} - {{< docref "/components/sensor/packet_transport" >}} -- [Automation](#automation) +- {{< docref "/guides/automations" >}} - {{< apiref "packet_transport/packet_transport.h" "packet_transport/packet_transport.h" >}} [^f1]: As known in 2025.02. diff --git a/content/components/packet_transport/sx126x.md b/content/components/packet_transport/sx126x.md index f4cadfff46..f591e5cde3 100644 --- a/content/components/packet_transport/sx126x.md +++ b/content/components/packet_transport/sx126x.md @@ -7,11 +7,9 @@ params: image: sx126x.png --- -.. sx126x-packet-transport: - -The [Packet Transport Component](#packet-transport) platform allows ESPHome nodes to directly communicate with each over a +The {{< docref "/components/packet_transport" >}} platform allows ESPHome nodes to directly communicate with each over a communication channel. The {{< docref "/components/sx126x" >}} implementation of the platform uses FSK or -LoRa as a communication medium. See the [Packet Transport Component](#packet-transport) and [SX126x Component](#sx126x) for more information. +LoRa as a communication medium. See the {{< docref "/components/packet_transport" >}} and {{< docref "/components/sx126x" >}} for more information. ## Example Configuration @@ -52,9 +50,9 @@ sensor: ## See Also -- [Packet Transport Component](#packet-transport) +- {{< docref "/components/packet_transport" >}} - {{< docref "/components/sx126x" >}} - {{< docref "/components/binary_sensor/packet_transport" >}} - {{< docref "/components/sensor/packet_transport" >}} -- [Automation](#automation) +- {{< docref "/guides/automations" >}} - {{< apiref "packet_transport/packet_transport.h" "packet_transport/packet_transport.h" >}} diff --git a/content/components/packet_transport/sx127x.md b/content/components/packet_transport/sx127x.md index c2be511c32..717388f9b6 100644 --- a/content/components/packet_transport/sx127x.md +++ b/content/components/packet_transport/sx127x.md @@ -7,11 +7,9 @@ params: image: sx127x.png --- -.. sx127x-packet-transport: - -The [Packet Transport Component](#packet-transport) platform allows ESPHome nodes to directly communicate with each over a +The {{< docref "/components/packet_transport" >}} platform allows ESPHome nodes to directly communicate with each over a communication channel. The {{< docref "/components/sx127x" >}} implementation of the platform uses FSK, OOK or -LoRa as a communication medium. See the [Packet Transport Component](#packet-transport) and [SX127x Component](#sx127x) for more information. +LoRa as a communication medium. See the {{< docref "/components/packet_transport" >}} and {{< docref "/components/sx127x" >}} for more information. ## Example Configuration @@ -48,9 +46,9 @@ sensor: ## See Also -- [Packet Transport Component](#packet-transport) +- {{< docref "/components/packet_transport" >}} - {{< docref "/components/sx127x" >}} - {{< docref "/components/binary_sensor/packet_transport" >}} - {{< docref "/components/sensor/packet_transport" >}} -- [Automation](#automation) +- {{< docref "/guides/automations" >}} - {{< apiref "packet_transport/packet_transport.h" "packet_transport/packet_transport.h" >}} diff --git a/content/components/packet_transport/uart.md b/content/components/packet_transport/uart.md index dac265fd96..6bac55ef26 100644 --- a/content/components/packet_transport/uart.md +++ b/content/components/packet_transport/uart.md @@ -9,8 +9,8 @@ params: {{< anchor "uart-packet-transport" >}} -The [Packet Transport Component](#packet-transport) platform allows ESPHome nodes to directly communicate with each over a communication channel. -The UART implementation of the platform uses a serial port as a communication medium. See the [Packet Transport Component](#packet-transport) and [UART Bus](#uart) for more information. +The {{< docref "/components/packet_transport" >}} platform allows ESPHome nodes to directly communicate with each over a communication channel. +The UART implementation of the platform uses a serial port as a communication medium. See the {{< docref "/components/packet_transport" >}} and {{< docref "/components/uart" >}} for more information. ## Example Configuration @@ -37,9 +37,9 @@ sensor: ## See Also -- [Packet Transport Component](#packet-transport) +- {{< docref "/components/packet_transport" >}} - {{< docref "/components/uart" >}} - {{< docref "/components/binary_sensor/packet_transport" >}} - {{< docref "/components/sensor/packet_transport" >}} -- [Automation](#automation) +- {{< docref "/guides/automations" >}} - {{< apiref "packet_transport/packet_transport.h" "packet_transport/packet_transport.h" >}} diff --git a/content/components/packet_transport/udp.md b/content/components/packet_transport/udp.md index fcaec6085e..11d44943ed 100644 --- a/content/components/packet_transport/udp.md +++ b/content/components/packet_transport/udp.md @@ -9,8 +9,8 @@ params: {{< anchor "udp-packet-transport" >}} -The [Packet Transport Component](#packet-transport) platform allows ESPHome nodes to directly communicate with each over a communication channel. -The UDP implementation of the platform uses UDP as a communication medium. See the [Packet Transport Component](#packet-transport) and [UDP Component](#udp) for more information. +The {{< docref "/components/packet_transport" >}} platform allows ESPHome nodes to directly communicate with each over a communication channel. +The UDP implementation of the platform uses UDP as a communication medium. See the {{< docref "/components/packet_transport" >}} and {{< docref "/components/udp" >}} for more information. ## Example Configuration @@ -34,9 +34,9 @@ sensor: ## See Also -- [Packet Transport Component](#packet-transport) +- {{< docref "/components/packet_transport" >}} - {{< docref "/components/udp" >}} - {{< docref "/components/binary_sensor/packet_transport" >}} - {{< docref "/components/sensor/packet_transport" >}} -- [Automation](#automation) +- {{< docref "/guides/automations" >}} - {{< apiref "packet_transport/packet_transport.h" "packet_transport/packet_transport.h" >}} From 5d8fec875fb6a3ea3d59123ff80b81243711afb0 Mon Sep 17 00:00:00 2001 From: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com> Date: Tue, 21 Oct 2025 10:48:11 -0400 Subject: [PATCH 2/2] Fix automation docrefs --- content/components/packet_transport/_index.md | 2 +- content/components/packet_transport/sx126x.md | 2 +- content/components/packet_transport/sx127x.md | 2 +- content/components/packet_transport/uart.md | 2 +- content/components/packet_transport/udp.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/components/packet_transport/_index.md b/content/components/packet_transport/_index.md index 3a8e015f49..aeae5c597e 100644 --- a/content/components/packet_transport/_index.md +++ b/content/components/packet_transport/_index.md @@ -282,7 +282,7 @@ binary_sensor: - {{< docref "/components/binary_sensor/packet_transport" >}} - {{< docref "/components/sensor/packet_transport" >}} -- {{< docref "/guides/automations" >}} +- {{< docref "/automations" >}} - {{< apiref "packet_transport/packet_transport.h" "packet_transport/packet_transport.h" >}} [^f1]: As known in 2025.02. diff --git a/content/components/packet_transport/sx126x.md b/content/components/packet_transport/sx126x.md index f591e5cde3..03c1b86ea6 100644 --- a/content/components/packet_transport/sx126x.md +++ b/content/components/packet_transport/sx126x.md @@ -54,5 +54,5 @@ sensor: - {{< docref "/components/sx126x" >}} - {{< docref "/components/binary_sensor/packet_transport" >}} - {{< docref "/components/sensor/packet_transport" >}} -- {{< docref "/guides/automations" >}} +- {{< docref "/automations" >}} - {{< apiref "packet_transport/packet_transport.h" "packet_transport/packet_transport.h" >}} diff --git a/content/components/packet_transport/sx127x.md b/content/components/packet_transport/sx127x.md index 717388f9b6..55976f14fb 100644 --- a/content/components/packet_transport/sx127x.md +++ b/content/components/packet_transport/sx127x.md @@ -50,5 +50,5 @@ sensor: - {{< docref "/components/sx127x" >}} - {{< docref "/components/binary_sensor/packet_transport" >}} - {{< docref "/components/sensor/packet_transport" >}} -- {{< docref "/guides/automations" >}} +- {{< docref "/automations" >}} - {{< apiref "packet_transport/packet_transport.h" "packet_transport/packet_transport.h" >}} diff --git a/content/components/packet_transport/uart.md b/content/components/packet_transport/uart.md index 6bac55ef26..bd19abd4d6 100644 --- a/content/components/packet_transport/uart.md +++ b/content/components/packet_transport/uart.md @@ -41,5 +41,5 @@ sensor: - {{< docref "/components/uart" >}} - {{< docref "/components/binary_sensor/packet_transport" >}} - {{< docref "/components/sensor/packet_transport" >}} -- {{< docref "/guides/automations" >}} +- {{< docref "/automations" >}} - {{< apiref "packet_transport/packet_transport.h" "packet_transport/packet_transport.h" >}} diff --git a/content/components/packet_transport/udp.md b/content/components/packet_transport/udp.md index 11d44943ed..94b4b06b08 100644 --- a/content/components/packet_transport/udp.md +++ b/content/components/packet_transport/udp.md @@ -38,5 +38,5 @@ sensor: - {{< docref "/components/udp" >}} - {{< docref "/components/binary_sensor/packet_transport" >}} - {{< docref "/components/sensor/packet_transport" >}} -- {{< docref "/guides/automations" >}} +- {{< docref "/automations" >}} - {{< apiref "packet_transport/packet_transport.h" "packet_transport/packet_transport.h" >}}