27
27
28
28
### To build html versions of translated resources
29
29
Whenever a resource is fully translated and reviewed, Transifex will make a pull request to the corresponding github repo (Tutorials, in this case)
30
- -- Merge the pull request to main
31
- -- Fetch and pull to your local repo to update it
32
- -- If it doesn't already exist, create a toc (table of contents) directory inside the 'source' folder (similar to toc_en)
33
- -- Give the folder an appropiate name (like toc_es for Spanish or toc_pt_BR for Brazilian Portuguese)
34
- -- Copy the index.rst file one from source/toc_en/ and paste it in the new toc folder
35
- -- Open the index.rst file and edit it giving appropiate titles to each tutorial and translate the welcoming title
30
+ - Merge the pull request to main
31
+ - Fetch and pull to your local repo to update it
32
+ - If it doesn't already exist, create a toc (table of contents) directory inside the 'source' folder (similar to toc_en)
33
+ - Give the folder an appropiate name (like toc_es for Spanish or toc_pt_BR for Brazilian Portuguese)
34
+ - Copy the index.rst file one from source/toc_en/ and paste it in the new toc folder
35
+ - Open the index.rst file and edit it giving appropiate titles to each tutorial and translate the welcoming title
36
36
37
- -- In your terminal ` cd ` into ` [YourTutorialsRepo]/internal_use/docs/source/ `
38
- -- Run ` sphinx-build -b html -D language=es -D root_doc=toc_es/index . ../build/html_es ` to build in Spanish
39
- -- Run ` sphinx-build -b html -D language=pt_BR -D root_doc=toc_pt_BR/index . ../build/html_pt_BR ` to build in Protuguese (Brazil)
37
+ - In your terminal ` cd ` into ` [YourTutorialsRepo]/internal_use/docs/source/ `
38
+ - Run ` sphinx-build -b html -D language=es -D root_doc=toc_es/index . ../build/html_es ` to build in Spanish
39
+ - Run ` sphinx-build -b html -D language=pt_BR -D root_doc=toc_pt_BR/index . ../build/html_pt_BR ` to build in Protuguese (Brazil)
40
40
41
41
42
42
## ** To build (when adding new tutorials) or update (when editing an existing tutorial in English) the .toc files for the translation in transifex**
@@ -49,8 +49,9 @@ Whenever a resource is fully translated and reviewed, Transifex will make a pull
49
49
- * Don't forget to commit your changes to Github!!*
50
50
51
51
52
+ ----------
53
+ ----------
52
54
53
- ================================================================================================================
54
55
55
56
# OLD INSTRUCTIONS:
56
57
0 commit comments