From f9482183e17f484e656a5e6677eea4f0ea2f28bf Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 8 Jul 2020 10:40:31 -0700 Subject: [PATCH 1/2] Move examples style guide link to examples section of the library specification --- docs/library-specification.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/library-specification.md b/docs/library-specification.md index a61d9c74d97..252a42f34f8 100644 --- a/docs/library-specification.md +++ b/docs/library-specification.md @@ -15,8 +15,6 @@ Arduino development software supports multiple microcontroller architectures (e. The Arduino library style guide is here : http://arduino.cc/en/Reference/APIStyleGuide -The style guide for examples is here : http://arduino.cc/en/Reference/StyleGuide - ## 1.5 library format (rev. 2.2) ### Library metadata @@ -102,6 +100,10 @@ Library examples must be placed in the **examples** folder. Note that the **exam Sketches contained inside the examples folder will be shown in the Examples menu of the Arduino IDE and Arduino Web Editor. +More information: + +* [Style guide for Arduino examples](http://arduino.cc/en/Reference/StyleGuide) + #### Extra documentation An **extras** folder can be used by the developer to put documentation or other items to be bundled with the library. Remember that files placed inside this folder will increase the size of the library, so putting a 20MB PDF in a library that weights a few kilobytes may not be such a good idea. From 27d6005510fdbac409b583e18fb61029b0b0938f Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 8 Jul 2020 10:41:10 -0700 Subject: [PATCH 2/2] Add sketch specification link to examples section of the library specification --- docs/library-specification.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/library-specification.md b/docs/library-specification.md index 252a42f34f8..98121170d41 100644 --- a/docs/library-specification.md +++ b/docs/library-specification.md @@ -102,6 +102,7 @@ Sketches contained inside the examples folder will be shown in the Examples menu More information: +* [Arduino sketch specification](sketch-specification.md) * [Style guide for Arduino examples](http://arduino.cc/en/Reference/StyleGuide) #### Extra documentation