Skip to content

Commit 29b31da

Browse files
authored
Fix left nav TOC for backends overview page in main (pytorch#16861)
The backends-overview page was only showing 6 backends instead of 13. This regression was introduced in commit cdc2701 (NXP Backend: Update documentation to the new scheme pytorch#15219) which inadvertently reverted correct toctree paths to incorrect ones during a table reformatting. - Toctree entries used old flat paths (e.g., backends-xnnpack) instead of the new subdirectory paths (e.g., backends/xnnpack/xnnpack-overview) - A circular toctree dependency between nxp-overview.md and nxp-dim-order.md caused Sphinx build failures Test Plan: Built sphinx locally and rendered page https://docs-preview.pytorch.org/pytorch/executorch/16861/backends-section.html
1 parent aed854f commit 29b31da

2 files changed

Lines changed: 7 additions & 14 deletions

File tree

‎docs/source/backends-overview.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,16 @@ Backends are the bridge between your exported model and the hardware it runs on.
5151
:hidden:
5252
:caption: Backend Overview
5353
54-
backends-xnnpack
54+
backends/xnnpack/xnnpack-overview
5555
backends/cuda/cuda-overview
5656
backends/coreml/coreml-overview
57-
backends-mps
58-
backends-vulkan
57+
backends/mps/mps-overview
58+
backends/vulkan/vulkan-overview
5959
backends-qualcomm
6060
backends-mediatek
61-
backends-arm-ethos-u
62-
backends-arm-vgf
61+
backends/arm-ethos-u/arm-ethos-u-overview
62+
backends/arm-vgf/arm-vgf-overview
6363
build-run-openvino
64-
backends-nxp
64+
backends/nxp/nxp-overview
6565
backends-cadence
66-
backends-samsung-exynos
66+
backends/samsung/samsung-overview

‎docs/source/backends/nxp/nxp-dim-order.md‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,3 @@ python -m examples.nxp.aot_neutron_compile --quantize \
9090
--delegate --neutron_converter_flavor SDK_25_12 -m cifar10 \
9191
--use_channels_last_dim_order
9292
```
93-
94-
```{toctree}
95-
:hidden:
96-
:maxdepth: 2
97-
98-
nxp-overview
99-
```

0 commit comments

Comments
 (0)