Skip to content

Sync landing grid and section Contents with _toctree.yml#2614

Open
mishig25 wants to merge 2 commits into
mainfrom
sync-index-contents-with-toctree
Open

Sync landing grid and section Contents with _toctree.yml#2614
mishig25 wants to merge 2 commits into
mainfrom
sync-index-contents-with-toctree

Conversation

@mishig25

@mishig25 mishig25 commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Sync the Hub landing grid (index.md) and the per-section Contents lists with _toctree.yml — they had drifted out of date.

Fixes wrong/anchor hrefs, adds missing pages, and drops moved/stale entries across the landing grid and the repositories, models, datasets, spaces, jobs, agents, and other section pages. All links verified to resolve.

🤖 Generated with Claude Code


Note

Low Risk
Documentation-only navigation and link updates with no runtime or API behavior changes.

Overview
Realigns Hub navigation so the landing grid on index.md and each section’s Contents lists match _toctree.yml, which had drifted.

Landing grid updates fix bad paths (e.g. resource groups → enterprise-resource-groups), refresh labels, add missing topics (enterprise features, model/dataset pages, expanded Spaces/Jobs/Storage Buckets), and trim stale or anchor-only links. The Other column drops duplicate external Code of Conduct / Content Guidelines links in favor of the consolidated OAuth entry.

Section Contents (repositories, models, datasets, spaces, jobs, agents, other) are rewritten for the same source of truth: new pages (Session Traces, LLM dataset upload, Jobs serving/examples, Spaces MCP/agents/API, security subpages), renamed entries (Integrated Libraries, Pricing and Billing), and removed obsolete items (e.g. datasets ingesting/editing, duplicate agent trace placement).

Reviewed by Cursor Bugbot for commit ac13359. Bugbot is set up for automated code reviews on this repo. Configure here.

The Hub landing grid (index.md) and the per-section "Contents" lists had
drifted from _toctree.yml. This updates them to mirror the current
top-level sections and their direct children:

- index.md: fix wrong hrefs, add missing pages, drop moved/stale entries
  across all cards (Subscriptions & Plans, Repositories, Models, Datasets,
  Spaces, Storage Buckets, Jobs, Agents, Other).
- section pages: bring the Contents lists in repositories, models, datasets,
  spaces, jobs, agents and other back in line with the toctree.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Comment thread docs/hub/agents.md
Comment thread docs/hub/index.md

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this is intentional otherwise the tiles are too long

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

yeah unfortunately, the spaces sections are too many https://moon-ci-docs.huggingface.co/docs/hub/pr_2614/en/index

image

@julien-c

julien-c commented Jul 2, 2026

Copy link
Copy Markdown
Member

Generally I don't think this is needed, but I will let others chime in.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

3 participants