-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: add proper sitemap generation, add lastmod to sitemap, prepare for algolia crawl * chore: add generate-pages script to yarn dev * test: testing script to detect file moves via git * enhancement: auto-detect reversions of redirects * chore: cleaning deprecated redirects * chore: lastmod changed from test
- Loading branch information
1 parent
f67d967
commit 486c362
Showing
11 changed files
with
402 additions
and
856 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"index_name": "plural_docs", | ||
"start_urls": [ | ||
"https://docs.plural.sh/" | ||
], | ||
"stop_urls": [ | ||
"/pages-archive/", | ||
"/__components/" | ||
], | ||
"selectors": { | ||
"lvl0": { | ||
"selector": "h1", | ||
"global": true, | ||
"default_value": "Documentation" | ||
}, | ||
"lvl1": "article h2", | ||
"lvl2": "article h3", | ||
"lvl3": "article h4", | ||
"lvl4": "article h5", | ||
"lvl5": "article h6", | ||
"text": "article p, article li, article td", | ||
"language": { | ||
"selector": "/html/@lang", | ||
"type": "xpath", | ||
"global": true | ||
} | ||
}, | ||
"strip_chars": "0123456789-", | ||
"custom_settings": { | ||
"separatorsToIndex": "_", | ||
"attributesForFaceting": ["language", "version"], | ||
"attributesToRetrieve": [ | ||
"hierarchy", | ||
"content", | ||
"anchor", | ||
"url", | ||
"url_without_anchor", | ||
"type" | ||
] | ||
}, | ||
"js_render": false, | ||
"use_anchors": true, | ||
"selectors_exclude": [ | ||
".DocSearch-content" | ||
], | ||
"scrape_start_urls": true, | ||
"min_indexed_level": 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.