From 7d9a8eaf196b46e824afbce966e67decfaa92a19 Mon Sep 17 00:00:00 2001 From: Mix Date: Sat, 6 Feb 2021 10:54:50 +0800 Subject: [PATCH] :green_heart: add extra install in document build --- .github/workflows/build_docs.yml | 4 ++-- poetry.lock | 3 ++- pyproject.toml | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index 8fdc2d9a..bd20695a 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -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 diff --git a/poetry.lock b/poetry.lock index f0ff0bd4..6d41f5cb 100644 --- a/poetry.lock +++ b/poetry.lock @@ -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 = [ diff --git a/pyproject.toml b/pyproject.toml index 593bac6c..b0cd8e42 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"