mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-01-13 01:44:12 +00:00
docs: 更新文档导航和解析器指南
- 添加演练场(Playground)文档导航区到主 README - 新增 Python 解析器文档链接(开发指南、测试报告、LSP集成) - 更新前端版本号至 0.1.9b19p - 补充 Python 解析器 requests 库使用章节和官方文档链接 - 添加 JavaScript 和 Python 解析器的语言版本和官方文档 - 优化文档结构,分类为项目文档和外部资源
This commit is contained in:
27
.github/workflows/maven.yml
vendored
27
.github/workflows/maven.yml
vendored
@@ -53,6 +53,13 @@ jobs:
|
||||
- name: Build Frontend
|
||||
run: cd web-front && yarn install && yarn run build
|
||||
|
||||
- name: Install GraalPy pip packages (for Python tags)
|
||||
if: contains(github.ref, 'py')
|
||||
run: |
|
||||
cd parser
|
||||
chmod +x setup-graalpy-packages.sh
|
||||
./setup-graalpy-packages.sh
|
||||
|
||||
- name: Build with Maven
|
||||
run: mvn -B package -DskipTests --file pom.xml
|
||||
|
||||
@@ -88,9 +95,15 @@ jobs:
|
||||
run: |
|
||||
GIT_TAG=$(git tag --points-at HEAD | head -n 1)
|
||||
echo "tag=$GIT_TAG" >> $GITHUB_OUTPUT
|
||||
# 检查是否为 Python 版本标签(以 py 结尾)
|
||||
if [[ "$GIT_TAG" == *py ]]; then
|
||||
echo "is_python=true" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "is_python=false" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- name: Build and push Docker image
|
||||
if: github.event_name != 'pull_request'
|
||||
- name: Build and push Docker image (Standard)
|
||||
if: github.event_name != 'pull_request' && steps.tag.outputs.is_python == 'false'
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
@@ -99,3 +112,13 @@ jobs:
|
||||
tags: |
|
||||
ghcr.io/qaiu/netdisk-fast-download:${{ steps.tag.outputs.tag }}
|
||||
ghcr.io/qaiu/netdisk-fast-download:latest
|
||||
|
||||
- name: Build and push Docker image (Python)
|
||||
if: github.event_name != 'pull_request' && steps.tag.outputs.is_python == 'true'
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
tags: |
|
||||
ghcr.io/qaiu/netdisk-fast-download:${{ steps.tag.outputs.tag }}
|
||||
|
||||
Reference in New Issue
Block a user