-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 1,统一移动静态网站配置到docs目录||feat: 1, Configure the mobile static websi…
…te to the docs directory (#1062) Co-authored-by: [email protected] <[email protected]>
- Loading branch information
1 parent
5df108b
commit 20e5b1a
Showing
5 changed files
with
15,061 additions
and
1 deletion.
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
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,49 @@ | ||
{ | ||
"index_name": "layotto", | ||
"start_urls": [ | ||
"https://mosn.io/layotto/docs", | ||
"https://mosn.io/layotto/blog", | ||
"https://mosn.io/layotto/en-US/docs", | ||
"https://mosn.io/layotto/en-US/blog" | ||
], | ||
"stop_urls": [ | ||
"/tests" | ||
], | ||
"selectors": { | ||
"lvl0": { | ||
"selector": "(//ul[contains(@class,'menu__list')]//a[contains(@class, 'menu__link menu__link--sublist menu__link--active')]/text() | //nav[contains(@class, 'navbar')]//a[contains(@class, 'navbar__link--active')]/text())[last()]", | ||
"type": "xpath", | ||
"global": true, | ||
"default_value": "Documentation" | ||
}, | ||
"lvl1": "header h1", | ||
"lvl2": "article h2", | ||
"lvl3": "article h3", | ||
"lvl4": "article h4", | ||
"lvl5": "article h5, article td:first-child", | ||
"lvl6": "article h6", | ||
"text": "article p, article li, article td:last-child" | ||
}, | ||
"strip_chars": " .,;:#", | ||
"custom_settings": { | ||
"separatorsToIndex": "_", | ||
"attributesForFaceting": [ | ||
"language", | ||
"version", | ||
"type", | ||
"docusaurus_tag" | ||
], | ||
"attributesToRetrieve": [ | ||
"hierarchy", | ||
"content", | ||
"anchor", | ||
"url", | ||
"url_without_anchor", | ||
"type" | ||
] | ||
}, | ||
"conversation_id": [ | ||
"833762294" | ||
], | ||
"nb_hits": 46250 | ||
} |
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,11 @@ | ||
project_id: 688617 | ||
api_token: 7305dcca805d8750a5d0983438bdc4bca9adff6bf35eff5a86dfdca9d85a1c273dd55e8b5362fe8d | ||
#api_token_env: CROWDIN_VERDACCIO_API_KEY | ||
|
||
preserve_hierarchy: true | ||
|
||
files: | ||
# - source: docs/blog/**/* | ||
# translation: '/i18n/%locale%/docusaurus-plugin-content-blog/current/**/%original_file_name%' | ||
- source: /docs/docs/**/* | ||
translation: '/docs/i18n/%locale%/docusaurus-plugin-content-docs/current/**/%original_file_name%' |
Oops, something went wrong.