-
Notifications
You must be signed in to change notification settings - Fork 27.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup for Italian translation and add quicktour.mdx translation (#17472)
* Setup for Italian translation and add first document - Add 'it' folder for files translated into Italian - Add _config.py and _toctree.yml files - Add translation of quicktour.mdx * Fix style issue of italian documentation files * Add 'it' to the languages section in the .github/workflows * Remove - installation from _toctree for Italian * Translation for index file - Add index to _toctree.yml - Add translation of index.mdx * Fix typo in docs/source/it/index.mdx * Translate code comments in docs/source/it/_config.py Co-authored-by: Martina Fumanelli <[email protected]>
- Loading branch information
1 parent
8f8b3cb
commit dfc3846
Showing
6 changed files
with
707 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# docstyle-ignore | ||
INSTALL_CONTENT = """ | ||
# Installazione di Transformers | ||
! pip install transformers datasets | ||
# Per installare dalla fonte invece dell'ultima versione rilasciata, commenta il comando sopra e | ||
# rimuovi la modalità commento al comando seguente. | ||
# ! pip install git+https://github.com/huggingface/transformers.git | ||
""" | ||
|
||
notebook_first_cells = [{"type": "code", "content": INSTALL_CONTENT}] | ||
black_avoid_patterns = { | ||
"{processor_class}": "FakeProcessorClass", | ||
"{model_class}": "FakeModelClass", | ||
"{object_class}": "FakeObjectClass", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
- sections: | ||
- local: index | ||
title: 🤗 Transformers | ||
- local: quicktour | ||
title: Tour rapido | ||
title: Iniziare |
Oops, something went wrong.