diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af8547d..6f8e936 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,33 +13,18 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - name: install node.js - uses: actions/setup-node@v3 - with: - node-version: 18 - - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 name: install pnpm - id: pnpm-install with: - version: 7 run_install: false - - name: get pnpm store - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - name: set up pnpm cache - uses: actions/cache@v3 + - name: install node.js + uses: actions/setup-node@v4 with: - path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- + node-version: 20 + cache: 'pnpm' - name: install dependencies run: pnpm install @@ -48,7 +33,7 @@ jobs: run: pnpm run build - name: upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: help-site path: build diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4188320..99e9d2c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -49,7 +49,7 @@ jobs: if: needs.check.outputs.secrets == 'ok' steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: setup python uses: actions/setup-python@v4 diff --git a/docs/index.md b/docs/index.md index efe81a5..fa8cf42 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,5 +1,5 @@ --- -sidebar_label: 欢迎 +sidebar_label: 平台介绍/Introduction sidebar_position: 1 breadcrumbs: false hide_title: true @@ -11,8 +11,19 @@ pagination_next: null # 欢迎来到洛谷开放平台 -:::caution -洛谷开放平台目前处于公测阶段,服务 SLA 和接口稳定性不能保证。费用标准也并非正式商业化价格。 +洛谷开放平台是由国内知名算法社区洛谷推出的技术赋能解决方案,旨在为教育机构、开发者及在线评测系统(OJ)提供一站式题库接入与评测服务。平台依托洛谷十年积累的优质资源,开放其海量公开题库及高并发评测能力,帮助用户快速构建稳定、专业的编程训练环境,显著降低开发运维成本。 -::: +- 海量资源:无缝接入 10,000+ 道精选算法题目(不含RemoteJudge),覆盖主流竞赛考点与教学场景,支持题库实时同步更新。 +- 高速评测:依托高峰期日均处理 200,000+ 评测的分布式系统,提供高效的响应、精准判题服务,免除自建评测机运维压力。 +- 生态兼容:原生支持 HydroOJ、UOJ、SYZOJ 等主流开源 OJ 系统,提供标准化 API 接口与插件化接入方案,确保低代码快速部署。 + +商务合作邮箱:k@luogu.org + +**Luogu Open Platform** is a technical empowerment solution developed by Luogu, China's premier algorithm community, specifically designed for educational institutions, developers, and Online Judge (OJ) systems. Leveraging a decade of high-quality resources accumulated by Luogu, the platform opens access to its massive public question bank and high-concurrency evaluation capabilities, enabling users to quickly build stable, professional programming training environments while significantly reducing development and operational costs. + +- **Extensive Resources**: Seamless integration with 10,000+ curated algorithm problems (excluding RemoteJudge), covering key competition topics and educational scenarios, with real-time question bank synchronization. +- **High-Speed Judging**: Powered by distributed systems processing over 200,000 submissions daily during peak periods, delivering efficient response times and precise judging services, eliminating the need for self-hosted judging machines. +- **Ecosystem Compatibility**: Native support for major OJ frameworks including HydroOJ, UOJ, and SYZOJ, featuring standardized API interfaces and plugin-based integration solutions for low-code deployment. + +The document is currently in Chinese only. For English inquiries, please contact us at k@luogu.org. \ No newline at end of file diff --git a/docs/intro.md b/docs/intro.md deleted file mode 100644 index f812261..0000000 --- a/docs/intro.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -sidebar_position: 2 -pagination_prev: null -pagination_next: null ---- - -# 平台介绍 - -是洛谷开放平台。 diff --git a/docs/judge/pricing.md b/docs/judge/pricing.md index 3273897..c7c118b 100644 --- a/docs/judge/pricing.md +++ b/docs/judge/pricing.md @@ -4,6 +4,12 @@ sidebar_position: 2 # 收费标准 +:::caution + +洛谷开放平台目前处于公测阶段,服务 SLA 和接口稳定性仅能提供尽力而为的支持。费用标准也并非正式商业化价格,如有问题可与我们通过商业邮箱联系。 + +::: + 洛谷开放平台的评测能力服务(RemoteJudge)是付费服务。凡是需要使用这项服务的,都需要收费。 目前仅开放**标准版**一个套餐。以后可能开放更多的套餐。 diff --git a/package.json b/package.json index 298fa57..f3a97b3 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ ] }, "engines": { - "node": ">=16.14" - } + "node": ">=20.17" + }, + "packageManager": "pnpm@9.13.2+sha512.88c9c3864450350e65a33587ab801acf946d7c814ed1134da4a924f6df5a2120fd36b46aab68f7cd1d413149112d53c7db3a4136624cfd00ff1846a0c6cef48a" }