From 451d54833da4cf2b197bdfc817186d3234f77f18 Mon Sep 17 00:00:00 2001 From: Aleksandr Savelev Date: Tue, 2 Sep 2025 15:16:03 +0300 Subject: [PATCH] fix indigo upload --- indigo/HEAD | 1 - indigo/download.sh | 8 +++----- rst/conf.py | 10 +++++++++- rst/indigo/api/python_ref.rst | 9 +++++++-- 4 files changed, 19 insertions(+), 9 deletions(-) delete mode 100644 indigo/HEAD diff --git a/indigo/HEAD b/indigo/HEAD deleted file mode 100644 index a15bd666..00000000 --- a/indigo/HEAD +++ /dev/null @@ -1 +0,0 @@ -a7382cbc3982d1c18548dd5cd40804e07c95e4d6 \ No newline at end of file diff --git a/indigo/download.sh b/indigo/download.sh index 042c604f..7acaf68a 100644 --- a/indigo/download.sh +++ b/indigo/download.sh @@ -1,7 +1,5 @@ #!/bin/sh -indigo_head=`cat HEAD` -wget https://github.com/epam/Indigo/raw/$indigo_head/api/c/indigo/indigo.h -wget https://github.com/epam/Indigo/raw/$indigo_head/api/python/indigo/__init__.py -O indigo.py -wget https://github.com/epam/Indigo/raw/$indigo_head/api/python/indigo/renderer.py -O indigo_renderer.py -wget https://github.com/epam/Indigo/raw/$indigo_head/api/python/indigo/inchi.py -O indigo_inchi.py +pip3 install epam.indigo + +wget https://raw.githubusercontent.com/epam/Indigo/master/api/c/indigo/indigo.h -O indigo.h diff --git a/rst/conf.py b/rst/conf.py index 2a643daa..30234baf 100644 --- a/rst/conf.py +++ b/rst/conf.py @@ -20,7 +20,15 @@ # documentation root, use os.path.abspath to make it absolute, like shown here. # sys.path.insert(0, os.path.abspath('.')) sys.path.append(os.path.abspath(os.curdir)) -sys.path.append('indigo') +# sys.path.append('indigo') +nitpicky = True +nitpick_ignore = [ + ('py:class', '..'), + ('py:class', 'array of floats'), + ('py:class', 'Indigo'), + ('py:class', 'indigo.indigo.indigo.Indigo'), + ('py:class', 'indigo.indigo.indigo_object.IndigoObject'), +] # -- General configuration ------------------------------------------------ diff --git a/rst/indigo/api/python_ref.rst b/rst/indigo/api/python_ref.rst index 53780904..3f0c4814 100644 --- a/rst/indigo/api/python_ref.rst +++ b/rst/indigo/api/python_ref.rst @@ -26,15 +26,20 @@ IndigoException IndigoRenderer -------------- -.. autoclass:: indigo_renderer.IndigoRenderer +.. autoclass:: indigo.renderer.IndigoRenderer :members: :undoc-members: IndigoInchi ----------- -.. autoclass:: indigo_inchi.IndigoInchi +.. autoclass:: indigo.inchi.IndigoInchi :members: :undoc-members: +Hybridization +------------- +.. autoclass:: indigo.Hybridization + :members: + :undoc-members: