pinout.vvzero.com/README.md

65 lines
3.1 KiB
Markdown
Raw Normal View History

2016-09-28 04:34:35 +08:00
#Pinout.xyz
2015-02-24 18:09:41 +08:00
2016-09-28 04:34:35 +08:00
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a>
2015-02-24 18:09:41 +08:00
2016-09-28 04:34:35 +08:00
Pinout.xyz is the successor to the popular Pi pinout website originally hosted on http://pi.gadgetoid.com/pinout
2016-09-28 04:34:35 +08:00
To support translation efforts, and allow people to build tools with the data in this repository, Pinout.xyz is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
2015-02-24 18:09:41 +08:00
2016-09-28 04:34:35 +08:00
This license excludes the file pinout-graphic-horizontal.ai, which is provided under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a> to permit commercial use; specifically publication in books and magazines with appropriate attribution.
2016-09-28 04:34:35 +08:00
#About this project
This project aims to build a consistent workflow behind the Pinout.xyz front-end, gather useful information about the Raspberry Pi GPIO interface and add-on boards, and invite board manufacturers to produce their own "overlay" files which describe which pins their Pi add-ons use.
We hope that by making this project open and extensible I will invite not only contributions of board pinouts, but translations too.
2015-02-24 18:09:41 +08:00
#Contributing
2015-11-09 05:35:58 +08:00
If you have a board you'd like to contribute, raise an issue and we'll consider it!
2016-09-28 04:34:35 +08:00
If you've spotted an error, ommission or have a suggestion then you're welcome to do the same.
2015-11-09 05:35:58 +08:00
#Translating
2015-11-09 05:35:58 +08:00
The contents of this GitHub repository are used to build http://pinout.xyz and its translated subdomains.
2016-10-19 20:28:45 +08:00
Maintainers: @gadgetoid and @RogueM
2015-02-24 18:09:41 +08:00
2016-10-19 23:01:12 +08:00
GPIO Zero code examples by: @bennuttall
2016-10-19 20:28:45 +08:00
Notable contributions:
* en - @lurch and @abelectronicsuk
2015-11-15 04:32:46 +08:00
* de - @rdmueller and @KojoePi
* es - @ResonantWave and @IkerGarcia
2015-11-15 04:32:46 +08:00
* fr - @RogueM
* it - @LizardM4
2015-12-04 01:31:15 +08:00
* pt - @Maslor
2015-11-15 04:32:46 +08:00
* tr - @Ardakilic
2015-02-24 18:09:41 +08:00
2016-09-28 04:34:35 +08:00
If you would like to provide support for a language not yet in the repository you should start by duplicating the `src/en` directory to the appropriate culture. For example if you want to create a German translation you would create the folder `src/de`.
2015-02-24 18:09:41 +08:00
2016-09-28 04:34:35 +08:00
There are no plans to support cultures (it would just get out of hand!), so you can't have `src/fr-CA` ( sorry! ).
2015-02-24 18:09:41 +08:00
2015-11-09 05:35:58 +08:00
Once you've made your translation, build and preview it with, for example:
```bash
2015-11-14 07:16:37 +08:00
make serve LANG=de
2015-11-09 05:35:58 +08:00
```
And then open: http://127.0.0.1:5000 in your browser.
2015-02-24 18:09:41 +08:00
2015-11-09 05:35:58 +08:00
Please do not attempt to translate the `/resources` folder, this is shared between sites on the server and should be generic.
2015-02-24 18:09:41 +08:00
2015-11-09 05:35:58 +08:00
Feel free to modify the template with links relevent to your country, and your Twitter handle but don't fiddle with the structure!
2015-02-24 18:09:41 +08:00
2016-09-28 04:34:35 +08:00
Submit your finished translation as a pull request and we'll get it live on its own pinout.xyz subdomain :)
2015-11-09 05:35:58 +08:00
2016-09-28 04:34:35 +08:00
#Roadmap & wishlist
2015-11-09 05:35:58 +08:00
2016-09-28 04:34:35 +08:00
* Redesign HTML generation and unify HTML templates into a single, translatable file
* Add functionality to compare two or more boards, to visualise pin compatibility
2015-11-14 07:16:37 +08:00
* Tool to convert WiringPi to GPIO to BCM and back
2016-09-28 04:34:35 +08:00
* Add as many boards as possible!