What's Changed
create_commit
cmd support deletions by @mishig25 in #274- Revert "
create_commit
cmd support deletions (#274)" by @mishig25 in #276 - Private token management even for private repositories by @LysandreJik in #277
- Add CourseFloatingBanner.svelte by @mishig25 in #279
- Fix CourseFloatingBanner.svelte slot by @mishig25 in #280
- DocNotebook.svvelte stricter length check by @mishig25 in #281
- Add
create_deletions
cmd by @mishig25 in #283 - Revert "Add
create_deletions
cmd" by @mishig25 in #284 - GraphQL commit deletion by @mishig25 in #285
- Delete PR docs using GraphQL by @mishig25 in #286
- Add
doc-builder
CLI to delete_doc.yml by @mishig25 in #287 - Change doc_delete.yml container by @mishig25 in #288
- Fix CLI arg typo by @mishig25 in #289
- Add readme about svelte local dev by @mishig25 in #290
- Frontend for
yields
&raises
docstrings by @mishig25 in #141 - Install libgl if needed by @mishig25 in #294
- Support
build
on Windows by @mariosasko in #295 - Add version suffix option by @fxmarty in #278
- Optimize example code block regex by @mariosasko in #296
- Fix _versions.yml merge collisions by @mishig25 in #299
- Add repo_owner input to build workflows by @nateraw in #302
- Revert "Add repo_owner input to build workflows" by @mishig25 in #303
- Better error msg on github rest get api error by @mishig25 in #304
- 🐛 use proper package_name in doc-builder build cmd by @nateraw in #309
- Fix github main action by @mishig25 in #310
- Resolve params in text by @mariosasko in #311
- Escape HTML audio tag by @mishig25 in #313
- Allows docs to use pipeline icons by @mishig25 in #317
- Add redirects readme by @mishig25 in #318
- Fix readme build cmd by @mishig25 in #322
- Handle the case where there is no empty line before the argument block by @gante in #324
- Use huggingface hub for doc builds by @mishig25 in #315
- make main doc build token optional by @mishig25 in #325
- Fix doc comment duplication by @mishig25 in #326
- Fix notebook pull push steps by @mishig25 in #327
- Fix notebooks push by @mishig25 in #328
- Setup git by @mishig25 in #329
- Allow specifying ask for help url by @osanseviero in #333
- Add option to remove TOC check by @sgugger in #336
- Update documentation to mention that preview does not work with windows by @simoninithomas in #332
- Escape html vid tag by @mishig25 in #339
- Add repo owner to doc source links by @nateraw in #334
- 🚚 Upload to lib/version.zip instead of lib@@@version.zip by @coyotte508 in #344
- Resolve typos in comments and README by @tomaarsen in #346
- ⏪ Remove migration code + legacy separator by @coyotte508 in #349
- Add Windows support to
preview
with minimal changes & CI support by @tomaarsen in #351 - Script to delete old docs by @coyotte508 in #353
- ⚗️ Try to fix github action by @coyotte508 in #354
- Upgrade node + Fix
- Add support for building Jax notebooks by @stevhliu in #359
- Don't show [lang] inference snippet if it was not supplied by @mishig25 in #365
- 🐛 Fix "Cannot load tranformers/module" by @coyotte508 in #366
- Have fix bit typo README.md by @guspan-tanadi in #364
- 👷 Add pre_command input to CI job by @coyotte508 in #369
- Add
<include>
block for including non-code files by @xenova in #370 - Encode and decode
copy-to-clipboard
functionality using base64 by @xenova in #372 - Fix unit tests by @xenova in #374
- Add small change in readme by @mishig25 in #377
- Fix hover css by @mishig25 in #380
- Fix more hover css by @mishig25 in #381
- [security] Fix exposed push tokens through gh workflow_run by @mishig25 in #379
- Ignore all errors when trying to unpack refs from an external library by @sgugger in #383
- Revert hover css changes by @mishig25 in #384
- Update python version of workflow files by @mishig25 in #387
- Fix concurrent uploads by @mishig25 in #386
- Add missing workflow to the docs by @osanseviero in #390
- Update github actions descriptions order by @mishig25 in #391
- Optimize html tag replace regex (Fixes #331) by @xenova in #373
- Add support for the
pull_request_target
event in theupload_pr_documentation
workflow by @regisss in #392 - FIX html escape regex by @Wauplin in #394
- Update README.md with missing build command by @natolambert in #395
- fix doc builder build cmd in README.md by @nateraw in #293
- Fix regex to catch HTML tags by @Wauplin in #398
- Add
doc_builder_revision
as workflow input to ease debugging by @Wauplin in #399 - Add instructions to README by @Wauplin in #400
- Fix svelte special chars escaping problem by @mishig25 in #401
- [SvelteKit migration] to latest Sveltekit version by @mishig25 in #396
- Add eslint & prettier for the sveltekit by @mishig25 in #402
- Fix inline code escaping by @mishig25 in #403
- Node version 18 -> 20 by @mishig25 in #405
- Escape ` inside img alt descriptions by @mishig25 in #406
- [Diffusers] Set import to slow as env variable by @patrickvonplaten in #407
- [Fix] sveltekit build relative path issue by @mishig25 in #411
- Escape { in user supplied html by @mishig25 in #408
- Improve README documenting the syntax by @mishig25 in #409
- Fix readme toctree links by @mishig25 in #412
- Add node ci for sveltekit by @mishig25 in #404
- Revert "Add node ci for sveltekit (#404)" by @mishig25 in #413
- Fix readme indent issue by @mishig25 in #415
- [Fix] trl doc build by @mishig25 in #416
- [Fix] metadata post processing by @mishig25 in #414
- Escpaing of svelte characters inside doc body only by @mishig25 in #417
- Add SvelteKit CI by @mishig25 in #418
- [Fix] parsing html node ending correctly by @mishig25 in #419
- [Feature] Option to wrap code blocks by @mishig25 in #420
- Use
whitespace-pre-wrap
for wrapping code blocks by @mishig25 in #421 - [Doc readme] Document Code Block Wrap flag by @mishig25 in #422
- Headings rework by @mishig25 in #423
- Fix json stringify escaping by @mishig25 in #426
- Fix katex rendering by @mishig25 in #427
- New directory for preprocessors by @mishig25 in #425
- Refactor tag regex by @mishig25 in #429
- Rm package name check when intralinking by @mishig25 in #430
- [New syntax] Hf Options by @mishig25 in #431
- [Readme] document objects linkin better by @mishig25 in #433
- Code snippets have URL query params by @mishig25 in #432
- Add black as dependency at install by @albertvillanova in #434
- URL replaceState rather than pushState by @mishig25 in #435
- Document HF Options syntax by @mishig25 in #436
- Update README.md by @mishig25 in #437
- Update katex markers by @mishig25 in #438
- Expose sveltekit goto function to window by @mishig25 in #439
- [Docs partial load] Handle on default paths by @mishig25 in #440
- 🐛 Fix corrupted zips by @coyotte508 in #441
- Install zip in build main documnetation by @coyotte508 in #442
- Revert "[Docs partial load] Handle on default paths" by @mishig25 in #443
- Revert "Expose sveltekit goto function to window" by @mishig25 in #444
- [Custom client.js] Partial load on default paths by @mishig25 in #447
- 🔊 Log zip command to figure out error by @coyotte508 in #449
- 🐛 Fix versioned docs publish by @coyotte508 in #451
- 🚑 Fix zip build by @coyotte508 in #452
- Add
requests
test dependency by @Laurent2916 in #446 - Allow "none" in autodoc by @tomaarsen in #455
- Fix off-by-one error on safety condition in while loop by @tomaarsen in #454
- Disable upload_pr_documentation.yml by @mishig25 in #459
- Delete doc comment trigger files by @mishig25 in #460
- Use GITHUB_OUTPUTS, not GITHUB_ENV for security reasons by @mishig25 in #461
- [PR docs message] Update saying available for 30 days by @mishig25 in #463
- Add
workflow_dispatch
to events that trigger upload PR doc by @regisss in #466 - Run
npm audit fix
by @mishig25 in #467 - use github-like Tip & Warning syntax by @mishig25 in #468
- Better support for notebooks-to-md by @mishig25 in #469
- [Fix] notebook_to_mdx command corerct output dir by @mishig25 in #470
- [Fix] string quotes issue in doc-builder notebook-to-mdx by @mishig25 in #471
- [Fix] doc-builder notebook-to-mdx command path by @mishig25 in #472
- [Feature] add colab link to automaitc nb -> md conversion by @mishig25 in #473
- [Fix] notebook-to-mdx colab link creation workflow by @mishig25 in #474
- [Fix] typo by @mishig25 in #476
- [Fix] workflow notebook colab path by @mishig25 in #478
- [Fix] Svelte notebook btn overlapping with long title by @mishig25 in #479
- [README] document notebook conversion by @mishig25 in #480
- [Lint] sveltekit by @mishig25 in #481
- Add release directions + license to setup.py by @muellerzr in #483
New Contributors
- @mariosasko made their first contribution in #295
- @fxmarty made their first contribution in #278
- @nateraw made their first contribution in #302
- @gante made their first contribution in #324
- @osanseviero made their first contribution in #333
- @simoninithomas made their first contribution in #332
- @tomaarsen made their first contribution in #346
- @stevhliu made their first contribution in #359
- @guspan-tanadi made their first contribution in #364
- @xenova made their first contribution in #370
- @Wauplin made their first contribution in #394
- @natolambert made their first contribution in #395
- @patrickvonplaten made their first contribution in #407
- @albertvillanova made their first contribution in #434
- @Laurent2916 made their first contribution in #446
Full Changelog: v0.4.0...v0.5.0