Skip to content

πŸ“„ Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.

Update README

SWHL1abf7967f0ac
diff --git a/.github/workflows/deploy_docs_to_rtd.yml b/.github/workflows/deploy_docs_to_rtd.yml
index a2975cd..971f67d 100644
--- a/.github/workflows/deploy_docs_to_rtd.yml
+++ b/.github/workflows/deploy_docs_to_rtd.yml
@@ -47,11 +47,13 @@ jobs:
git clone -b ${SUBMMIT_BRANCH} $CLONE_URL ${SUBMMIT_BRANCH}
cd ${SUBMMIT_BRANCH}
rm -r python || true
+ rm -r ocrweb || true
rm source/README.md || true
echo "====================="
echo ${SUBMMIT_BRANCH}
cp -r ../python .
+ cp -r ../ocrweb .
echo "Update requirements and add packages needed by sphinx"
echo -e '\nsphinx_rtd_theme\nsphinxcontrib.mermaid\nmyst-parser\nsphinx_copybutton\nget_pypi_latest_version' >> ../python/requirements.txt
@@ -65,9 +67,9 @@ jobs:
echo "Generate the api doc"
pip install sphinx
- sphinx-apidoc -o source/API python/ -f -E -M --implicit-namespaces -d 6
- sed -i '1d' source/API/modules.rst
- sed -i '1i\API' source/API/modules.rst
+ sphinx-apidoc -o source/API/python python/ -f -E -M --implicit-namespaces -d 6
+ sphinx-apidoc -o source/API/ocrweb ocrweb/ -f -E -M --implicit-namespaces -d 6
+ echo -e "API\n======\n\n.. toctree::\n :maxdepth: 6\n\n python/modules\n ocrweb/modules\n" >> source/API/modules.rst
git add .
git status
diff --git a/README.md b/README.md
index 6115c42..a2ae60d 100755
--- a/README.md
+++ b/README.md
@@ -19,6 +19,9 @@
<a href="https://pypi.org/project/rapidocr-onnxruntime/"><img alt="PyPI" src="https://img.shields.io/pypi/v/rapidocr-onnxruntime"></a>
<a href="https://github.com/RapidAI/RapidOCR/stargazers"><img src="https://img.shields.io/github/stars/RapidAI/RapidOCR?color=ccf"></a>
<a href="https://semver.org/"><img alt="SemVer2.0" src="https://img.shields.io/badge/SemVer-2.0-brightgreen"></a>
+ <a href='https://rapidocr.readthedocs.io/en/latest/?badge=latest'>
+ <img src='https://readthedocs.org/projects/rapidocr/badge/?version=latest' alt='Documentation Status' />
+ </a>
</p>
diff --git a/docs/README_en.md b/docs/README_en.md
index e3a4292..4c0064a 100644
--- a/docs/README_en.md
+++ b/docs/README_en.md
@@ -19,6 +19,9 @@
<a href="https://pypi.org/project/rapidocr-onnxruntime/"><img alt="PyPI" src="https://img.shields.io/pypi/v/rapidocr-onnxruntime"></a>
<a href="https://github.com/RapidAI/RapidOCR/stargazers"><img src="https://img.shields.io/github/stars/RapidAI/RapidOCR?color=ccf"></a>
<a href="https://semver.org/"><img alt="SemVer2.0" src="https://img.shields.io/badge/SemVer-2.0-brightgreen"></a>
+ <a href='https://rapidocr.readthedocs.io/en/latest/?badge=latest'>
+ <img src='https://readthedocs.org/projects/rapidocr/badge/?version=latest' alt='Documentation Status' />
+ </a>
</p>
<details>