-
Notifications
You must be signed in to change notification settings - Fork 5
Contribution guidelines
Note
Given the project's nature, the repository presently contains little to no code. It could be argued this is a "misuse" or "wasteful" use of GitHub's resources, but keep in mind, versioning of SVGs is a concept and helps a lot in preserving changes and so, past releases. If you have better hosting solutions that are free and keep the nature of the project unchanged (everything is accessible), please create an issue for the matter.
Contribution to the HOLP repository is permitted to anyone, as far as the rules allow.
To get started, fork the repository first.
You may propose additions, deletions or changes to the cards section. The cards section (the lower half of the timeline) shows important events that marked the open-source community; events that shaped both the kernel and user space. To propose additions, deletions, or changes, use the Issues tab to open a new issue if no related issue already exists.
There are two ways you can contribute translations to HOLP. The first one is the less tedious method and suggested one. The second one makes use of some Python scripts located in the Scripts directory. You may ignore the below indications as long as the result is the same: a newly translated .drawio diagram that is almost identical to the original English version, that follows these rules.
- The translated diagram must be located inside the
Diagramsdirectory. - The diagram must be suffixed with a ISO 639-2 3-letter language code.
- The translated diagram must look as similar to the original version as possible.
Example: Mark decides he wants to contribute to the repository with an Italian translation. He clones the repository and starts working on a copy of the original diagram. When he's finished, he cleans up and saves the newly translated diagram with the following name: Timeline-ITA.drawio. He will later submit a pull request for evaluation and approval.
- Save a copy of the original English version
Diagrams/Timeline.drawioand name it using theDiagrams/Timeline-ABC.drawioconvention, whereABCrepresents the 3-letter code of the target language. - Translate relevant text in the diagram, move cards around to make space if needed, scale and resize images if needed.
- Save the changes and push them to your forked repository.
- Submit a pull request on GitHub.
- Run
Scripts/extract.pyto extract a JSON file containing the text to be translated. This mostly includes cards, image captions and similar. - Modify the JSON file by translating text into your desired language.
- When finished, run
Scripts/update.pyto create a new diagram using your newly created translation. - Submit a pull request on GitHub.
Of course, you can also suggest corrections to translations using the "Issues" tab from the repository's home page. Simply add the "translation" label to your issue and submit away.