Skip to content

Commit

Permalink
📝 修复文档路径
Browse files Browse the repository at this point in the history
  • Loading branch information
CMHopeSunshine committed Sep 14, 2023
1 parent d0bb501 commit 5f070ad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cherry/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@ def __eq__(self, other: "Model") -> ColumnElement:
...

@overload
def __eq__(self, other: Any) -> bool:
def __eq__(self, other: object) -> bool:
...

def __eq__(
self,
other: Any,
other: object,
) -> Union[bool, ColumnElement]:
if isinstance(other, Model):
field = self._get_field_type_by_model(other) # type: ignore
Expand Down
3 changes: 1 addition & 2 deletions docs/en/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,12 @@ markdown_extensions:
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets:
base_path: ../src
base_path: ./docs/src
- pymdownx.superfences
- pymdownx.details
- pymdownx.tabbed:
alternate_style: true


extra:
alternate:
- name: 简体中文
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ markdown_extensions:
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets:
base_path: ../src
base_path: ./docs/src
- pymdownx.superfences
- pymdownx.details
- pymdownx.tabbed:
Expand Down

0 comments on commit 5f070ad

Please sign in to comment.