Skip to content

Commit 6e9fd71

Browse files
committed
improvement: 将编辑文档链接指向Github文件页面而非编辑页面
1 parent c1fc7a1 commit 6e9fd71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/js/plugin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
function plugin(hook, vm) {
22
hook.beforeEach(function (content) {
3-
const editUrl = `${vm.config.repo}/edit/master${vm.route.file}`;
3+
const editUrl = `${vm.config.repo}/blob/master${vm.route.file}`;
44
const newContent = `!> 免责声明:请合理使用编程猫社区API,如果因为使用不当对您和编程猫社区造成损失,本文档开发团队不承担任何法律责任
55
66
[:memo:编辑文档](${editUrl})

0 commit comments

Comments
 (0)