Skip to content

Commit dab8e9f

Browse files
committed
1 parent e6e903e commit dab8e9f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+1135
-679
lines changed

README.md

+9-18
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,15 @@ Note that as part of the submission, a top-down view of the board in the form of
2929
Once your draft has been made, before filing a pull request, you should try to render the page and make sure it build and appears as intended. To do so:
3030

3131
```bash
32-
./draft/publish myboard
33-
make serve LANG=en
32+
draft/publish.sh myboard
33+
make LANG=en serve
3434
```
35-
3635
And then open: http://127.0.0.1:5000 in your browser.
3736

3837
Once you are happy with the result,
3938

4039
```bash
41-
./draft/unpublish myboard
40+
/draft/unpublish myboard
4241
```
4342
(this will file the overlay back into the draft folder, ready for review)
4443

@@ -47,7 +46,7 @@ Once you are happy with the result,
4746

4847
*note 2: if you are facing issues with your preview (board not showing, text update not appearing, etc.), you can fix it by erasing your browser's cache (image and cache file only).*
4948

50-
If you feel that the requirements for submissions is beyond your current possibilities, you may raise an [issue]() requesting the addition of a specific board instead and we'll consider it!
49+
If you feel that the requirements for submissions is beyond your current possibilities, you may raise an issue requesting the addition of a specific board instead and we'll consider it!
5150

5251
# Translating
5352

@@ -67,28 +66,20 @@ make serve LANG=de
6766

6867
And then open: http://127.0.0.1:5000 in your browser.
6968

70-
The last step will be to submit your finished translation as a [pull request]() (this can include any number of boards, it does not have to be the entire line-up) and we'll get it live on its own *<languagecode>*.pinout.xyz subdomain.
69+
The last step will be to submit your finished translation as a pull request (this can include any number of boards, it does not have to be the entire line-up) and we'll get it live on its own *<languagecode>*.pinout.xyz subdomain.
7170

7271
If you wish to provide a translation for an existing subdomain, or correct a typo in an existing markdown file, just edit the file in place (leaving the files in the `translate` folder for review, if you are pushing a translation).
7372

74-
If you have a question about translations, raise an [issue]() and we'll be happy to help you get past whatever hurdle you may face!
73+
If you have a question about translations, raise an issue and we'll be happy to help you get past whatever hurdle you may face!
7574

7675

7776
# Roadmap & wishlist
7877

79-
* Add as many [boards]() as possible!
78+
* Add as many boards as possible!
8079

8180
# Acknowledgement
8281

