-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
1,592 additions
and
6,041 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,15 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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 |
---|---|---|
|
@@ -6,12 +6,7 @@ on: | |
|
||
jobs: | ||
deploy: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node: [14] | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -20,7 +15,7 @@ jobs: | |
- name: Setup Node.js environment | ||
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ matrix.node }} | ||
node-version: 18 | ||
|
||
- name: Cache node_modules | ||
uses: actions/cache@v2 | ||
|
@@ -54,7 +49,7 @@ jobs: | |
REMOTE_HOST: ${{ secrets.SSH_SERVER_IP }} | ||
REMOTE_USER: ${{ secrets.SSH_USER }} | ||
REMOTE_PORT: ${{ secrets.SSH_SERVER_PORT }} | ||
SOURCE: "docs/.vuepress/dist/" | ||
SOURCE: "docs/.vitepress/dist/" | ||
TARGET: ${{ secrets.SITE_DIR }} | ||
|
||
- name: Clearing the Cloudflare cache | ||
|
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 |
---|---|---|
@@ -1,4 +1,2 @@ | ||
/node_modules | ||
/docs/.vuepress/.cache | ||
/docs/.vuepress/.temp | ||
/docs/.vuepress/dist | ||
/docs/.vitepress/dist |
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,5 @@ | ||
{ | ||
"yaml.schemas": { | ||
"https://json.schemastore.org/github-workflow.json": ".github/workflows/deploy.yml" | ||
} | ||
} |
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,37 @@ | ||
export const navbar = [ | ||
{ | ||
text: "Базовая настройка", | ||
link: "/basic/", | ||
}, | ||
{ | ||
text: "Для разработчиков", | ||
items: [ | ||
{ | ||
text: "Aurora API", | ||
items: [ | ||
{ | ||
text: "Общая информация", | ||
link: "/for-developers/api/info", | ||
}, | ||
{ | ||
text: "Список кодов ошибок", | ||
link: "/for-developers/api/errors", | ||
}, | ||
], | ||
}, | ||
{ | ||
text: "Прочее", | ||
items: [ | ||
{ | ||
text: "Альтернативные зеркала", | ||
link: "/for-developers/mirrors", | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
{ | ||
text: "На главный сайт", | ||
link: "https://aurora-launcher.ru", | ||
}, | ||
]; |
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,43 @@ | ||
export const sidebar = { | ||
"/basic/": [ | ||
{ | ||
text: "Базовая настройка", | ||
items: [ | ||
{ | ||
text: "Начало работы", | ||
link: "/basic/", | ||
}, | ||
{ | ||
text: "Игровые клиенты", | ||
link: "/basic/clients", | ||
}, | ||
], | ||
}, | ||
], | ||
"/for-developers/api/": [ | ||
{ | ||
text: "Aurora API", | ||
items: [ | ||
{ | ||
text: "Общая информация", | ||
link: "/for-developers/api/info", | ||
}, | ||
{ | ||
text: "Список кодов ошибок", | ||
link: "/for-developers/api/errors", | ||
}, | ||
], | ||
}, | ||
], | ||
"/for-developers/": [ | ||
{ | ||
text: "Прочее", | ||
items: [ | ||
{ | ||
text: "Альтернативные зеркала", | ||
link: "/for-developers/mirrors", | ||
}, | ||
], | ||
}, | ||
], | ||
}; |
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,6 @@ | ||
:root { | ||
scroll-behavior: smooth; | ||
|
||
/* TODO */ | ||
/* https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/styles/vars.css */ | ||
} |
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,4 @@ | ||
import DefaultTheme from "vitepress/theme"; | ||
import "./custom.css"; | ||
|
||
export default DefaultTheme; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.