Skip to content

Add PyTorch 2.10 through 2.13 documentation support - #2723

Open
ring00 wants to merge 1 commit into
freeCodeCamp:mainfrom
ring00:pytorch-2.13
Open

Add PyTorch 2.10 through 2.13 documentation support#2723
ring00 wants to merge 1 commit into
freeCodeCamp:mainfrom
ring00:pytorch-2.13

Conversation

@ring00

@ring00 ring00 commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

This PR adds PyTorch documentation versions 2.10 through 2.13.

PyTorch's structured Schema.org breadcrumbs are now preferred when available, with the existing visible-breadcrumb parsing retained as a fallback for older versions. This restores the complete names of pages whose visible breadcrumbs are incomplete, such as Use fullgraph=True to Identify and Eliminate Graph Breaks.

Key changes:

  • Adds PyTorch 2.10, 2.11, 2.12, and 2.13.
  • Uses structured breadcrumbs while preserving compatibility with older documentation themes.
  • Updates the PyTorch attribution year.

Validation:

  • Generated all four new versions successfully.
  • Verified rendering and entry categorization using the local DevDocs server.
  • Regenerated PyTorch 2.8 to verify compatibility with an existing schema-enabled version.

If you're updating existing documentation to its latest version, please ensure that you have:

  • Updated the versions and releases in the scraper file
  • Ensured the license is up-to-date
  • Ensured the icons and the SOURCE file in public/icons/your_scraper_name/ are up-to-date if the documentation has a custom icon
  • Ensured self.links contains up-to-date urls if self.links is defined
  • Tested the changes locally to ensure:
    • The scraper still works without errors
    • The scraped documentation still looks consistent with the rest of DevDocs
    • The categorization of entries is still good

Add the four newer documentation releases and extract complete structured
breadcrumbs used by the current PyTorch documentation theme.

Keep the existing HTTP-based scraping workflow and cover structured,
malformed, single-item, and legacy breadcrumb formats.
@ring00
ring00 marked this pull request as ready for review August 28, 2026 18:09
@ring00
ring00 requested a review from a team as a code owner August 28, 2026 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant