]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
add sphinx to pyproject.toml
authorBob Halley <halley@dnspython.org>
Thu, 7 May 2020 19:40:34 +0000 (12:40 -0700)
committerBob Halley <halley@dnspython.org>
Thu, 7 May 2020 19:40:34 +0000 (12:40 -0700)
doc/Makefile
pyproject.toml

index ff97397430c4f226f0d73fa3b30edcf85a2c9e68..3ff52deb637d87e1a107ec292a6d180075c65b4d 100644 (file)
@@ -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)
index f84ac9d133656ee2bef6c17842e8c132914734be..541207dbc9ab902742056130cb30f80dbeda0f97 100644 (file)
@@ -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']