Skip to content

Commit

Permalink
Merge branch 'pocketnetteam:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
gked authored Nov 5, 2024
2 parents ea159c7 + bc4a320 commit 6902b0a
Show file tree
Hide file tree
Showing 86 changed files with 148 additions and 5,856 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,23 @@ jobs:

build_vue:
runs-on: ubuntu-latest
if: github.repository == 'pocketnetteam/documentation'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Build
run: |
npm i
npm run docs:build
- name: Save Artifact Build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
path: ./vuepress-starter/docs/.vuepress/dist/
path: ./docs/.vuepress/dist/
retention-days: 1

# deploy_docs_bastyon_com:
Expand All @@ -43,7 +44,11 @@ jobs:
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: dist
path: ./dist
- name: Copy artifacts
run: |
rm -rf /data/documentation/*
cp -r ./dist/* /data/documentation/
rm -rf *
87 changes: 17 additions & 70 deletions docs/.vuepress/configs/navbar/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,93 +8,40 @@ export const navbarEn: NavbarOptions = [
'/guide/introduction.md',
'/guide/getting-started.md',
'/guide/monetization/index.md',
'/guide/configuration.md',
'/guide/page.md',
'/guide/markdown.md',
'/guide/assets.md',
'/guide/i18n.md',
'/guide/deployment.md',
'/guide/theme.md',
'/guide/plugin.md',
'/guide/bundler.md',
'/guide/migration.md',
'/guide/troubleshooting.md',
'/guide/full-node/',
'/guide/easy-node/',
],
},
{
text: 'Developers',
text: 'Development',
children: [
'/dev/introduction.md',
'/dev/get-started.md',
'/dev/infrastructure.md',
'/dev/contribution.md',
{
text: 'Core',
text: 'Proxy & API',
children: [
{
text: 'CLI',
link: '/reference/cli.html',
},
'/reference/config.md',
'/reference/frontmatter.md',
'/reference/components.md',
'/reference/plugin-api.md',
'/reference/theme-api.md',
'/reference/client-api.md',
'/reference/node-api.md',
'/dev/api/get-started.md',
],
},
{
text: 'Bundlers',
text: 'Client Applications',
children: [
'/reference/bundler/vite.md',
'/reference/bundler/webpack.md',
'/dev/apps/get-started.md',
],
},
{
text: 'Ecosystem',
text: 'Blockchain Node',
children: [
{
text: 'Default Theme',
link: 'https://ecosystem.vuejs.press/themes/default/',
},
{
text: 'Plugins',
link: 'https://ecosystem.vuejs.press/plugins/',
},
'/dev/node/get-started.md',
'/dev/node/requirements.md',
'/dev/node/environment.md',
'/dev/node/building.md',
'/dev/node/contribution.md',
],
},
],
},

{
text: 'Learn More',
children: [
{
text: 'Advanced',
children: [
'/advanced/architecture.md',
'/advanced/plugin.md',
'/advanced/theme.md',
{
text: 'Cookbook',
link: '/advanced/cookbook/',
},
],
},
{
text: 'Resources',
children: [
{
text: 'Ecosystem',
link: 'https://ecosystem.vuejs.press/',
},
{
text: 'MarketPlace',
link: 'https://marketplace.vuejs.press',
},
{
text: 'Contributing Guide',
link: 'https://github.com/vuepress/core/blob/main/CONTRIBUTING.md',
},
],
},
],
},
] as NavbarOptions
91 changes: 1 addition & 90 deletions docs/.vuepress/configs/navbar/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,94 +2,5 @@ import type { NavbarOptions } from '@vuepress/theme-default'
import { VERSION } from '../meta.js'

export const navbarRu: NavbarOptions = [
{
text: '指南',
children: [
'/ru/guide/introduction.md',
'/ru/guide/getting-started.md',
'/ru/guide/configuration.md',
'/ru/guide/page.md',
'/ru/guide/markdown.md',
'/ru/guide/assets.md',
'/ru/guide/i18n.md',
'/ru/guide/deployment.md',
'/ru/guide/theme.md',
'/ru/guide/plugin.md',
'/ru/guide/bundler.md',
'/ru/guide/migration.md',
'/ru/guide/troubleshooting.md',
],
},
{
text: '参考',
children: [
{
text: '核心',
children: [
'/ru/reference/cli.md',
'/ru/reference/config.md',
'/ru/reference/frontmatter.md',
'/ru/reference/components.md',
'/ru/reference/plugin-api.md',
'/ru/reference/theme-api.md',
'/ru/reference/client-api.md',
'/ru/reference/node-api.md',
],
},
{
text: '打包工具',
children: [
'/ru/reference/bundler/vite.md',
'/ru/reference/bundler/webpack.md',
],
},
{
text: '生态系统',
children: [
{
text: '默认主题',
link: 'https://ecosystem.vuejs.press/ru/themes/default/',
},
{
text: '插件',
link: 'https://ecosystem.vuejs.press/ru/plugins/',
},
],
},
],
},
{
text: '了解更多',
children: [
{
text: '深入',
children: [
'/ru/advanced/architecture.md',
'/ru/advanced/plugin.md',
'/ru/advanced/theme.md',
{
text: 'Cookbook',
link: '/ru/advanced/cookbook/',
},
],
},
{
text: '其他资源',
children: [
{
text: '生态系统',
link: 'https://ecosystem.vuejs.press/ru/',
},
{
text: '市场',
link: 'https://marketplace.vuejs.press/ru/',
},
{
text: '贡献指南',
link: 'https://github.com/vuepress/core/blob/main/CONTRIBUTING_ru.md',
},
],
},
],
},

] as NavbarOptions
59 changes: 25 additions & 34 deletions docs/.vuepress/configs/sidebar/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,51 +7,42 @@ export const sidebarEn: SidebarOptions = {
children: [
'/guide/introduction.md',
'/guide/getting-started.md',
'/guide/monetization/index.md',
'/guide/configuration.md',
'/guide/page.md',
'/guide/markdown.md',
'/guide/assets.md',
'/guide/i18n.md',
'/guide/deployment.md',
'/guide/theme.md',
'/guide/plugin.md',
'/guide/bundler.md',
'/guide/migration.md',
'/guide/troubleshooting.md',
'/guide/monetization/',
'/guide/full-node/',
'/guide/easy-node/',
],
},
],
'/reference/': [
'/dev/': [
{
text: 'Core',
collapsible: true,
text: 'Development',
children: [
'/reference/cli.md',
'/reference/config.md',
'/reference/frontmatter.md',
'/reference/components.md',
'/reference/plugin-api.md',
'/reference/theme-api.md',
'/reference/client-api.md',
'/reference/node-api.md',
'/dev/introduction.md',
'/dev/get-started.md',
'/dev/infrastructure.md',
'/dev/contribution.md',
],
},
{
text: 'Bundlers',
children: ['/reference/bundler/vite.md', '/reference/bundler/webpack.md'],
text: 'Proxy & API',
children: [
'/dev/api/get-started.md',
],
},
{
text: 'Client Applications',
children: [
'/dev/apps/get-started.md',
],
},
{
text: 'Ecosystem',
text: 'Blockchain Node',
children: [
{
text: 'Default Theme',
link: 'https://ecosystem.vuejs.press/themes/default/',
},
{
text: 'Plugins',
link: 'https://ecosystem.vuejs.press/plugins/',
},
'/dev/node/get-started.md',
'/dev/node/requirements.md',
'/dev/node/environment.md',
'/dev/node/building.md',
'/dev/node/contribution.md',
],
},
],
Expand Down
Loading

0 comments on commit 6902b0a

Please sign in to comment.