We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 770ae2a commit 1e5c835Copy full SHA for 1e5c835
docs/Makefile
@@ -3,7 +3,7 @@
3
4
# You can set these variables from the command line.
5
SPHINXOPTS =
6
-SPHINXBUILD = sphinx-build
+SPHINXBUILD = ./sphinx3-build
7
PAPER =
8
BUILDDIR = _build
9
docs/sphinx3-build
@@ -0,0 +1,18 @@
1
+#!/usr/bin/python3
2
+# -*- coding: utf-8 -*-
+"""
+Same as /usr/bin/sphinx-build but with different
+interpreter
+
+Source: http://stackoverflow.com/a/24675806
10
+import sys
11
12
+if __name__ == '__main__':
13
+ from sphinx import main, make_main
14
+ if sys.argv[1:2] == ['-M']:
15
+ sys.exit(make_main(sys.argv))
16
+ else:
17
+ sys.exit(main(sys.argv))
18
0 commit comments