From 24d2ca5ef8c786ceb5c6eae51e76d518f93e534f Mon Sep 17 00:00:00 2001
From: Joseph Weston <joseph@weston.cloud>
Date: Fri, 6 Sep 2019 09:45:50 +0200
Subject: [PATCH] use 'sphinx-build' rather than invoking 'sphinx.main'

Sphinx 2 got rid of 'sphinx.main' so we can no longer use it.
---
 doc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/Makefile b/doc/Makefile
index 1bdce834..55a62a6a 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -10,7 +10,7 @@
 
 # You can set these variables from the command line.
 SPHINXOPTS    =
-SPHINXBUILD   = python3 -c 'import sys, sphinx; sys.exit(sphinx.main(sys.argv))'
+SPHINXBUILD   = sphinx-build
 PAPER         =
 BUILDDIR      = build
 
-- 
GitLab