83-
Maintainers: [@Gadgetoid](https://github.com/Gadgetoid) and [@RogueM](https://github.com/RogueM)
84-
85-
GPIO Zero code examples by: [@bennuttall](https://github.com/bennuttall)
82+
96Boards pinout: [radhikap18](https://github.com/radhikap18)
83+
Pinout.xyz Maintainers: [@Gadgetoid](https://github.com/Gadgetoid) and [@RogueM](https://github.com/RogueM)
8684

87-
Notable contributions:
8885

89-
* [en](http://pinout.xyz/) - [@lurch](https://github.com/lurch), [@abelectronicsuk](https://github.com/abelectronicsuk) and [@francesco-vannini](https://github.com/francesco-vannini)
90-
* [de](http://de.pinout.xyz/) - [@rdmueller](https://github.com/rdmueller) and [@KojoePi](https://github.com/KojoePi)
91-
* [es](http://es.pinout.xyz/) - [@ResonantWave](https://github.com/ResonantWave) and [@IkerGarcia](https://github.com/IkerGarcia)
92-
* [fr](http://fr.pinout.xyz/) - [@RogueM](https://github.com/RogueM) and [@smileyn64](https://github.com/smileyn64)
93-
* [it](http://it.pinout.xyz/) - [@LizardM4](https://github.com/LizardM4)
94-
* [tr](http://tr.pinout.xyz/) - [@Ardakilic](https://github.com/Ardakilic)

TODO.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
# TODO
1+
#TODO
2+
23

changelog.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#Overlays History
2+
3+
This document only logs the changes to the overlay files that are relevant for purposes of translations. See files history for further details!
4+

common/.DS_Store

6 KB
Binary file not shown.

common/layout.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</head>
2222
<body class="{{body_class}}">
2323
<div id="container">
24-
<h1 class="logo"><a title="96Boards GPIO Pinout home" href="/"><img src="{{resource_url}}pinout-logo.png" />Raspberry Pi Pinout</a></h1>
24+
<h1 class="logo"><a title="96Boards GPIO Pinout home" href="/"><img src="{{resource_url}}pinout-logo.png" />96Boards Pinout</a></h1>
2525

2626
{{main_content}}
2727

convert.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import sys
33

44

5-
db = json.load(open('pi-pinout.db'))
5+
db = json.load(open('96-pinout.db'))
66

77

88
def from_phys(phys, mode="bcm"):

data.json

+1-1
Large diffs are not rendered by default.

draft/.DS_Store

6 KB
Binary file not shown.

draft/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ I2C and SPI pins should be included if your board uses them, however they will g
1515

1616
Power pins and EEPROM should specifically be excluded, but specifying the power and eeprom fields are highly recommended if that info is known.
1717

18-
All of the above is further expended in the overlay template.md. We recommend you use this template as a starting point for any new add-on board submission and add or remove fields as required.
18+
All of the above is further expended in the overlay template.md. We recommend you use this template as a starting point for any new add-on board submission and add or remove fields as required.

draft/boards/.DS_Store

6 KB
Binary file not shown.

draft/overlay/.DS_Store

6 KB
Binary file not shown.

draft/overlay/template.md

+7-25
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,23 @@ class: board
55
type: other
66
formfactor: Custom
77
manufacturer: Company
8-
description: An add-on board for the Raspberry Pi
8+
description: An add-on board for 96Boards
99
url: https://my-addon-board.com
1010
github: https://github.com/my-addon-board-repo.com
1111
schematic: https://my-addon-board-schematic.com
1212
buy: http://buy-my-addon-board.com
1313
image: 'image.png'
1414
pincount: 40
15-
eeprom: no
1615
power:
16+
'':
17+
'':
18+
ground:
1719
'1':
1820
'2':
19-
ground:
20-
'6':
21-
'9':
22-
'14':
23-
'20':
24-
'25':
25-
'30':
26-
'34':
2721
'39':
22+
'40':
2823
pin:
29-
'3':
30-
mode: i2c
31-
'5':
32-
mode: i2c
33-
'7':
34-
name: Enable
35-
mode: output
36-
active: high
37-
i2c:
38-
'0x00':
39-
name: device display name
40-
device: chip name
24+
4125
-->
4226
#my add-on board
4327

@@ -46,10 +30,8 @@ Use this section to provide additional information such as features, technical p
4630
The overlay itself uses the following fields, some of which are mandatory, as noted below:
4731

4832
MANDATORY
49-
* name: the board name as it will appear at pinout.xyz
33+
* name: the board name as it will appear at 96boards/pinout
5034
* class: the class the overlay falls in, 'board' is the most common (use that if in doubt).
51-
* type: the typical applications of the board, i.e 'lcd' (use 'other' if in doubt). If multiple types apply, use a comma separated list (for example, 'adc,motor'). The keywords submitted will be used to filter boards on the site so don't include anything but tags that are relevant to the key functionality of the board.
52-
* formfactor: the board's form factor. Valid values are Custom, HAT and pHAT. Note that an EEPROM is required for HAT specs, use Custom if that is not the case.
5335
* manufacturer: the manufacturer's name.
5436
* description: a description of what the add-on board provides.
5537
* url: the main URL for the product providing detailed technical information about the board.

0 commit comments

Comments
 (0)