Skip to content

docs: consolidate Training and Evaluation Tutorials under a Tutorials tab - #1775

Closed
sephmard wants to merge 1 commit into
mainfrom
docs/1773-consolidate-tutorials-tab
Closed

sephmard wants to merge 1 commit into
mainfrom
docs/1773-consolidate-tutorials-tab

Conversation

@sephmard

Copy link
Copy Markdown
Contributor

Closes #1773
Part of #1436

Change

One file changed — fern/versions/main.yml.

Replaces the two separate top-level nav entries:

- folder: ./latest/pages/evaluation-tutorials
  title: "Evaluation Tutorials"
  title-source: frontmatter
- folder: ./latest/pages/training-tutorials
  title: "Training Tutorials"
  title-source: frontmatter

With a single grouped section:

- section: Tutorials
  contents:
    - folder: ./latest/pages/training-tutorials
      title: "Training Tutorials"
      title-source: frontmatter
    - folder: ./latest/pages/evaluation-tutorials
      title: "Evaluation Tutorials"
      title-source: frontmatter

No URL changes

Folder paths are unchanged, so all existing page URLs, bookmarks, and redirects remain valid. Page groupings within each tutorial section are unaffected.

fern check passes with 0 errors.

…ab (#1773)

Replace two separate top-level folder entries with a single section:

  section: Tutorials
    - Training Tutorials  (unchanged)
    - Evaluation Tutorials (unchanged)

All page URLs are stable — folder paths are unchanged, so no redirects
needed. Page groupings within each section are unaffected.

Closes #1773

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Signed-off-by: Seph Mard <[email protected]>
@copy-pr-bot

copy-pr-bot Bot commented Jun 26, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions

Copy link
Copy Markdown
Contributor

@sephmard
sephmard requested a review from lbliii June 26, 2026 16:04

@lbliii lbliii left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Style guide review

Reviewed against fern/README.md authoring conventions, .claude/skills/nemo-gym-docs/SKILL.md, and the v0.4.0 IA spec in #1436 / acceptance criteria in #1773.

Must change

  1. URLs are not stable — add redirects in fern/docs.yml. Nesting these folders under section: Tutorials prefixes the published slug with /tutorials/ (verified on the 🌿 preview: /main/training-tutorials → 404, /main/tutorials/training-tutorials → 200; same for subpages like /unsloth). This contradicts the PR description and #1773’s “verify redirects if section slug differs” task. Add wildcard redirects for both trees, e.g.:

    • /nemo/gym/main/training-tutorials → /nemo/gym/main/tutorials/training-tutorials
    • /nemo/gym/main/training-tutorials/:path* → /nemo/gym/main/tutorials/training-tutorials/:path*
    • /nemo/gym/main/evaluation-tutorials → /nemo/gym/main/tutorials/evaluation-tutorials
    • /nemo/gym/main/evaluation-tutorials/:path* → /nemo/gym/main/tutorials/evaluation-tutorials/:path*
  2. Update existing redirect destinations that still target the old paths. fern/docs.yml already has ~10 legacy entries whose destination: is /nemo/gym/training-tutorials/... (Sphinx tutorials/* redirects, README/blog links, etc.). Those destinations will 404 after merge unless updated to the new /nemo/gym/main/tutorials/training-tutorials/... paths (or covered by a redirect that resolves the versionless slug).

Optional nits

  1. Nav order vs #1436 epic. Target IA is … → Evaluate → Tutorials → Build Environments → …. This PR keeps Build Environments above Evaluation/Tutorials. Fine if intentionally scoped to #1773 only — consider a follow-up to reorder when the broader IA tickets land.

  2. YAML quoting consistency. Other version YAML uses quoted section labels (section: "Documentation" in v0.2.1.yml); this uses bare section: Tutorials. Both parse — pick one convention if you touch this file again.

  3. Child ordering. Training before Evaluation matches #1773’s proposed tree ✓ (and reverses the previous top-level order). No action needed — just confirming intentional.

Comment thread fern/versions/main.yml
- folder: ./latest/pages/training-tutorials
title: "Training Tutorials"
title-source: frontmatter
- section: Tutorials

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Must change: section: Tutorials introduces a /tutorials/ URL prefix for both child folders. Preview confirms /main/training-tutorials and /main/evaluation-tutorials (and their subpages) now 404. Per #1773 and fern/README.md (add redirects when URLs break), add wildcard redirects in fern/docs.yml and update the existing legacy destinations that still point at /nemo/gym/training-tutorials/....

@sephmard sephmard closed this Jun 26, 2026
sephmard added a commit that referenced this pull request Jun 26, 2026
Closes #1776
Part of #1436

## Changes

**`fern/versions/main.yml`** — reorder + renames + absorb Tutorials
grouping:

New order:
```
About → Get Started → Prepare Data → Configure Agents → Configure Model
→ Resources Server → Build Verifiers → Evaluation → Tutorials
→ Build Environments → Model Recipes → Infrastructure → Reference
→ Troubleshooting → Contribute
```

**`agent-server/index.mdx`** — title: "Agent Server" → "Configure
Agents"

**`data/index.mdx`** — title: "Data" → "Prepare Data"

## Notes

- This PR absorbs the Tutorials section grouping from #1773/#1775 to
avoid a merge conflict — if #1775 merges first, this PR will need a
rebase
- "Resources Server" is kept in place (not in the final target IA but
retained until Build Verifiers absorbs it)
- Troubleshooting kept at the end pending confirmation of deprecation
- No URL changes; all folder paths unchanged so no redirects needed

`fern check` passes with 0 errors.

---------

Signed-off-by: Seph Mard <[email protected]>
Co-authored-by: Claude Sonnet 4.6 <[email protected]>
sephmard added a commit that referenced this pull request Jun 26, 2026
…s consolidation

- Add 4 wildcard redirects for training-tutorials and evaluation-tutorials
  paths now nested under /tutorials/ after section: Tutorials grouping
- Update 9 legacy Sphinx redirect destinations from /training-tutorials/...
  to /main/tutorials/training-tutorials/...
- Update unsloth-training redirect destination to new /tutorials/ path

Addresses review feedback on PR #1775.

Signed-off-by: Seph Mard <[email protected]>
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.

docs: consolidate Training Tutorials and Evaluation Tutorials under a single Tutorials tab

2 participants