diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4708dd7..a63a633 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,7 +99,7 @@ jobs: - name: Run documentation generation if: startsWith(matrix.backend, 'none') != true run: | - cd docs && make html + cd docs && python3 -m sphinx -W -b html . build/html - name: Remove source directory to ensure that package from installation directory is used run: | rm -rf rbnicsx diff --git a/docs/Makefile b/docs/Makefile deleted file mode 100644 index 1623267..0000000 --- a/docs/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -SPHINXOPTS ?= -SPHINXBUILD ?= sphinx-build -SOURCEDIR = . -BUILDDIR = build - -help: - @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) - -.PHONY: help Makefile - -%: Makefile - @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)