Update docs links
The links for more_info were pointing to the old location for bandit's documents, which would redirect to an index.html page. This change updates the docs to the new location in order to allow the "more info" link to point to the correct page. Change-Id: I950ea4601248065dce68a5d21b144703817cf675 Closes-Bug: #1745006
This commit is contained in:
parent
1b05566428
commit
2fc7dda850
@ -15,7 +15,7 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
# where our docs are hosted
|
# where our docs are hosted
|
||||||
BASE_URL = 'https://docs.openstack.org/developer/bandit/'
|
BASE_URL = 'https://docs.openstack.org/bandit/latest/'
|
||||||
|
|
||||||
|
|
||||||
def get_url(bid):
|
def get_url(bid):
|
||||||
|
@ -125,9 +125,9 @@ This formatter outputs the issues as HTML.
|
|||||||
<b>Confidence: </b>HIGH<br>
|
<b>Confidence: </b>HIGH<br>
|
||||||
<b>File: </b><a href="examples/yaml_load.py"
|
<b>File: </b><a href="examples/yaml_load.py"
|
||||||
target="_blank">examples/yaml_load.py</a> <br>
|
target="_blank">examples/yaml_load.py</a> <br>
|
||||||
<b>More info: </b><a href="https://docs.openstack.org/developer/bandit/
|
<b>More info: </b><a href="https://docs.openstack.org/bandit/latest/
|
||||||
plugins/yaml_load.html" target="_blank">
|
plugins/yaml_load.html" target="_blank">
|
||||||
https://docs.openstack.org/developer/bandit/plugins/yaml_load.html</a>
|
https://docs.openstack.org/bandit/latest/plugins/yaml_load.html</a>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<div class="code">
|
<div class="code">
|
||||||
|
@ -65,7 +65,7 @@ This formatter outputs the issues in JSON.
|
|||||||
"line_range": [
|
"line_range": [
|
||||||
5
|
5
|
||||||
],
|
],
|
||||||
"more_info": "https://docs.openstack.org/developer/bandit/",
|
"more_info": "https://docs.openstack.org/bandit/latest/",
|
||||||
"test_name": "blacklist_calls",
|
"test_name": "blacklist_calls",
|
||||||
"test_id": "B301"
|
"test_id": "B301"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user