diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-03-27 15:21:44 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-04-08 12:11:17 +0200 |
commit | 5b31b90e82602b2ec7906ae4868f4777ce046dfe (patch) | |
tree | 81be1fe80a2516dbffc633f457fca41e3de47cab /scripts | |
parent | 915ac41ada34c55f7674a00a2c366cdc5d35b264 (diff) |
Update URL for BSP git repo
The BSP repository was moved to github. The old repository lacks
several recent commits, leading to broken links in the HTML output (see
e.g. html/linux/io/bsp397_SDHI.html).
Update all BSP URLs to fix this. Note that BSP commits are opened in a
new tab, as github pages cannot be embedded in a frame.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/myhtml.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/myhtml.py b/scripts/myhtml.py index 39ea0e1..0afb0e6 100755 --- a/scripts/myhtml.py +++ b/scripts/myhtml.py @@ -131,7 +131,7 @@ class periject_html(base.base): def commit_url(self, id, type): if (type == "bsp"): - return "https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-bsp.git/commit/?id={}".format(id) + return "https://github.com/renesas-rcar/linux-bsp/commit/{}?diff=unified".format(id) if (type == "torvalds"): return "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id={}".format(id) if (type == "next"): @@ -498,7 +498,7 @@ class periject_html(base.base): for bsp in bsp_list: cnt += 1 html("li").print(html("a", {"href":self.commit_url(bsp, "bsp"), - "target":"subbody"}).text(self.git_title(bsp))) + "target":"_blank"}).text(self.git_title(bsp))) return cnt |