Qiskit Textbook Translation Release Guide
This file shows the steps of how to release your translated and merged files.
The first time when you release the translation
Copy toc.yaml file from
./notebooks/
and paste it under your language folder./translations/xx/
.In toc.yaml file, keep only lines about translated and merged files and remove the rest.
Example: if only the file
/ch-states/representing-qubit-states
was merged, please keep below lines and remove the rest of the files.
Translate the titles of the folders.
Example: translate
- title: Quantum States and Qubits
to- title: 量子状態と量子ビット
Remove the title lines of the file. Example: delete
- title: Representing Qubit States
Add
-
in front ofid
. Example: changeid: representing-qubit-states
to- id: representing-qubit-states
Example should look like:
Commit the changes and send Pull Request.
Please see toc.yaml for Japanese for your reference.
For second and subsequent release
When the new translated files are merged, update toc.yaml file as follows.
Copy the lines about new translated and merged files of toc.yaml file under
./notebooks/
.Paste it in the correct position of your toc.yaml file under your language folder
./translations/xx/
.Translate the titles of the folders if you need.
Remove the title lines of the file if it exists.
Add
-
in front ofid
.Example: If the file
/ch-states/case-for-quantum
was newly merged, thentoc.yaml
should be changed like
Commit the changes and send Pull Request.