Skip to content

Commit 33641f2

Browse files
committed
chore: upgrade plugin
1 parent bed22ff commit 33641f2

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

docs/lc/1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
comments: true
3-
edit_url: 'https://github.com/doocs/leetcode/blob/main/solution/0000-0099/0001.Two%20Sum/README.md'
3+
edit_url: 'https://github.com/doocs/leetcode/edit/main/solution/0000-0099/0001.Two%20Sum/README.md'
44
---
55

66

docs/lc/2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
comments: true
3-
edit_url: 'https://github.com/doocs/leetcode/blob/main/solution/0000-0099/0002.Add%20Two%20Numbers/README.md'
3+
edit_url: 'https://github.com/doocs/leetcode/edit/main/solution/0000-0099/0002.Add%20Two%20Numbers/README.md'
44
---
55

66
# [2. 两数相加](https://leetcode.cn/problems/add-two-numbers)

hooks.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@
33

44
def on_page_markdown(markdown, page, config, files):
55
page_edit_url = page.meta.get("edit_url")
6-
if page_edit_url:
7-
print(dir(page))
8-
page.edit_url = str(page.meta.get("edit_url")) if page_edit_url else None
6+
page.edit_url = str(page_edit_url) if page_edit_url else None

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ black==24.2.0
22
Requests==2.31.0
33
sortedcontainers==2.4.0
44
urllib3==1.26.18
5-
mkdocs-git-committers-plugin-2==2.2.3
5+
mkdocs-git-committers-plugin-2==2.3.0
66
mkdocs-material==9.5.13
77
mkdocs-glightbox==0.3.7
88
jieba==0.42.1

0 commit comments

Comments
 (0)