💚 add extra install in document build

This commit is contained in:
Mix 2021-02-06 10:54:50 +08:00
parent 86965ee06d
commit 7d9a8eaf19
3 changed files with 5 additions and 3 deletions

View File

@ -2,7 +2,7 @@ name: Build API Doc
on:
pull_request:
types: [ opened, synchronize, reopened ]
types: [opened, synchronize, reopened]
jobs:
build:
@ -30,7 +30,7 @@ jobs:
- name: Set up dependencies
run: |
poetry install
poetry install -E all
- name: Build Doc
run: poetry run sphinx-build -M markdown ./docs_build ./build

3
poetry.lock generated
View File

@ -655,12 +655,13 @@ optional = false
python-versions = "*"
[extras]
all = ["Quart"]
quart = ["Quart"]
[metadata]
lock-version = "1.1"
python-versions = "^3.7"
content-hash = "c23c2c3c795a7febb94bbba9ac04ff954a8f65a4389a367b1ce57793126d0f92"
content-hash = "11273401518ba0c93c5e381c6f0c1be02d60106bcda715c7ee7a06a78a8871d5"
[metadata.files]
aiofiles = [

View File

@ -40,6 +40,7 @@ sphinx-markdown-builder = { git = "https://github.com/nonebot/sphinx-markdown-bu
[tool.poetry.extras]
quart = ["quart"]
all = ["quart"]
# [[tool.poetry.source]]
# name = "aliyun"