Skip to content

Commit bc2e8ea

Browse files
committed
docs: add README of pypi homepage
1 parent 8d675d1 commit bc2e8ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/doc_whl_rapidocr_api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
### See [Documentation](https://rapidai.github.io/RapidOCRDocs/install_usage/rapidocr_api/usage/)

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ def read_txt(txt_path: str) -> List:
1919

2020

2121
def get_readme():
22-
root_dir = Path(__file__).resolve().parent.parent
23-
readme_path = str(root_dir / "docs" / "doc_whl_rapidocr_api.md")
22+
readme_path = str(Path("docs") / "doc_whl_rapidocr_api.md")
2423
with open(readme_path, "r", encoding="utf-8") as f:
2524
readme = f.read()
2625
return readme

0 commit comments

Comments
 (0)