Skip to content

Commit

Permalink
fix: add sidebar position
Browse files Browse the repository at this point in the history
  • Loading branch information
zyf722 committed Apr 24, 2024
1 parent 0d6caef commit deceec2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/design-patterns/behavioural/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
sidebar_position: 3
---

# 行为型模式
行为型模式提供了对象间的高效沟通和委派机制。

Expand Down
4 changes: 4 additions & 0 deletions docs/design-patterns/creational/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
sidebar_position: 1
---

# 创建型模式
创建型模式提供了创建对象的机制, 能够提升已有代码的灵活性和可复用性。

Expand Down
4 changes: 4 additions & 0 deletions docs/design-patterns/structural/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
sidebar_position: 2
---

# 结构型模式
创建型模式提供了将类和对象组建成更大的结构的方法,同时保持结构的灵活性和高效性。

Expand Down

0 comments on commit deceec2

Please sign in to comment.