From 7c84e22287cca8cbd57d49fdad5148a32fb68ac5 Mon Sep 17 00:00:00 2001 From: Felix Dittrich Date: Mon, 11 Sep 2023 07:52:42 +0200 Subject: [PATCH] chore: apply post release modifications v0.7.0 (#1309) --- README.md | 2 +- docs/build.sh | 3 ++- docs/source/_static/js/custom.js | 5 +++-- docs/source/changelog.rst | 4 ++++ setup.py | 2 +- 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b3638fb229..47b9e34b6c 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@

-[![Slack Icon](https://img.shields.io/badge/Slack-Community-4A154B?style=flat-square&logo=slack&logoColor=white)](https://slack.mindee.com) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE) ![Build Status](https://github.com/mindee/doctr/workflows/builds/badge.svg) [![codecov](https://codecov.io/gh/mindee/doctr/branch/main/graph/badge.svg?token=577MO567NM)](https://codecov.io/gh/mindee/doctr) [![CodeFactor](https://www.codefactor.io/repository/github/mindee/doctr/badge?s=bae07db86bb079ce9d6542315b8c6e70fa708a7e)](https://www.codefactor.io/repository/github/mindee/doctr) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/340a76749b634586a498e1c0ab998f08)](https://app.codacy.com/gh/mindee/doctr?utm_source=github.com&utm_medium=referral&utm_content=mindee/doctr&utm_campaign=Badge_Grade) [![Doc Status](https://github.com/mindee/doctr/workflows/doc-status/badge.svg)](https://mindee.github.io/doctr) [![Pypi](https://img.shields.io/badge/pypi-v0.6.0-blue.svg)](https://pypi.org/project/python-doctr/) [![Hugging Face Spaces](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue)](https://huggingface.co/spaces/mindee/doctr) [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/mindee/notebooks/blob/main/doctr/quicktour.ipynb) +[![Slack Icon](https://img.shields.io/badge/Slack-Community-4A154B?style=flat-square&logo=slack&logoColor=white)](https://slack.mindee.com) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE) ![Build Status](https://github.com/mindee/doctr/workflows/builds/badge.svg) [![codecov](https://codecov.io/gh/mindee/doctr/branch/main/graph/badge.svg?token=577MO567NM)](https://codecov.io/gh/mindee/doctr) [![CodeFactor](https://www.codefactor.io/repository/github/mindee/doctr/badge?s=bae07db86bb079ce9d6542315b8c6e70fa708a7e)](https://www.codefactor.io/repository/github/mindee/doctr) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/340a76749b634586a498e1c0ab998f08)](https://app.codacy.com/gh/mindee/doctr?utm_source=github.com&utm_medium=referral&utm_content=mindee/doctr&utm_campaign=Badge_Grade) [![Doc Status](https://github.com/mindee/doctr/workflows/doc-status/badge.svg)](https://mindee.github.io/doctr) [![Pypi](https://img.shields.io/badge/pypi-v0.7.0-blue.svg)](https://pypi.org/project/python-doctr/) [![Hugging Face Spaces](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue)](https://huggingface.co/spaces/mindee/doctr) [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/mindee/notebooks/blob/main/doctr/quicktour.ipynb) **Optical Character Recognition made seamless & accessible to anyone, powered by TensorFlow 2 & PyTorch** diff --git a/docs/build.sh b/docs/build.sh index fe6ad9a266..f19112da16 100644 --- a/docs/build.sh +++ b/docs/build.sh @@ -50,5 +50,6 @@ deploy_doc "51663dd" v0.4.0 deploy_doc "74ff9ff" v0.4.1 deploy_doc "b9d8feb" v0.5.0 deploy_doc "9d03085" v0.5.1 -deploy_doc "dcbb21f" # v0.6.0 Latest stable release +deploy_doc "dcbb21f" v0.6.0 +deploy_doc "75bddfc" # v0.7.0 Latest stable release rm -rf _build _static _conf.py diff --git a/docs/source/_static/js/custom.js b/docs/source/_static/js/custom.js index 3f42598398..bb520d2573 100644 --- a/docs/source/_static/js/custom.js +++ b/docs/source/_static/js/custom.js @@ -3,11 +3,12 @@ // These two things need to be updated at each release for the version selector. // Last stable version -const stableVersion = "v0.6.0" +const stableVersion = "v0.7.0" // Dictionary doc folder to label. The last stable version should have an empty key. const versionMapping = { "latest": "latest", - "": "v0.6.0 (stable)", + "": "v0.7.0 (stable)", + "v0.6.0": "v0.6.0", "v0.5.1": "v0.5.1", "v0.5.0": "v0.5.0", "v0.4.1": "v0.4.1", diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 36c84e7cea..8465ed8186 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -1,6 +1,10 @@ Changelog ========= +v0.7.0 (2023-09-09) +------------------- +Release note: `v0.7.0 `_ + v0.6.0 (2022-09-29) ------------------- Release note: `v0.6.0 `_ diff --git a/setup.py b/setup.py index e94bafbd4e..73eac06812 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ from setuptools import setup PKG_NAME = "python-doctr" -VERSION = os.getenv("BUILD_VERSION", "0.7.0a0") +VERSION = os.getenv("BUILD_VERSION", "0.7.1a0") if __name__ == "__main__":