From 5af4f8fd38756686fa2d40ca0295099d8fe56122 Mon Sep 17 00:00:00 2001 From: Andrei Date: Sun, 6 Oct 2024 00:28:47 +0300 Subject: [PATCH] upd docs --- docs/conf.py | 2 +- docs/modules/enum/info.rst | 4 ++++ docs/modules/image/example.rst | 12 ++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 docs/modules/image/example.rst diff --git a/docs/conf.py b/docs/conf.py index 098ff77..4289e2a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,7 +12,7 @@ sys.path.insert(0, os.path.abspath("src/")) for x in os.walk("src/python3_anticaptcha/"): sys.path.insert(0, x[0]) -from python3_anticaptcha import core, control, turnstile +from python3_anticaptcha import core, control, turnstile, image_captcha from python3_anticaptcha.__version__ import __version__ # -- Project information ----------------------------------------------------- diff --git a/docs/modules/enum/info.rst b/docs/modules/enum/info.rst index e51f611..cc7da83 100644 --- a/docs/modules/enum/info.rst +++ b/docs/modules/enum/info.rst @@ -31,3 +31,7 @@ To import this module: .. autoclass:: core.enum.ControlPostfixEnm :members: :undoc-members: + +.. autoclass:: core.enum.SaveFormatsEnm + :members: + :undoc-members: diff --git a/docs/modules/image/example.rst b/docs/modules/image/example.rst new file mode 100644 index 0000000..022d5c8 --- /dev/null +++ b/docs/modules/image/example.rst @@ -0,0 +1,12 @@ +ImageToTextCaptcha +================== + +To import this module: + +.. code-block:: python + + from python3_anticaptcha.image_captcha import ImageToTextCaptcha + + +.. autoclass:: python3_anticaptcha.image_captcha.ImageToTextCaptcha + :members: \ No newline at end of file