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:
Gage Hugo 2018-01-25 19:17:49 -06:00
parent 1b05566428
commit 2fc7dda850
3 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@
# under the License.
# 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):

View File

@ -125,9 +125,9 @@ This formatter outputs the issues as HTML.
<b>Confidence: </b>HIGH<br>
<b>File: </b><a href="examples/yaml_load.py"
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">
https://docs.openstack.org/developer/bandit/plugins/yaml_load.html</a>
https://docs.openstack.org/bandit/latest/plugins/yaml_load.html</a>
<br>
<div class="code">

View File

@ -65,7 +65,7 @@ This formatter outputs the issues in JSON.
"line_range": [
5
],
"more_info": "https://docs.openstack.org/developer/bandit/",
"more_info": "https://docs.openstack.org/bandit/latest/",
"test_name": "blacklist_calls",
"test_id": "B301"
}