File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 3
3
4
4
import nox
5
5
6
+ nox .options .sessions = ["dev" ]
7
+ nox .options .reuse_existing_virtualenvs = True
8
+ nox .options .error_on_external_run = True
9
+
10
+
11
+ @nox .session (python = "3.5" )
12
+ def dev (session ):
13
+ session .install ("-r" , "requirements.txt" )
14
+
15
+ session .run ("python" , "manage.py" , * session .posargs )
16
+
6
17
7
18
@nox .session (python = ["3.5" , "3.6" , "3.7" , "3.8" ])
8
19
def test (session ):
@@ -35,11 +46,10 @@ def get_sphinx_build_command(kind):
35
46
return [
36
47
"sphinx-build" ,
37
48
"-W" ,
38
- "-c" , "docs/" , # see note above
39
49
"-d" , "docs/build/_doctrees/" + kind ,
40
50
"-b" , kind ,
41
- "docs/" + kind ,
42
- "docs/_build /" + kind ,
51
+ "docs/source" ,
52
+ "docs/build /" + kind ,
43
53
]
44
54
45
55
session .run (* get_sphinx_build_command ("html" ))
You can’t perform that action at this time.
0 commit comments