From 3da10d325cc055243447bd7b75d69cb663e8bd1c Mon Sep 17 00:00:00 2001 From: snowykami Date: Tue, 3 Sep 2024 22:29:26 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E6=94=B9dead=20link?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-docs.yml | 8 ++-- docs/pnpm-lock.yaml | 72 +++++++++++++++---------------- docs/zh/guide/index.md | 15 +++---- pyproject.toml | 2 +- 4 files changed, 48 insertions(+), 49 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 71e9b9e..dc1a67a 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -40,10 +40,10 @@ jobs: - name: Setup API markdown run: |- python -m pip install litedoc - litedoc mbcp -o docs/zh/api -l zh-Hans -cd class -fd def -md def -vd var -cs -bu https://github.com/snowykami/mbcp/tree/main/mbcp/ -f lastUpdated=false - litedoc mbcp -o docs/en/api -l en -cd class -fd def -md def -vd var -cs -bu https://github.com/snowykami/mbcp/tree/main/mbcp/ -f lastUpdated=false - litedoc mbcp -o docs/ja/api -l ja -cd class -fd def -md def -vd var -cs -bu https://github.com/snowykami/mbcp/tree/main/mbcp/ -f lastUpdated=false - litedoc mbcp -o docs/zht/api -l zh-Hant -cd class -fd def -md def -vd var -cs -bu https://github.com/snowykami/mbcp/tree/main/mbcp/ -f lastUpdated=false + litedoc mbcp -o docs/zh/api -l zh-Hans -cd class -fd func -md method -vd var -bu https://github.com/snowykami/mbcp/tree/main/mbcp/ -f lastUpdated=false + litedoc mbcp -o docs/en/api -l en -cd class -fd func -md method -vd var -bu https://github.com/snowykami/mbcp/tree/main/mbcp/ -f lastUpdated=false + litedoc mbcp -o docs/ja/api -l ja -cd class -fd func -md method -vd var -bu https://github.com/snowykami/mbcp/tree/main/mbcp/ -f lastUpdated=false + litedoc mbcp -o docs/zht/api -l zh-Hant -cd class -fd func -md method -vd var -bu https://github.com/snowykami/mbcp/tree/main/mbcp/ -f lastUpdated=false - name: 安装 pnpm uses: pnpm/action-setup@v2 diff --git a/docs/pnpm-lock.yaml b/docs/pnpm-lock.yaml index 9e42609..1739d91 100644 --- a/docs/pnpm-lock.yaml +++ b/docs/pnpm-lock.yaml @@ -12,7 +12,7 @@ dependencies: devDependencies: vitepress: specifier: ^1.3.4 - version: 1.3.4(@algolia/client-search@5.1.1)(markdown-it-mathjax3@4.3.2)(search-insights@2.17.0) + version: 1.3.4(@algolia/client-search@5.2.4)(markdown-it-mathjax3@4.3.2)(search-insights@2.17.1) vitepress-auto-sidebar-plugin: specifier: ^0.2.4 version: 0.2.4(vite@5.4.2)(vitepress@1.3.4) @@ -22,47 +22,47 @@ devDependencies: packages: - /@algolia/autocomplete-core@1.9.3(@algolia/client-search@5.1.1)(algoliasearch@4.24.0)(search-insights@2.17.0): + /@algolia/autocomplete-core@1.9.3(@algolia/client-search@5.2.4)(algoliasearch@4.24.0)(search-insights@2.17.1): resolution: {integrity: sha512-009HdfugtGCdC4JdXUbVJClA0q0zh24yyePn+KUGk3rP7j8FEe/m5Yo/z65gn6nP/cM39PxpzqKrL7A6fP6PPw==} dependencies: - '@algolia/autocomplete-plugin-algolia-insights': 1.9.3(@algolia/client-search@5.1.1)(algoliasearch@4.24.0)(search-insights@2.17.0) - '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@5.1.1)(algoliasearch@4.24.0) + '@algolia/autocomplete-plugin-algolia-insights': 1.9.3(@algolia/client-search@5.2.4)(algoliasearch@4.24.0)(search-insights@2.17.1) + '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@5.2.4)(algoliasearch@4.24.0) transitivePeerDependencies: - '@algolia/client-search' - algoliasearch - search-insights dev: true - /@algolia/autocomplete-plugin-algolia-insights@1.9.3(@algolia/client-search@5.1.1)(algoliasearch@4.24.0)(search-insights@2.17.0): + /@algolia/autocomplete-plugin-algolia-insights@1.9.3(@algolia/client-search@5.2.4)(algoliasearch@4.24.0)(search-insights@2.17.1): resolution: {integrity: sha512-a/yTUkcO/Vyy+JffmAnTWbr4/90cLzw+CC3bRbhnULr/EM0fGNvM13oQQ14f2moLMcVDyAx/leczLlAOovhSZg==} peerDependencies: search-insights: '>= 1 < 3' dependencies: - '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@5.1.1)(algoliasearch@4.24.0) - search-insights: 2.17.0 + '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@5.2.4)(algoliasearch@4.24.0) + search-insights: 2.17.1 transitivePeerDependencies: - '@algolia/client-search' - algoliasearch dev: true - /@algolia/autocomplete-preset-algolia@1.9.3(@algolia/client-search@5.1.1)(algoliasearch@4.24.0): + /@algolia/autocomplete-preset-algolia@1.9.3(@algolia/client-search@5.2.4)(algoliasearch@4.24.0): resolution: {integrity: sha512-d4qlt6YmrLMYy95n5TB52wtNDr6EgAIPH81dvvvW8UmuWRgxEtY0NJiPwl/h95JtG2vmRM804M0DSwMCNZlzRA==} peerDependencies: '@algolia/client-search': '>= 4.9.1 < 6' algoliasearch: '>= 4.9.1 < 6' dependencies: - '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@5.1.1)(algoliasearch@4.24.0) - '@algolia/client-search': 5.1.1 + '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@5.2.4)(algoliasearch@4.24.0) + '@algolia/client-search': 5.2.4 algoliasearch: 4.24.0 dev: true - /@algolia/autocomplete-shared@1.9.3(@algolia/client-search@5.1.1)(algoliasearch@4.24.0): + /@algolia/autocomplete-shared@1.9.3(@algolia/client-search@5.2.4)(algoliasearch@4.24.0): resolution: {integrity: sha512-Wnm9E4Ye6Rl6sTTqjoymD+l8DjSTHsHboVRYrKgEt8Q7UHm9nYbqhN/i0fhUYA3OAEH7WA8x3jfpnmJm3rKvaQ==} peerDependencies: '@algolia/client-search': '>= 4.9.1 < 6' algoliasearch: '>= 4.9.1 < 6' dependencies: - '@algolia/client-search': 5.1.1 + '@algolia/client-search': 5.2.4 algoliasearch: 4.24.0 dev: true @@ -106,8 +106,8 @@ packages: '@algolia/transporter': 4.24.0 dev: true - /@algolia/client-common@5.1.1: - resolution: {integrity: sha512-jkQNQbGY+XQB3Eln7wqqdUZKBzG8lETcsaUk5gcMc6iIwyN/qW0v0fhpKPH+Kli+BImLxo0CWk12CvVvx2exWA==} + /@algolia/client-common@5.2.4: + resolution: {integrity: sha512-xNkNJ9Vk1WjxEU/SzcA2vZWeYSiQFQOUS7Akffx8aeAIJIOcmwbpLr2D8JzBEC4QNmNb5KAZOJTrGl1ri9Mclg==} engines: {node: '>= 14.0.0'} dev: true @@ -127,13 +127,13 @@ packages: '@algolia/transporter': 4.24.0 dev: true - /@algolia/client-search@5.1.1: - resolution: {integrity: sha512-SFpb3FI/VouGou/vpuS7qeCA5Y/KpV42P6CEA/1MZQtl/xJkl6PVjikb+Q9YadeHi2jtDV/aQ6PyiVDnX4PQcw==} + /@algolia/client-search@5.2.4: + resolution: {integrity: sha512-xlBaro8nU5EvsNsLu8dSsd7jzHVvOVGCOTW4dM6gjRmQDYChzMsF69Tb1OfLaXk7YJ0jHk1rNeccBOsYBtQcIQ==} engines: {node: '>= 14.0.0'} dependencies: - '@algolia/client-common': 5.1.1 - '@algolia/requester-browser-xhr': 5.1.1 - '@algolia/requester-node-http': 5.1.1 + '@algolia/client-common': 5.2.4 + '@algolia/requester-browser-xhr': 5.2.4 + '@algolia/requester-node-http': 5.2.4 dev: true /@algolia/logger-common@4.24.0: @@ -168,11 +168,11 @@ packages: '@algolia/requester-common': 4.24.0 dev: true - /@algolia/requester-browser-xhr@5.1.1: - resolution: {integrity: sha512-NXmN1ujJCj5GlJQaMK6DbdiXdcf6nhRef/X40lu9TYi71q9xTo/5RPMI0K2iOp6g07S26BrXFOz6RSV3Ny4LLw==} + /@algolia/requester-browser-xhr@5.2.4: + resolution: {integrity: sha512-ncssmlq86ZnoQ/RH/EEG2KgmBZQnprzx3dZZ+iJrvkbxIi8V9wBWyCgjsuPrKGitzhpnjxZLNlHJZtcps5jaXw==} engines: {node: '>= 14.0.0'} dependencies: - '@algolia/client-common': 5.1.1 + '@algolia/client-common': 5.2.4 dev: true /@algolia/requester-common@4.24.0: @@ -185,11 +185,11 @@ packages: '@algolia/requester-common': 4.24.0 dev: true - /@algolia/requester-node-http@5.1.1: - resolution: {integrity: sha512-xwrgnNTIzgxDEx6zuCKSKTPzQLA8fL/WZiVB6fRpIu5agLMjoAi0cWA5YSDbo+2FFxqVgLqKY/Jz6mKmWtY15Q==} + /@algolia/requester-node-http@5.2.4: + resolution: {integrity: sha512-EoLOebO81Dtwuz/hy4onmQAb9dK8fDqyPWMwX017SvGDi3w1h4i6W6//VTO0vKLfXMNpoAKWFi+LBBTLCVtiiw==} engines: {node: '>= 14.0.0'} dependencies: - '@algolia/client-common': 5.1.1 + '@algolia/client-common': 5.2.4 dev: true /@algolia/transporter@4.24.0: @@ -231,10 +231,10 @@ packages: resolution: {integrity: sha512-VtVb5DS+0hRIprU2CO6ZQjK2Zg4QU5HrDM1+ix6rT0umsYvFvatMAnf97NHZlVWDaaLlx7GRfR/7FikANiM2Fg==} dev: true - /@docsearch/js@3.6.1(@algolia/client-search@5.1.1)(search-insights@2.17.0): + /@docsearch/js@3.6.1(@algolia/client-search@5.2.4)(search-insights@2.17.1): resolution: {integrity: sha512-erI3RRZurDr1xES5hvYJ3Imp7jtrXj6f1xYIzDzxiS7nNBufYWPbJwrmMqWC5g9y165PmxEmN9pklGCdLi0Iqg==} dependencies: - '@docsearch/react': 3.6.1(@algolia/client-search@5.1.1)(search-insights@2.17.0) + '@docsearch/react': 3.6.1(@algolia/client-search@5.2.4)(search-insights@2.17.1) preact: 10.23.2 transitivePeerDependencies: - '@algolia/client-search' @@ -244,7 +244,7 @@ packages: - search-insights dev: true - /@docsearch/react@3.6.1(@algolia/client-search@5.1.1)(search-insights@2.17.0): + /@docsearch/react@3.6.1(@algolia/client-search@5.2.4)(search-insights@2.17.1): resolution: {integrity: sha512-qXZkEPvybVhSXj0K7U3bXc233tk5e8PfhoZ6MhPOiik/qUQxYC+Dn9DnoS7CxHQQhHfCvTiN0eY9M12oRghEXw==} peerDependencies: '@types/react': '>= 16.8.0 < 19.0.0' @@ -261,11 +261,11 @@ packages: search-insights: optional: true dependencies: - '@algolia/autocomplete-core': 1.9.3(@algolia/client-search@5.1.1)(algoliasearch@4.24.0)(search-insights@2.17.0) - '@algolia/autocomplete-preset-algolia': 1.9.3(@algolia/client-search@5.1.1)(algoliasearch@4.24.0) + '@algolia/autocomplete-core': 1.9.3(@algolia/client-search@5.2.4)(algoliasearch@4.24.0)(search-insights@2.17.1) + '@algolia/autocomplete-preset-algolia': 1.9.3(@algolia/client-search@5.2.4)(algoliasearch@4.24.0) '@docsearch/css': 3.6.1 algoliasearch: 4.24.0 - search-insights: 2.17.0 + search-insights: 2.17.1 transitivePeerDependencies: - '@algolia/client-search' dev: true @@ -1357,8 +1357,8 @@ packages: queue-microtask: 1.2.3 dev: true - /search-insights@2.17.0: - resolution: {integrity: sha512-AskayU3QNsXQzSL6v4LTYST7NNfs2HWyHHB+sdORP9chsytAhro5XRfToAMI/LAVYgNbzowVZTMfBRodgbUHKg==} + /search-insights@2.17.1: + resolution: {integrity: sha512-HHFjYH/0AqXacETlIbe9EYc3UNlQYGNNTY0fZ/sWl6SweX+GDxq9NB5+RVoPLgEFuOtCz7M9dhYxqDnhbbF0eQ==} dev: true /section-matter@1.0.0: @@ -1489,7 +1489,7 @@ packages: pathe: 1.1.2 perfect-debounce: 1.0.0 vite: 5.4.2 - vitepress: 1.3.4(@algolia/client-search@5.1.1)(markdown-it-mathjax3@4.3.2)(search-insights@2.17.0) + vitepress: 1.3.4(@algolia/client-search@5.2.4)(markdown-it-mathjax3@4.3.2)(search-insights@2.17.1) dev: true /vitepress-sidebar@1.25.0: @@ -1499,7 +1499,7 @@ packages: gray-matter: 4.0.3 dev: true - /vitepress@1.3.4(@algolia/client-search@5.1.1)(markdown-it-mathjax3@4.3.2)(search-insights@2.17.0): + /vitepress@1.3.4(@algolia/client-search@5.2.4)(markdown-it-mathjax3@4.3.2)(search-insights@2.17.1): resolution: {integrity: sha512-I1/F6OW1xl3kW4PaIMC6snxjWgf3qfziq2aqsDoFc/Gt41WbcRv++z8zjw8qGRIJ+I4bUW7ZcKFDHHN/jkH9DQ==} hasBin: true peerDependencies: @@ -1512,7 +1512,7 @@ packages: optional: true dependencies: '@docsearch/css': 3.6.1 - '@docsearch/js': 3.6.1(@algolia/client-search@5.1.1)(search-insights@2.17.0) + '@docsearch/js': 3.6.1(@algolia/client-search@5.2.4)(search-insights@2.17.1) '@shikijs/core': 1.14.1 '@shikijs/transformers': 1.14.1 '@types/markdown-it': 14.1.2 diff --git a/docs/zh/guide/index.md b/docs/zh/guide/index.md index f1a4ffc..7f7d6c5 100644 --- a/docs/zh/guide/index.md +++ b/docs/zh/guide/index.md @@ -1,11 +1,10 @@ -# 开始不了一点 +# 快速开始 -$\int_{1}^{2} x111$ +> [!tip] +> 建议:把你项目所使用的Python换成PyPy,这样可以提高性能(兼容性优先) -# AAA +## 安装 -### BBB - -# C - -### ddd \ No newline at end of file +```shell +pip install mbcp +``` \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 72baba0..a130ecf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,6 @@ authors = [ {name = "snowykami", email = "snowykami@outlook.com"}, ] dependencies = [ - "pytest~=8.3.2", "numpy~=2.0.1", "liteyukibot>=6.3.9", ] @@ -25,6 +24,7 @@ distribution = true [tool.pdm.dev-dependencies] dev = [ "translate>=3.6.1", + "pytest>=8.3.2", ] [[tool.pdm.source]] name = "pypi"