Skip to content

Commit 2d79e0e

Browse files
committed
Reorder the FAQs
Organize the questions accordging to type and importance.
1 parent cab7e9a commit 2d79e0e

File tree

1 file changed

+40
-32
lines changed

1 file changed

+40
-32
lines changed

FAQ.md

Lines changed: 40 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Arduino Library Manager FAQ
22

3+
## General
4+
35
### What is the Arduino Library Manager?
46

57
Library Manager is a feature of the Arduino development software which makes it easy for users to find, install, and update both official and 3rd party libraries.
@@ -16,6 +18,23 @@ More information:
1618
- https://arduino.github.io/arduino-cli/latest/commands/arduino-cli_lib/
1719
- https://create.arduino.cc/projecthub/Arduino_Genuino/getting-started-with-arduino-web-editor-on-various-platforms-4b3e4a
1820

21+
### How is the Library Manager index generated?
22+
23+
[The Library Manager index](http://downloads.arduino.cc/libraries/library_index.json) contains the data for every release of every one of the thousands of libraries that have been added to the Library Manager list. This index is used by Library Manager to provide installation and updates of the libraries as well as to generate automated documentation pages for the [Arduino Library Reference](https://www.arduino.cc/reference/en/libraries/).
24+
25+
Every hour, the automated Library Manager indexer system:
26+
27+
1. checks every repository in the Library Manager list for new tags
28+
1. checks whether those tags meet [the requirements for addition to the index](#update-requirements)
29+
1. adds entries to the index for compliant tags
30+
1. pushes the updated index to Arduino's download server
31+
32+
## Submission
33+
34+
### How can I add my library to Library Manager?
35+
36+
Follow the instructions [here](README.md#adding-a-library-to-library-manager).
37+
1938
### What are the requirements for a library to be added to Library Manager?
2039

2140
<a id="submission-requirements"></a>
@@ -40,20 +59,7 @@ Arduino Lint is also available as a GitHub Actions action that can be used in th
4059

4160
https://github.com/arduino/arduino-lint-action
4261

43-
### How is the Library Manager index generated?
44-
45-
[The Library Manager index](http://downloads.arduino.cc/libraries/library_index.json) contains the data for every release of every one of the thousands of libraries that have been added to the Library Manager list. This index is used by Library Manager to provide installation and updates of the libraries as well as to generate automated documentation pages for the [Arduino Library Reference](https://www.arduino.cc/reference/en/libraries/).
46-
47-
Every hour, the automated Library Manager indexer system:
48-
49-
1. checks every repository in the Library Manager list for new tags
50-
1. checks whether those tags meet [the requirements for addition to the index](#update-requirements)
51-
1. adds entries to the index for compliant tags
52-
1. pushes the updated index to Arduino's download server
53-
54-
### How can I add my library to Library Manager?
55-
56-
Follow the instructions [here](README.md#adding-a-library-to-library-manager).
62+
## Updates
5763

5864
### How can I publish a new release once my library is in the list?
5965

@@ -71,6 +77,10 @@ Follow the instructions [here](README.md#adding-a-library-to-library-manager).
7177
- [ ] The `name` property in library.properties must not have changed from the value it had when the library was submitted. If you must change the library name, see [this](#how-can-i-change-my-librarys-name).
7278
- [ ] The `version` property in library.properties must not be the same as it was in a tag previously added to the Library Manager index.
7379

80+
### Why aren't releases of my library being picked up by Library Manager?
81+
82+
The Library Manager indexer job will reject any releases which aren't compliant with all [the requirements](#update-requirements).
83+
7484
### I did something wrong! How can I change or unpublish an already published library?
7585

7686
In order to change contents of an already published library version, you can recreate its related tag.
@@ -79,10 +89,6 @@ In order to **un**publish a library version, delete its related tag/release.
7989

8090
Once you have done that, open an issue in [the issue tracker of this repository](https://github.com/arduino/library-registry/issues), specifying the URL of the library repository and requesting that the library be updated.
8191

82-
### Why aren't releases of my library being picked up by Library Manager?
83-
84-
The Library Manager indexer job will reject any releases which aren't compliant with all [the requirements](#update-requirements).
85-
8692
### How can I change my library's name?
8793

8894
For the sake of continuity, libraries in the Library Manager list are locked to the name they had at the time they were added to the list. Changing the library name can be disruptive to its users because this is the unique identifier for the library used by the Arduino development software [command line interfaces](https://arduino.github.io/arduino-cli/latest/commands/arduino-cli_lib/), sketch [metadata](https://arduino.github.io/arduino-cli/latest/sketch-specification/#metadata), library [dependencies](https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format), and installation location.
@@ -93,20 +99,6 @@ If you wish to change the name it will need to be done manually by request:
9399
1. Create a release or tag.
94100
1. Submit an [issue report](https://github.com/arduino/library-registry/issues) requesting the name be changed and stating the URL of your library's repository.
95101

96-
### How can I remove a library I installed via Library Manager?
97-
98-
#### Arduino IDE 2.x
99-
100-
Hover the mouse pointer over the "INSTALLED" label on the library listing in Library Manager. It will now change to "UNINSTALL", which you can click to uninstall that library.
101-
102-
#### Classic Arduino IDE
103-
104-
This version of the Arduino IDE does not have an integrated uninstall functionality, so you will need to remove the library manually. Open your sketchbook's `libraries` folder with your operating system's file explorer (Windows: Explorer, Mac: Finder, Linux: Nautilus, kfiles...) and delete the folder containing the library.
105-
106-
#### Arduino CLI
107-
108-
Libraries can be uninstalled via [the `arduino-cli lib uninstall` command](https://arduino.github.io/arduino-cli/latest/commands/arduino-cli_lib_uninstall/).
109-
110102
## Limitations
111103

112104
### Is my Git repository OK?
@@ -117,6 +109,8 @@ Your repo is OK if it meets all [the requirements listed here](#submission-requi
117109

118110
No. The library archive distributed by Library Manager will only contain an empty folder where the submodule should be.
119111

112+
## Usage
113+
120114
### Can I add my own URL with my own library index?
121115

122116
No. At the moment, the Arduino development software handles one URL only, and that's written into the code (dev jargon: it's hardcoded), this is a known limitation.
@@ -131,3 +125,17 @@ For more information, see the [`library.properties` file format documentation](h
131125
### Can I install multiple versions of one library and use the proper one in my sketches?
132126

133127
Library Manager installs libraries into your sketchbook's `libraries` folder. Since you cannot create two folders with the same name, we can't install two versions of the same library. However, you can switch between library versions by selecting the appropriate one from the version dropdown that pops up on Library Manager when more than one version is available.
128+
129+
### How can I remove a library I installed via Library Manager?
130+
131+
#### Arduino IDE 2.x
132+
133+
Hover the mouse pointer over the "INSTALLED" label on the library listing in Library Manager. It will now change to "UNINSTALL", which you can click to uninstall that library.
134+
135+
#### Classic Arduino IDE
136+
137+
This version of the Arduino IDE does not have an integrated uninstall functionality, so you will need to remove the library manually. Open your sketchbook's `libraries` folder with your operating system's file explorer (Windows: Explorer, Mac: Finder, Linux: Nautilus, kfiles...) and delete the folder containing the library.
138+
139+
#### Arduino CLI
140+
141+
Libraries can be uninstalled via [the `arduino-cli lib uninstall` command](https://arduino.github.io/arduino-cli/latest/commands/arduino-cli_lib_uninstall/).

0 commit comments

Comments
 (0)