Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Fix icon selector #2736

Merged
merged 3 commits into from
Nov 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 33 additions & 13 deletions configs/bootstrap-icons.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,40 @@
{
"url": "https://icons.getbootstrap.com/index.html",
"selectors_key": "icons-docs",
"tags": ["icons-docs"],
"tags": [
"icons-docs"
],
"page_rank": 2,
"extra_attributes": {
"language": ["en"]
"language": [
"en"
]
}
},
{
"url": "https://icons.getbootstrap.com/icons/",
"selectors_key": "icons",
"tags": ["icons"],
"tags": [
"icons"
],
"page_rank": 2,
"extra_attributes": {
"language": ["en"]
"language": [
"en"
]
}
},
{
"url": "https://v5.getbootstrap.com/",
"selectors_key": "v5",
"tags": ["v5"],
"tags": [
"v5"
],
"page_rank": 1,
"extra_attributes": {
"language": ["en"]
"language": [
"en"
]
}
}
],
Expand All @@ -37,8 +49,7 @@
"/examples/.+",
"getbootstrap.com/docs/3",
"getbootstrap.com/docs/3",
"getbootstrap.com/docs/versions/",
"https://icons.getbootstrap.com/index.html#icons"
"getbootstrap.com/docs/versions/"
],
"selectors": {
"icons": {
Expand Down Expand Up @@ -76,10 +87,19 @@
"text": "main p, main li, main td:last-child"
}
},
"selectors_exclude": [".bd-example", "#icons-body", "#icons"],
"selectors_exclude": [
".bd-example",
"#icons"
],
"custom_settings": {
"attributesForFaceting": ["version", "language", "tags"]
"attributesForFaceting": [
"version",
"language",
"tags"
]
},
"conversation_id": ["1313068332"],
"nb_hits": 5136
}
"conversation_id": [
"1313068332"
],
"nb_hits": 5134
}