Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: layotto改造 #1054

Merged
merged 65 commits into from
Jul 5, 2024
Merged
Changes from 1 commit
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
f73d931
layotto docs改动和配置文件改动
Jun 27, 2024
32e551d
layotto docs改动和配置文件改动
Jun 27, 2024
7eb7f87
layotto docs改动和配置文件改动
Jun 27, 2024
1537b68
格式check改动
Jun 28, 2024
3be311e
格式check改动
Jun 28, 2024
a8e1b68
格式check改动
Jun 28, 2024
7de8c7a
格式check改动
Jun 28, 2024
d0694f6
格式check改动-恢复
Jun 28, 2024
586a953
Merge remote-tracking branch 'origin/main'
Jun 28, 2024
474a0e8
格式check改动-恢复2
Jun 28, 2024
19b4c6f
格式check改动-恢复3
Jun 28, 2024
a3fb926
格式check改动-恢复4
Jun 28, 2024
3d86141
格式check改动-恢复4
Jun 28, 2024
4eacc0a
格式check改动-恢复5
Jun 28, 2024
2813dee
格式check改动-恢复5
Jun 28, 2024
5779c70
格式check改动-恢复5
Jun 28, 2024
52d3cea
格式check改动-恢复5
Jun 28, 2024
c91ec4f
格式check改动-恢复5
Jun 28, 2024
7020de2
格式check改动-恢复5
Jun 28, 2024
48490e8
格式check改动-恢复5
Jun 28, 2024
125a6e0
格式check改动-恢复5
Jun 28, 2024
32133a5
文档链接调整
Jun 28, 2024
1a3344e
文档链接调整
Jun 28, 2024
fe912ed
文档链接调整
Jun 28, 2024
32359f3
文档链接调整
Jun 28, 2024
488c24c
格式check改动-恢复5
Jun 28, 2024
2ee3823
Merge pull request #1 from Duan-0916/main
15669072513 Jun 28, 2024
14314e8
文档链接调整
Jun 28, 2024
bafd307
Merge pull request #2 from Duan-0916/main
15669072513 Jun 28, 2024
4753236
格式check改动-恢复5
Jun 28, 2024
68efdd1
格式check改动-恢复5
Jul 4, 2024
7c5607d
触发测试1
Jul 4, 2024
d15c657
触发测试2
Jul 4, 2024
37615fa
触发测试2
Jul 4, 2024
80e475e
触发测试3
Jul 4, 2024
e87da20
触发测试4
Jul 4, 2024
906ce95
触发测试4
Jul 4, 2024
751a2c5
触发测试4
Jul 4, 2024
f270570
触发测试4
Jul 4, 2024
98b51b3
修改文件链接
Jul 4, 2024
00f76b2
修改文件链接
Jul 4, 2024
b16dbb8
修改文件链接
Jul 5, 2024
f32b188
修改文件链接
Jul 5, 2024
23190e4
死链调整
Jul 5, 2024
ff18dd0
修改文件链接
Jul 5, 2024
703ff8f
Merge pull request #3 from Duan-0916/main
15669072513 Jul 5, 2024
21bc9a2
修改文件链接
Jul 5, 2024
7cd0c3b
修改文件链接
Jul 5, 2024
5551a3b
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
e104bee
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
8b3b02b
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
1605c6d
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
a74a125
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
29939ab
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
ea3e818
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
386afc4
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
6dbb03f
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
6dcb80d
死链调整
Jul 5, 2024
9355f38
Merge branch '15669072513:main' into main
Duan-0916 Jul 5, 2024
85b6874
Merge pull request #4 from Duan-0916/main
15669072513 Jul 5, 2024
9bfd95d
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
f66cf93
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
2b14d98
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
a2b202c
部署完成,爬虫URL改成正式的url
Jul 5, 2024
31a2c9a
Merge branch 'main' into main
zhenjunMa Jul 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
Next Next commit
layotto docs改动和配置文件改动
[email protected] committed Jun 27, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit f73d931d808d5e3becaf9ebc22bc7fcbd66d7528
38 changes: 38 additions & 0 deletions .github/workflows/docusaurus-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI

on:
push:
branches: [ main ]
pull_request:
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: 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: '15669072513'
destination-repository-name: 'mosn.github.io'
target-branch: master
target-directory: 'layotto'
49 changes: 49 additions & 0 deletions algolia-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"index_name": "layotto",
"start_urls": [
"https://mosn.github.io/layotto/docs",
"https://mosn.github.io/layotto/blog",
"https://mosn.github.io/layotto/en-US/docs",
"https://mosn.github.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
}
12 changes: 12 additions & 0 deletions crowdin.yaml
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%'
41 changes: 41 additions & 0 deletions docs/README.md
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.
146 changes: 0 additions & 146 deletions docs/SUMMARY.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/_navbar.md

This file was deleted.

Loading