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

3
poetry.lock generated
View File

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

View File

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