docs: remove info about id field

This commit is contained in:
Vlad Simonov 2023-12-12 23:08:37 +03:00 committed by GitHub
parent b0d2957896
commit 18069b30a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,12 +80,8 @@ yarn install
4. Go to the [**`src/data/svgs.ts`**](https://github.com/pheralb/svgl/blob/main/src/data/svgs.ts) and add the information about your logo, following the structure:
> [!IMPORTANT]
> To avoid conflicts with other svgs IDs, generate a short random number for the id: [Generate (only check 'include numbers')](https://nanoid.yuuniworks.com/).
```json
{
"id": 45248,
"title": "Title",
"category": "Category",
"route": "/library/your_logo.svg",
@ -97,7 +93,6 @@ or to support a different logo for light and dark themes:
```json
{
"id": 45248,
"title": "Title",
"category": "Category",
"route": {