mirror of
https://github.com/msberends/AMR.git
synced 2024-12-26 04:46:11 +01:00
95 lines
2.0 KiB
JSON
95 lines
2.0 KiB
JSON
{
|
|
"index_name": "amr",
|
|
"start_urls": [
|
|
{
|
|
"url": "https://msberends.gitlab.io/AMR/index.html",
|
|
"selectors_key": "homepage",
|
|
"tags": [
|
|
"homepage"
|
|
]
|
|
},
|
|
{
|
|
"url": "https://msberends.gitlab.io/AMR/reference",
|
|
"selectors_key": "reference",
|
|
"tags": [
|
|
"reference"
|
|
]
|
|
},
|
|
{
|
|
"url": "https://msberends.gitlab.io/AMR/articles",
|
|
"selectors_key": "articles",
|
|
"tags": [
|
|
"articles"
|
|
]
|
|
}
|
|
],
|
|
"stop_urls": [
|
|
"/reference/$",
|
|
"/reference/index.html",
|
|
"/articles/$",
|
|
"/articles/index.html"
|
|
],
|
|
"sitemap_urls": [
|
|
"https://msberends.gitlab.io/AMR/sitemap.xml"
|
|
],
|
|
"selectors": {
|
|
"homepage": {
|
|
"lvl0": {
|
|
"selector": ".contents h1",
|
|
"default_value": "AMR Home page"
|
|
},
|
|
"lvl1": {
|
|
"selector": ".contents h2"
|
|
},
|
|
"lvl2": {
|
|
"selector": ".contents h3",
|
|
"default_value": "Context"
|
|
},
|
|
"lvl3": ".ref-arguments td, .ref-description",
|
|
"text": ".contents p, .contents li, .contents .pre"
|
|
},
|
|
"reference": {
|
|
"lvl0": {
|
|
"selector": ".contents h1"
|
|
},
|
|
"lvl1": {
|
|
"selector": ".contents .name",
|
|
"default_value": "Argument"
|
|
},
|
|
"lvl2": {
|
|
"selector": ".ref-arguments th",
|
|
"default_value": "Description"
|
|
},
|
|
"lvl3": ".ref-arguments td, .ref-description",
|
|
"text": ".contents p, .contents li"
|
|
},
|
|
"articles": {
|
|
"lvl0": {
|
|
"selector": ".contents h1"
|
|
},
|
|
"lvl1": {
|
|
"selector": ".contents .name"
|
|
},
|
|
"lvl2": {
|
|
"selector": ".contents h2, .contents h3",
|
|
"default_value": "Context"
|
|
},
|
|
"text": ".contents p, .contents li, .tempate-article .contents .pre"
|
|
}
|
|
},
|
|
"selectors_exclude": [
|
|
".dont-index"
|
|
],
|
|
"min_indexed_level": 2,
|
|
"custom_settings": {
|
|
"separatorsToIndex": "_",
|
|
"attributesToRetrieve": [
|
|
"hierarchy",
|
|
"content",
|
|
"anchor",
|
|
"url",
|
|
"url_without_anchor"
|
|
]
|
|
}
|
|
}
|