-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* layotto docs改动和配置文件改动 * layotto docs改动和配置文件改动 * layotto docs改动和配置文件改动 * 格式check改动 * 格式check改动 * 格式check改动 * 格式check改动 * 格式check改动-恢复 * 格式check改动-恢复2 * 格式check改动-恢复3 * 格式check改动-恢复4 * 格式check改动-恢复4 * 格式check改动-恢复5 * 格式check改动-恢复5 * 格式check改动-恢复5 * 格式check改动-恢复5 * 格式check改动-恢复5 * 格式check改动-恢复5 * 格式check改动-恢复5 * 格式check改动-恢复5 * 文档链接调整 * 文档链接调整 * 文档链接调整 * 文档链接调整 * 格式check改动-恢复5 * 文档链接调整 * 格式check改动-恢复5 * 格式check改动-恢复5 * 触发测试1 * 触发测试2 * 触发测试2 * 触发测试3 * 触发测试4 * 触发测试4 * 触发测试4 * 触发测试4 * 修改文件链接 * 修改文件链接 * 修改文件链接 * 修改文件链接 * 死链调整 * 修改文件链接 * 修改文件链接 * 修改文件链接 * Merge remote-tracking branch 'origin/main' * Merge remote-tracking branch 'origin/main' * Merge remote-tracking branch 'origin/main' * Merge remote-tracking branch 'origin/main' * 死链调整 * Merge remote-tracking branch 'origin/main' * Merge remote-tracking branch 'origin/main' * 部署完成,爬虫URL改成正式的url --------- Co-authored-by: [email protected] <[email protected]> Co-authored-by: [email protected] <[email protected]> Co-authored-by: Duan-0916 <[email protected]> Co-authored-by: Marco <[email protected]>
- Loading branch information
1 parent
3bf8bca
commit 3d39dd7
Showing
435 changed files
with
24,429 additions
and
15,344 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
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,42 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
# container: pandoc/latex jj | ||
steps: | ||
- name: Use Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 18.20.3 | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- uses: darrenjennings/algolia-docsearch-action@master | ||
with: | ||
algolia_application_id: 'B0I4Q5CLN8' | ||
algolia_api_key: '478d2fe7bdad5ff46b87f1e8e4662e81' | ||
file: 'algolia-config.json' | ||
- name: creates output | ||
run: npm install && npm run build --config docs | ||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | ||
external_repository: layotto/layotto.github.io | ||
publish_dir: docs/build | ||
publish_branch: main | ||
# - name: Pushes to another repository | ||
# uses: cpina/github-action-push-to-another-repository@main | ||
# env: | ||
# SSH_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} | ||
# with: | ||
# source-directory: 'docs/build' | ||
# destination-github-username: 'layotto' | ||
# destination-repository-name: 'layotto.github.io' | ||
# target-branch: main |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"index_name": "layotto", | ||
"start_urls": [ | ||
"https://layotto.github.io/docs", | ||
"https://layotto.github.io/blog", | ||
"https://layotto.github.io/en-US/docs", | ||
"https://layotto.github.io/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,12 @@ | ||
project_id: 688617 | ||
# token local testing layotto token | ||
api_token: 7305dcca805d8750a5d0983438bdc4bca9adff6bf35eff5a86dfdca9d85a1c273dd55e8b5362fe8d | ||
#api_token_env: CROWDIN_VERDACCIO_API_KEY | ||
|
||
preserve_hierarchy: true | ||
|
||
files: | ||
- source: /blog/**/* | ||
translation: '/i18n/%locale%/docusaurus-plugin-content-blog/current/**/%original_file_name%' | ||
- source: /docs/**/* | ||
translation: '/i18n/%locale%/docusaurus-plugin-content-docs/current/**/%original_file_name%' |
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,41 @@ | ||
# Website | ||
|
||
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator. | ||
|
||
## Installation | ||
|
||
``` | ||
$ yarn | ||
``` | ||
|
||
### Local Development | ||
|
||
``` | ||
$ yarn start | ||
``` | ||
|
||
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. | ||
|
||
### Build | ||
|
||
``` | ||
$ yarn build | ||
``` | ||
|
||
This command generates static content into the `build` directory and can be served using any static contents hosting service. | ||
|
||
### Deployment | ||
|
||
Using SSH: | ||
|
||
``` | ||
$ USE_SSH=true yarn deploy | ||
``` | ||
|
||
Not using SSH: | ||
|
||
``` | ||
$ GIT_USER=<Your GitHub username> yarn deploy | ||
``` | ||
|
||
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch. |
Oops, something went wrong.