diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 42b0940f6..3bdb6de1b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -32,7 +32,7 @@ jobs: poetry run sphinx-apidoc -f -o ./source ../scaleway poetry run sphinx-apidoc -f -o ./source ../scaleway-async - name: Generate documentation - run: poetry run sphinx-build -b html ./ ./_build + run: poetry run sphinx-build -j auto -b html ./ ./_build - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v4 if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} diff --git a/docs/Makefile b/docs/Makefile index d4bb2cbb9..dcee28255 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -3,7 +3,7 @@ # You can set these variables from the command line, and also # from the environment for the first two. -SPHINXOPTS ?= +SPHINXOPTS ?= -j auto SPHINXBUILD ?= sphinx-build SOURCEDIR = . BUILDDIR = _build