File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -12,3 +12,5 @@ python:
12
12
install :
13
13
- requirements : requirements.txt
14
14
- requirements : doc/requirements.txt
15
+ - method : pip
16
+ path : .
Original file line number Diff line number Diff line change 2
2
import os
3
3
import sys
4
4
5
- sys .path .insert (0 , os .path .abspath ("../ .." ))
5
+ sys .path .insert (0 , os .path .abspath (os . path . join ( ".." , " ..") ))
6
6
# -- General configuration ----------------------------------------------------
7
7
8
8
# Add any Sphinx extension module names here, as strings. They can be
23
23
source_suffix = ".rst"
24
24
25
25
# The root toctree document.
26
- master_doc = "index"
26
+ root_doc = "index"
27
27
28
28
# General information about the project.
29
29
project = "Bandit"
30
- copyright = "2022 , Bandit Developers"
30
+ copyright = "2023 , Bandit Developers"
31
31
32
32
# If true, '()' will be appended to :func: etc. cross-reference text.
33
33
add_function_parentheses = True
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ commands =
65
65
[testenv:docs]
66
66
deps = -r{toxinidir}/doc/requirements.txt
67
67
commands =
68
- python setup.py build_sphinx
68
+ sphinx-build doc/source doc/build
69
69
70
70
[flake8]
71
71
# [H106] Don't put vim configuration in source files.
You can’t perform that action at this time.
0 commit comments