Skip to content

Commit da3d9dd

Browse files
committed
add wiki/manpage link
1 parent e0625ee commit da3d9dd

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

content/package/index.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,13 @@ <h2 id="h2_namever" class="error">连接远程服务器失败!</h2>
1313
<h4>Package Actions</h4>
1414
<ul class="small">
1515
<li>
16-
<a id="a_git_src" href="https://gitlab.archlinux.org/archlinux/packaging/packages/" target="_blank" title="View source files for">Source Files</a> /
17-
<a id="a_git_log" href="https://gitlab.archlinux.org/archlinux/packaging/packages/" target="_blank" title="View changes for ">View Changes</a>
16+
<a id="a_git_src" href="https://github.com/loongarchlinux/extra/" target="_blank" title="View source files">Source Files</a> /
17+
<a id="a_git_log" href="https://github.com/loongarchlinux/extra/commits/main" target="_blank" title="View changes">View Changes</a>
18+
</li>
19+
<li>
20+
<a id="a_wiki" href="https://wiki.archlinux.org/title/Special:Search?search=" title="Search wiki">Search Wiki</a> /
21+
<a id="a_wiki_cn" href="https://wiki.archlinux.org/title/Special:Search?search=" title="Search wiki">维基搜索</a> /
22+
<a id="a_man" href="https://man.archlinux.org/listing/" title="List manpages">Manual Pages</a>
1823
</li>
1924
<li><a id="a_download" href="download/" rel="nofollow" title="Download from mirror">Download From Mirror</a></li>
2025
</ul>
@@ -100,6 +105,9 @@ <h3 title="Complete list of files contained within this package">
100105
$('#h2_namever').html(result.pkgname + " " + result.pkgver).removeAttr('class');
101106
$('#a_git_src').attr("href", "https://github.com/loongarchlinux/"+result.repo.replace("-testing", "")+"/tree/main/" + result.pkgbase).attr("title", "View source files for " + result.pkgname);
102107
$('#a_git_log').attr("href", "https://github.com/loongarchlinux/"+result.repo.replace("-testing", "")+"/commits/main/" + result.pkgbase).attr("title", "View changes for " + result.pkgname);
108+
$('#a_wiki').attr("href", "https://wiki.archlinux.org/title/Special:Search?search=" + result.pkgname).attr("title", "Search wiki for " + result.pkgname);
109+
$('#a_wiki_cn').attr("href", "https://wiki.archlinuxcn.org/title/Special:Search?search=" + result.pkgname).attr("title", "Search wiki for " + result.pkgname);
110+
$('#a_man').attr("href", "https://man.archlinux.org/listing/" + result.pkgname).attr("title", "List manpages in " + result.pkgname);
103111
$('#a_download').attr("href", baseurl + "/" + result.repo + "/" + result.arch + "/" + result.pkgname + "/download/").attr("title", "Download " + result.pkgname + "from mirror");
104112
$('#a_arch').html(result.arch).attr("href", "/packages/?arch="+result.arch).attr("title", "Browse packages for " + result.arch + " architecture");
105113
$('#a_repo').html(result.repo).attr("href", "/packages/?repo="+result.repo).attr("title", "Browse the " + result.repo + "repository");

0 commit comments

Comments
 (0)