You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Machine translation was extended to many more libraries (transformers, accelerate, trackio, datasets, peft, timm, chat-ui, huggingface.js, huggingface_hub, and lerobot), and it now clears stale docs-build translations of main before a language's first machine translation. The translation job is also more resilient: it falls back across providers and retries dropped connections, then returns to Cerebras, and it keeps a block in English when its HTML can't be converted or the provider
Translation: keep a block in English when its HTML can't be converted (#903) by @mishig25 in [#903]
Translation: retry dropped connections and go back to cerebras after the fallback fails (#902) by @mishig25 in [#902]
Translation: keep a block in English when the provider refuses its request (#900) by @mishig25 in [#900]
Add translate-docs: incremental machine translation of built docs (#852) by @mishig25 in [#852]
CI and Workflows
The reusable build and upload workflows were updated so that main docs are built on release-version pushes, docs build for English only (passing languages now fails), and PR comments link directly to changed pages. They also gained a python_version input, fixes for bucket sync and _versions.yml sourcing, shell defaults, upload permissions and checkout pinning, plus tighter permissions and weekly Dependabot bumps for GitHub Actions.
Build main on default-branch pushes of packages that declare a release version (#890) by @mishig25 in [#890]
PR docs builds: English only, fail when languages is passed (#872) by @mishig25 in [#872]
Main docs builds: English only, fail when languages is passed (#870) by @mishig25 in [#870]
PR doc comment: link directly to the changed pages (#861) by @coyotte508 in [#861]
Only sync the PR's own preview folder on upload (#846) by @paulinebm in [#846]
Let upload_pr_documentation inherit its caller's permissions again (#837) by @paulinebm in [#837]
chore(deps): bump the actions group across 1 directory with 8 updates (#833) by @dependabot[bot] in [#833]
fix(ci): harden workflow files flagged on #830 (#832) by @hf-security-analysis[bot] in [#832]
chore: enable Dependabot weekly GitHub Actions bumps (#790) by @hf-dependantbot-rollout[bot] in [#790]
fix(ci): pin the doc-builder checkout to the caller's pinned revision (#830) by @paulinebm in [#830]
Meilisearch search indexing now supports incremental updates backed by a Hub-hosted ID tracker, and it also indexes more content, including community blog posts, vectorless full-text API pages, courses and the cookbook. Search quality and reliability improved through correct heading anchors, no more code comments parsed as headings, a new text_plain snippet field, a filterable id, single-task stale-document deletion, handling of deleted finished tasks, and weekly
[meilisearch] fetch every blog post once a week, recent ones on other days (#876) by @mishig25 in [#876]
[meilisearch] read the index when a finished task was deleted (#871) by @mishig25 in [#871]
[meilisearch] index community blog posts (#868) by @mishig25 in [#868]
[meilisearch] delete stale documents in a single task (#848) by @mishig25 in [#848]
[meilisearch] don't parse code comments as headings, use page titles (#847) by @mishig25 in [#847]
[meilisearch] keep the incremental-update tracker in sync with the index (#845) by @mishig25 in [#845]
[meilisearch] use the rendered heading anchors in search result URLs (#844) by @mishig25 in [#844]
[meilisearch] add plain-text text_plain field and clean headings (#843) by @mishig25 in [#843]
[meilisearch] make id filterable in docs-semantic-search (#841) by @mishig25 in [#841]
Fix vectorless Meilisearch document payload (#825) by @mishig25 in [#825]
Add vectorless full-text docs ingestion (#824) by @mishig25 in [#824]
Enable daily cron for search engine population and make delete operations non-blocking (#765) by @mishig25 in [#765]
feat: incremental Meilisearch indexing with HF Hub ID tracker (#759) by @mishig25 in [#759]
Fix embeddings upload bug and add transformers to workflow (#746) by @mishig25 in [#746]
Skip model_doc and API pages from vector store processing (#741) by @mishig25 in [#741]
Fix GitHub Action timeout during Meili indexation (#725) by @mishig25 in [#725]
Improve Meilisearch document ID generation (#719) by @mishig25 in [#719]
Add populate-search-engine command for processing HF doc-build dataset (#685) by @mishig25 in [#685]
Copy Page Menu
The "Copy page" menu was added (#647) and expanded with MCP and HuggingChat options (#653, #677), and it now uses anchor tags for external links (#695) and a larger button (#716). It is now translated on machine-translated pages using the language in the URL (#865), uses a right-to-left layout with aligned rows (#866), and floats to the inline end of the heading in both text directions (#867).
Float the Copy page and notebook menus to the inline end (#867) by @mishig25 in [#867]
Copy page menu: right-to-left layout in RTL pages, aligned rows (#866) by @mishig25 in [#866]
Copy page menu: translate it on translated pages, keep it on screen (#865) by @mishig25 in [#865]
refactor: update CopyLLMTxtMenu to use anchor tags for external links (#695) by @mishig25 in [#695]
Add HuggingChat menu option to CopyLLMTxtMenu (#677) by @mishig25 in [#677]
feat: add MCP icon and option to CopyLLMTxtMenu (#653) by @mishig25 in [#653]
[frontend] make CopyLLMTxtMenu button smaller (#650) by @mishig25 in [#650]
Add CopyLLMTxtMenu component for enhanced markdown copying functionality (#647) by @mishig25 in [#647]
Docstring Rendering
Docstring rendering is more accurate and complete: signatures now keep the arguments of parametrized builtins such as dict[str, int], and bare <word> text in parameter descriptions is escaped instead of disappearing. Code blocks and the parameters after them are no longer dropped from parameter lists, and the .md export keeps method names, signatures and section labels. Under the hood, Python now emits the <Docstring> component directly, each class is docum
Keep the arguments of parametrized builtins in signatures (#898) by @mishig25 in [#898]
Escape docstring fragments like the doc body of a page (#897) by @mishig25 in [#897]
Keep code blocks and later parameters in docstring parameter lists (#896) by @mishig25 in [#896]
Golden snapshot test for docstring rendering (#895) by @mishig25 in [#895]
Mock transformers' optional audio backends so autodoc stops documenting placeholders (#840) by @eustlb in [#840]
Fix .md export losing method names, signatures and section labels (#810) by @mishig25 in [#810]
Simplify docstring pipeline: python emits the component directly (#797) by @mishig25 in [#797]
Svelte 5 Kit Upgrade
The kit was upgraded to Svelte 5, SvelteKit 2, Vite 7, Tailwind 4 and ESLint 10. This replaced the forked SvelteKit client with the public reroute hook, and all components were migrated to runes syntax, which also fixed broken docstring tooltips. Follow-up fixes restored shorthand doc URLs in the address bar, stopped /learn course links from expanding to /docs paths, acc
fix(kit): stop expanding /learn course links to /docs paths on click (#828) by @sergiopaniego in [#828]
fix(kit): accept a lowercase region in language codes (pt-br) (#823) by @sergiopaniego in [#8...