From b4a0c76de17e4528a9bda3d7f6f71b0fe28f6050 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Thu, 7 May 2020 12:40:34 -0700 Subject: [PATCH] add sphinx to pyproject.toml --- doc/Makefile | 4 ++-- pyproject.toml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index ff973974..3ff52deb 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -3,7 +3,7 @@ # You can set these variables from the command line. SPHINXOPTS = -SPHINXBUILD = sphinx-build +SPHINXBUILD = poetry run sphinx-build SPHINXPROJ = dnspython SOURCEDIR = . BUILDDIR = _build @@ -17,4 +17,4 @@ help: # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: Makefile - @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) \ No newline at end of file + @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) diff --git a/pyproject.toml b/pyproject.toml index f84ac9d1..541207db 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,7 @@ cryptography = {version="^2.6", optional=true} mypy = "^0.770" pytest = "^5.4.1" flake8 = "^3.7.9" +sphinx = "^3.0.0" [tool.poetry.extras] doh = ['requests', 'requests-toolbelt'] -- 2.47.3