Skip to content

Fix left nav TOC for backends overview page in main#16861

Merged
mergennachin merged 1 commit intomainfrom
fix_links_123
Jan 26, 2026
Merged

Fix left nav TOC for backends overview page in main#16861
mergennachin merged 1 commit intomainfrom
fix_links_123

Conversation

@mergennachin
Copy link
Copy Markdown
Contributor

@mergennachin mergennachin commented Jan 25, 2026

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 #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

Copilot AI review requested due to automatic review settings January 25, 2026 16:38
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Jan 25, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/16861

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit c20582b with merge base 15ad846 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 25, 2026
@mergennachin mergennachin requested a review from rascani January 25, 2026 16:38
@github-actions
Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes broken Sphinx/MyST toctree entries so the Backends Overview left-nav includes all expected backend pages again (regression from #15219).

Changes:

  • Update docs/source/backends-overview.md to point toctree entries at the correct per-backend overview doc paths.
  • Remove an unnecessary hidden toctree from nxp-dim-order.md (the NXP section navigation is already driven from nxp-overview.md).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
docs/source/backends-overview.md Corrects toctree doc paths so all backend pages resolve and appear in the left-nav.
docs/source/backends/nxp/nxp-dim-order.md Removes a redundant toctree block that isn’t needed for NXP section navigation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mergennachin mergennachin merged commit 29b31da into main Jan 26, 2026
170 checks passed
@mergennachin mergennachin deleted the fix_links_123 branch January 26, 2026 15:17
@mergennachin
Copy link
Copy Markdown
Contributor Author

@pytorchbot cherry-pick --onto release/1.1 -c docs

pytorchbot pushed a commit that referenced this pull request Jan 26, 2026
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 #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
(cherry picked from commit 29b31da)
@pytorchbot
Copy link
Copy Markdown
Collaborator

Cherry picking #16861

The cherry pick PR is at #16869 The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants