Skip to content

Translation: write the toctree with every batch of pages - #859

Merged
mishig25 merged 1 commit into
mainfrom
toctree-from-the-start
Oct 21, 2026
Merged

mishig25 merged 1 commit into
mainfrom
toctree-from-the-start

Conversation

@mishig25

Copy link
Copy Markdown
Contributor

The translated _toctree.yml was only written after every page of a version was done. A run that stopped partway (rate limits) left the language without a sidebar: right now only hub/main/ja has one.

  • The toctree is now updated on every flush (every 20 pages, and when a run fails).
  • A page that isn't translated yet keeps its English sidebar title instead of a separately translated one, like the page itself. Group titles are translated as before.

🤖 Generated with Claude Code

A run that stops partway (e.g. on rate limits) left a translated folder
without _toctree.yml, so moon-landing would have no sidebar for it.
Pages that aren't translated yet keep their English sidebar title.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mishig25
mishig25 merged commit d178760 into main Oct 21, 2026
4 checks passed
@mishig25
mishig25 deleted the toctree-from-the-start branch October 21, 2026 12:58
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