Skip to content

Commit

Permalink
fix: update site config (#2235)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanglbme authored Jan 18, 2024
1 parent f639fce commit f2ef329
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
- 1. 两数之和: lc/1.md
- 2. 两数相加: lc/2.md
- 100. 相同的树: lc/100.md
- 剑指 Offer(第 2 版):
- 剑指 Offer:
- 面试题3. 数组中重复的数字: lcof/3.md
- 剑指 Offer(专项突击版):
- 剑指 Offer(专项突破):
- 1. 整数除法: lcof2/1.md
- 程序员面试金典(第 6 版):
- 程序员面试金典:
- 面试题 01.01. 判定字符是否唯一: lcci/1.1.md
"""

Expand Down Expand Up @@ -178,22 +178,22 @@ def get_paths(dirs: str, m: int):

config += "\nnav:\n"
en_config += "\nnav:\n"
config += " - LeetCode:\n"
config += " - LeetCode 全解:\n"
en_config += " - LeetCode:\n"
config += "\n".join(navdata_cn["solution"])
en_config += "\n".join(navdata_en["solution"])
config += "\n"
en_config += "\n"
config += " - 剑指 Offer(第 2 版):\n"
config += " - 剑指 Offer:\n"
config += "\n".join(navdata_cn["lcof"])
config += "\n"
config += " - 剑指 Offer(专项突击版):\n"
config += " - 剑指 Offer(专项突破):\n"
config += "\n".join(navdata_cn["lcof2"])
config += "\n"
config += " - 程序员面试金典(第 6 版):\n"
config += " - 程序员面试金典:\n"
config += "\n".join(navdata_cn["lcci"])
config += "\n"
en_config += " - Cracking the Coding Interview, 6th Edition:\n"
en_config += " - Cracking the Coding Interview:\n"
en_config += "\n".join(navdata_en["lcci"])
en_config += "\n"

Expand Down
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ extra:
link: https://leetcode.cn/u/lcbin/
alternate:
- name: English
link: /en/
link: ./en/
lang: en
- name: 中文
link: /
link: ./
lang: zh


Expand Down

0 comments on commit f2ef329

Please sign in to comment.