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

fix document, speed up ci. #351

Merged
merged 2 commits into from
Jul 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ jobs:

- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{matrix.mode}} -j 1 `nproc` -V
run: ctest -C ${{matrix.mode}} -j 1 -V
6 changes: 3 additions & 3 deletions .github/workflows/ubuntu_clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{matrix.mode}} -j 1 `nproc` -V
run: ctest -C ${{matrix.mode}} -j 1 -V

ubuntu_clang_pb:
strategy:
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:

- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{matrix.mode}} -j 1 `nproc` -V
run: ctest -C ${{matrix.mode}} -j 1 -V

ubuntu_clang_for_liburing:
strategy:
Expand Down Expand Up @@ -129,4 +129,4 @@ jobs:

- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{matrix.mode}} -j 1 `nproc` -V
run: ctest -C ${{matrix.mode}} -j 1 -V
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu_gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{matrix.mode}} -j 1 `nproc` -V
run: ctest -C ${{matrix.mode}} -j 1 -V

ubuntu_gcc_pb:
strategy:
Expand Down Expand Up @@ -124,4 +124,4 @@ jobs:

- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{matrix.mode}} -j 1 `nproc` -V
run: ctest -C ${{matrix.mode}} -j 1 -V
1 change: 1 addition & 0 deletions website/.vitepress/config/en_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const struct_pb_Links = [

export const struct_pack_Links = [
{text: 'What is struct_pack?', link: '/en/struct_pack/struct_pack_intro'},
{text: 'struct_pack tips', link: '/en/struct_pack/struct_pack_tips'},
{text: 'struct_pack layout', link: '/en/struct_pack/struct_pack_layout'},
{text: 'struct_pack type system', link: '/en/struct_pack/struct_pack_type_system'},
{text: 'API Reference', link: "https://alibaba.github.io/yalantinglibs/doxygen_en/html/group__struct__pack.html"}
Expand Down
37 changes: 19 additions & 18 deletions website/.vitepress/config/zh_data.ts
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
export const guidLinks = [
{text: '雅兰亭库简介', link: '/zh/guide/what_is_yalantinglibs'},
{text: '通过Git Submodule使用', link: '/zh/guide/how_to_use_as_git_submodule'},
{text: '通过CMake find_package使用', link: '/zh/guide/how_to_use_by_cmake_find_package'},
{ text: '雅兰亭库简介', link: '/zh/guide/what_is_yalantinglibs' },
{ text: '通过Git Submodule使用', link: '/zh/guide/how_to_use_as_git_submodule' },
{ text: '通过CMake find_package使用', link: '/zh/guide/how_to_use_by_cmake_find_package' },
];

//构建系统相关语法
export const struct_pb_Links = [
{text: 'struct_pb简介', link: '/zh/struct_pb/struct_pb_intro'},
{text: '快速开始', link: '/zh/struct_pb/struct_pb_quick_start'},
{text: '特性支持', link: '/zh/struct_pb/struct_pb_supported_features'},
{text: '使用proto3', link: '/zh/struct_pb/struct_pb_guide_proto3'},
{text: '生成结构体', link: '/zh/struct_pb/struct_pb_generating_your_struct'},
{text: 'struct_pb API', link: '/zh/struct_pb/struct_pb_api'},
{ text: 'struct_pb简介', link: '/zh/struct_pb/struct_pb_intro' },
{ text: '快速开始', link: '/zh/struct_pb/struct_pb_quick_start' },
{ text: '特性支持', link: '/zh/struct_pb/struct_pb_supported_features' },
{ text: '使用proto3', link: '/zh/struct_pb/struct_pb_guide_proto3' },
{ text: '生成结构体', link: '/zh/struct_pb/struct_pb_generating_your_struct' },
{ text: 'struct_pb API', link: '/zh/struct_pb/struct_pb_api' },
];

export const struct_pack_Links = [
{text: 'struct_pack简介', link: '/zh/struct_pack/struct_pack_intro'},
{text: 'struct_pack布局', link: '/zh/struct_pack/struct_pack_layout'},
{text: 'struct_pack类型系统', link: '/zh/struct_pack/struct_pack_type_system'},
{text: 'API Reference', link: "https://alibaba.github.io/yalantinglibs/doxygen_cn/html/group__struct__pack.html"}
{ text: 'struct_pack简介', link: '/zh/struct_pack/struct_pack_intro' },
{ text: 'struct_pack提示', link: '/zh/struct_pack/struct_pack_tips' },
{ text: 'struct_pack布局', link: '/zh/struct_pack/struct_pack_layout' },
{ text: 'struct_pack类型系统', link: '/zh/struct_pack/struct_pack_type_system' },
{ text: 'API Reference', link: "https://alibaba.github.io/yalantinglibs/doxygen_cn/html/group__struct__pack.html" }
];

export const coro_rpc_Links = [
{text: 'coro_rpc简介', link: '/zh/coro_rpc/coro_rpc_introduction'},
{ text: 'coro_rpc简介', link: '/zh/coro_rpc/coro_rpc_introduction' },
];

export const aboutLinks = [
{text: 'purecpp', link: '/zh/about/community'}, //TODO 未来支持英语
{text: 'contribute', link: '/zh/about/contribute'},
{text: 'community', link: '/zh/about/teams'},
{text: 'team', link: '/zh/about/yalantingUser'},
{ text: 'purecpp', link: '/zh/about/community' }, //TODO 未来支持英语
{ text: 'contribute', link: '/zh/about/contribute' },
{ text: 'community', link: '/zh/about/teams' },
{ text: 'team', link: '/zh/about/yalantingUser' },
];