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

Update Docusaurus search configs for sitemap and start urls #438

Merged
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
42 changes: 36 additions & 6 deletions configs/docusaurus.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,43 @@
{
"index_name": "docusaurus",
"start_urls": [
"https://docusaurus.io/docs/en/",
"https://docusaurus.io/en/",
"https://docusaurus.io/docs/en/installation.html"
{
"url": "https://docusaurus.io/docs/(?P<lang>.*?)/(?P<version>.*?)/",
"variables": {
"lang": [
"en"
],
"version": [
"next"
]
}
},
{
"url": "https://docusaurus.io/docs/(?P<lang>.*?)/",
"variables": {
"lang": [
"en"
]
},
"extra_attributes": {
"version": [
"latest"
]
}
},
{
"url": "https://docusaurus.io/blog/",
"tags": [
"blog"
]
}
],
"stop_urls": [
"https://docusaurus.io/docs/en/[0-9].*",
"https://docusaurus.io/docs/en/next.*"
"help",
"users"
],
"sitemap_urls": [
"https://docusaurus.io/sitemap.xml"
],
"selectors": {
"lvl0": {
Expand All @@ -28,5 +58,5 @@
"conversation_id": [
"415526327"
],
"nb_hits": 563
"nb_hits": 1014
}