Skip to content

Commit 7245fff

Browse files
committed
Re-arrange content
- moved all images to one assets folder - folders with templates can now directly be copied - readme file in each were moved to just one readme file in the /contribution-template folder
1 parent 2ea9b8a commit 7245fff

Some content is hidden

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

46 files changed

+107
-90
lines changed

contribution-templates/README.md

Lines changed: 61 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ We're happy that you have found our contribution page! Here you will find everyt
2727

2828
The main thing you can contribute with on the Arduino Documentation repository, is the fixing of bugs, misspelling and other similar but small issues.
2929

30-
***You are allowed to suggest these changes on all content available on the repository.***
30+
***You are allowed to suggest these changes on all content available in this repository.***
3131

3232
## Adding your own content
3333

@@ -60,28 +60,28 @@ You should use the following markdown styling for our content:
6060

6161
|Style|Use|Description|Example|
6262
|-----|---|-----------|-------|
63-
|**Bold**|\*\*bold**|Use bold when you are referring to either a path in the chosen software, or when you want to highlight a specific topic or button.|![Example use of bold](assets/bold1.png)|
64-
|**Inline Code**|\`code\`|Use the inline code markdown for code inside text sections.|![Example use of inline code](assets/inline-code.png)|
65-
|**Code Snippet**|\```arduino <br><br> this is my code <br><br>\```|Use the code snippet markdown for longer code snippets.|![Example use of code snippet](assets/code-snippet.png)|
66-
|**Notes**|\*\*\*Note: This is my note.***|Use the three asterisks for note tags. Note that these can’t contain line-breaks unless made with a \<br> tag.|![Example use of note tag](assets/notes.png)|
63+
|**Bold**|\*\*bold**|Use bold when you are referring to either a path in the chosen software, or when you want to highlight a specific topic or button.|![Example use of bold](_assets/bold1.png)|
64+
|**Inline Code**|\`code\`|Use the inline code markdown for code inside text sections.|![Example use of inline code](_assets/inline-code.png)|
65+
|**Code Snippet**|\```arduino <br><br> this is my code <br><br>\```|Use the code snippet markdown for longer code snippets.|![Example use of code snippet](_assets/code-snippet.png)|
66+
|**Notes**|\*\*\*Note: This is my note.***|Use the three asterisks for note tags. Note that these can’t contain line-breaks unless made with a \<br> tag.|![Example use of note tag](_assets/notes.png)|
6767
|**Quotes**|\> This is a quote.|Use sparsely and with quotes only.|![Example use of quote tag]()|
68-
|**Bullet points**|\* bullet point 1 <br>\* bullet point 2 <br>\* bullet point 3|Use the * or the - to make bullet points in your tutorial. <br><br> If your bullet point is a full sentence, remember to punctuate it. If your bullet point is a single word, or words not making a sentence, leave the punctuation off.|![Example use of bullet points](assets/bullet-points.png)|
69-
|**Numbered lists**|\*\*1.** One <br>\*\*2.** Two <br>\*\*3.** Three|Make sure to bold your numbering lists to make them format properly.|![Example use of numbered lists](assets/numbered-list.png)|
70-
|**Paths**|This > is > my > path|Use > when describing paths in your chosen software.|![Example use of paths](assets/path.png)|
71-
|**Images**|![image alternative text](relative link to image in assets folder)|Use the image tag to display images.|![Example use of images](assets/image-tags.png)|
68+
|**Bullet points**|\* bullet point 1 <br>\* bullet point 2 <br>\* bullet point 3|Use the * or the - to make bullet points in your tutorial. <br><br> If your bullet point is a full sentence, remember to punctuate it. If your bullet point is a single word, or words not making a sentence, leave the punctuation off.|![Example use of bullet points](_assets/bullet-points.png)|
69+
|**Numbered lists**|\*\*1.** One <br>\*\*2.** Two <br>\*\*3.** Three|Make sure to bold your numbering lists to make them format properly.|![Example use of numbered lists](_assets/numbered-list.png)|
70+
|**Paths**|This > is > my > path|Use > when describing paths in your chosen software.|![Example use of paths](_assets/path.png)|
71+
|**Images**|![image alternative text](relative link to image in assets folder)|Use the image tag to display images.|![Example use of images](_assets/image-tags.png)|
7272

7373
***Note that we are not including cursive writing as a markdown style. We implore you not to use cursive as a means to highlight text. Instead use bold.***
7474

7575
---
7676

77-
<!-- ## Graphics
77+
## Graphics
7878

7979
All graphics should be **1920x1080**. All graphics are stored in an assets folder in the documentation folder. See section **Naming Guidelines**.
8080

8181
|Type|Purpose|Guidelines|Example|
8282
|----|-------|----------|-------|
83-
|Circuit/Schematic|**Circuit diagrams** represent how Arduino products work with components in order to function. <br> A **schematic** is a stylized electronic diagram explaining electric circuits.|Please follow [this]() guide on how to create your own Arduino approved circuit diagrams and schematics.|![Example of circuit](assets/circuit1.png)<br>![Example of circuit](assets/circuit2.png)|
84-
|Screenshot|**Screenshots** are most often used to show the program in the Arduino IDE or any other chosen software.|Please follow [this]() guide on how to create your own Arduino approved screenshots.|![Example of screenshot](assets/screenshot1.png)<br>![Example of screenshot](assets/screenshot2.png)<br>![](assets/screenshot3.png)| -->
83+
|Circuit/Schematic|**Circuit diagrams** represent how Arduino products work with components in order to function. <br> A **schematic** is a stylized electronic diagram explaining electric circuits.|Please follow [this]() guide on how to create your own Arduino approved circuit diagrams and schematics.|![Example of circuit](_assets/circuit1.png)<br>![Example of circuit](_assets/circuit2.png)|
84+
|Screenshot|**Screenshots** are most often used to show the program in the Arduino IDE or any other chosen software.|Please follow [this]() guide on how to create your own Arduino approved screenshots.|![Example of screenshot](_assets/screenshot1.png)<br>![Example of screenshot](_assets/screenshot2.png)<br>![](_assets/screenshot3.png)|
8585

8686
## Naming Guidelines
8787

@@ -93,15 +93,15 @@ Name the folder after the title of your documentation. The name of the folder sh
9393

9494
`SoftwareSerialExample`
9595

96-
![Naming of tutorial folder](assets/tutorial-folder.png)
96+
![Naming of tutorial folder](_assets/tutorial-folder.png)
9797

9898
The folder should then contain an assets folder, as well as the main content markdown file. It’s important to name the main content file the same name as the folder.
9999

100100
`connector-basics.md`
101101

102102
`SoftwareSerialExample.md`
103103

104-
![Naming and formatting of tutorial folder](assets/tutorial-folder2.png)
104+
![Naming and formatting of tutorial folder](_assets/tutorial-folder2.png)
105105

106106
### Images
107107

@@ -110,3 +110,50 @@ There is no specific way you need to name the images, however it is a good pract
110110
`UNO-Mini-LE-external-power.png`
111111

112112
`rp2040-ap-mode-img-01.png`
113+
114+
## Format Guidelines
115+
116+
### Tutorial Guidelines
117+
118+
To write a tutorial for the Arduino Documentation website, you should follow these guidelines:
119+
120+
|Section|Rules|Description|Example|
121+
|-------|-----|-----------|-------|
122+
|**Frontmatter**|You must fill in title, description and author. The others are voluntary.|Here is where you add the metadata of your tutorial. This is including the author, title of tutorial, compatible libraries, compatible hardware etc.|![Example of Frontmatter](_assets/frontmatter.png)|
123+
|**Introduction**|This is an h2 heading. <br><br> You should not change the name of the heading.|The Introduction to the tutorial should be a maximum of three sentences long and be well descriptive of what the reader can expect of the tutorial.|![Example of Introduction](_assets/tut-intro.png)|
124+
|**Goals**|This is an h2 heading. <br><br> You should not change the name of the heading.|What are the goals of this tutorial? What should the reader be able to do at the end?|![Example of Goals](_assets/tut-goals.png)|
125+
|**Hardware & Software Needed**|This is an h2 heading. <br><br> You should not change the name of the heading.|Here you set the hardware and software you need to continue your tutorial. You are more than welcome to link the Arduino based software and hardware to the respective store or downloads page.|![Example of Hardware & Software](_assets/tut-hardware.png)|
126+
|**Circuit/Schematic**|This is an h2 heading. <br><br> You should not change the name of the heading.|Here you add the circuits and/or schematics of your tutorial.|![Example of Circuit](_assets/tut-circuit.png)|
127+
|**Focus Feature**|This is an h2 heading. <br><br> Here you are allowed to use as many h3 headings as you want, to be able to divide your content into easier to read sections. <br><br> You can add up to three Focus Feature headings in your tutorial. <br><br> This is the only heading you are allowed to modify.|This sections heading should be updated to the main focus of your tutorial. This is where the information about the focus start.|![Example of Focus Feature](_assets/tut-fcus.png)|
128+
|**Programming the Board**|This is an h2 heading. <br><br> You should not change the name of the heading.|This is the section where you go through the code of your tutorial. |![Example of Programming the Board](_assets/tut-programming.png)|
129+
|**Testing it Out**|This is an h2 heading. <br><br> You should not change the name of the heading.|This is the experimental part of your tutorial, where the reader is supposed to test out the code and focus of your tutorial.|![Example of Testing it Out](_assets/tut-testing.png)|
130+
|**Troubleshoot**|This is an h3 heading. <br><br> You should not change the name of the heading.|If there are something in your tutorial that you know people might get stuck on, or get wrong, this is the section where you give suggestion on how the reader can troubleshoot.|![Example of Troubleshoot](_assets/tut-troubleshoot.png)|
131+
|**Conclusion**|This is an h2 heading. <br><br> You should not change the name of the heading.|This is where you summarize your tutorial in a few sentences. What is it that you hoped to have taught or shown the reader?|![Example of Conclusion](_assets/tut-conclusion.png)|
132+
133+
### How To Guidelines
134+
135+
To write a How To for the Arduino Documentation website, you should follow these guidelines:
136+
137+
|Section|Rules|Description|Example|
138+
|-------|-----|-----------|-------|
139+
|**Frontmatter**|You must fill in title, description and author. The others are voluntary.|Here is where you add the metadata of your How To. This is including the author, title of How To, compatible libraries, compatible hardware etc. <br><br> You must fill in title, description and author. The others are voluntary. **Note** that you must remove the sections in the frontmatter which are empty.|![Example of Frontmatter](_assets/frontmatter.png)|
140+
|**Introduction**|This is an h2 heading. <br><br> You should not change the name of the heading.|The Introduction to the tutorial should be a maximum of three sentences long and be well descriptive of what the reader can expect of the How To.|![Example of Introduction](_assets/nug-intro.png)|
141+
|**Hardware & Software Needed**|This is an h2 heading. <br><br> You should not change the name of the heading.|Here you set the hardware and software you need to continue your How To. You are more than welcome to link the Arduino based software and hardware to the respective store or downloads page.|![Example of Hardware & Software](_assets/nug-hardware.png)|
142+
|**Circuit**|This is an h2 heading. <br><br> You should not change the name of the heading.|Here you add the circuit/s and of your How To.|![Example of Circuit](_assets/nug-circuit.png)|
143+
|**Schematic**|This is an h2 heading. <br><br> You should not change the name of the heading.|Here you add the schematic/s and of your How To.|![Example of Schematic](_assets/nug-schematic.png)|
144+
|**Code**|This is an h2 heading. <br><br> You should not change the name of the heading.|This is where you add your sketch code as well as the descriptive text explaining what the code does and is used for.|![Example of Code](_assets/nug-code.png)|
145+
|**Learn more**|This is an h2 heading. <br><br> You should not change the name of the heading.|This is where you link to more information that the reader could be interested in. This could for example be other tutorials that delve deeper into the same topic, or a project that focus on the learnings of this How To.|![Example of Learn more](_assets/nug-learn.png)|
146+
147+
### Article Guidelines
148+
149+
To write a article for the Arduino Documentation website, you should follow these guidelines:
150+
151+
# Structure
152+
153+
|Section|Rules|Description|Example|
154+
|-------|-----|-----------|-------|
155+
|**Frontmatter**|You must fill in title, description and author. The others are voluntary.|Here is where you add the metadata of your article. This is including the author, title of tutorial, compatible libraries, compatible hardware etc.|![Example of Frontmatter](_assets/frontmatter.png)|
156+
|**Introduction**|This is an h2 heading. <br><br> You should not change the name of the heading.|The Introduction should be a maximum of three sentences long and be well descriptive of what the reader can expect of the article.|![Example of Introduction](_assets/art-intro.png)|
157+
|**Hardware & Software Needed**|This is an h2 heading. <br><br> You can modify the heading if your article only requires one of the two, either Hardware or Software.|Here you set the hardware and software you need to continue your tutorial. You are more than welcome to link the Arduino based software and hardware to the respective store or downloads page.|![Example of Hardware & Software](_assets/hardware.png)|
158+
|**Circuit/Schematic**|This is an h2 heading. <br><br> You should not change the name of the heading.|Here you add the circuits and/or schematics of your tutorial.|![Example of Circuit](_assets/art-circuit.png) <br><br> ![Example of Schematic](_assets/art-schematic.png)|
159+

contribution-templates/article-template/README.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

contribution-templates/article-template/article-template.md

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,40 @@ description: 'This is the template for creating an article for the Arduino Docum
44
tags:
55
- article
66
author: 'Arduino'
7-
libraries:
8-
- name: Arduino PDM
9-
url: https://www.arduino.cc/en/Reference/PDM
10-
hardware:
11-
- hardware/03.nano/boards/nano-rp2040-connect
12-
software:
13-
- ide-v1
14-
- ide-v2
15-
- web-editor
16-
- iot-cloud
177
---
188

19-
<!--Update the frontmatter above with information that fits your article. Remove the section that are not relevant or filled in. Note that you must at least fill in the title, description and author.-->
20-
219
## Introduction
2210

23-
<!-- Write a short introduction to the article. This should be maximum three sentences long and summarize what the article is about. -->
11+
Write a short introduction to the article. Consider this to be an abstract that should summarize the content of this article.
12+
13+
Note that **plagiarism is unacceptable**, and we encourage you to provide references used to produce your article. These can be listed under the **"References"** section at the bottom of this article. Plagiarised work will be removed immediately.
14+
15+
## Hardware & Software Needed (Optional)
2416

25-
## Hardware & Software Needed
17+
***This section is optional, since articles may not directly include the use of an Arduino board or the software.***
2618

27-
<!-- List the hardware and software needed. This could be the IDEs, libraries but also the hardware such as the board for example. Make sure to link to whatever you are listing. -->
19+
List the hardware and software needed. This could be the IDEs, libraries but also the hardware such as the board for example. Make sure to link to whatever you are listing.
2820

2921
- Arduino IDE ([online](https://create.arduino.cc/) or [offline](https://www.arduino.cc/en/main/software)).
3022
- [Arduino Nano RP2040 Connect](https://store.arduino.cc/nano-rp2040-connect).
3123
- etc.
3224

33-
## Circuit
25+
## Section 1
26+
27+
Free format section.
28+
29+
## Section 2
30+
31+
Free format section.
32+
33+
## Section 3
34+
35+
Free format section.
36+
37+
## Conclusion
38+
39+
A summary of your article.
40+
41+
## References
3442

35-
<!-- Add the image of the circuit here. This section should not need any text following the image, only a well thought alternative image text. -->
43+
- [Arduino (Wikipedia)](https://en.wikipedia.org/wiki/Arduino)

contribution-templates/how-to-template/README.md

Lines changed: 0 additions & 13 deletions
This file was deleted.
Binary file not shown.

0 commit comments

Comments
 (0)