Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/source/_static/advanced.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/edit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/info.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/json.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/landing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/partial.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/pathways.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/reaction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/smiles.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/tut11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 40 additions & 1 deletion docs/source/api_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,43 @@ When rate limits are exceeded, the API returns HTTP 429 with:
"message": "Rate limit exceeded. Please try again later.",
"retry_after": 60
}
}
}


API Python Reference
====================

.. automodule:: src.api
:members:
:undoc-members:
:show-inheritance:

.. automodule:: src.cache
:members:
:undoc-members:
:show-inheritance:

.. automodule:: src.main
:members:
:undoc-members:
:show-inheritance:

.. automodule:: src.metadata
:members:
:undoc-members:
:show-inheritance:

.. automodule:: src.prithvi
:members:
:undoc-members:
:show-inheritance:

.. automodule:: src.protecting_group
:members:
:undoc-members:
:show-inheritance:

.. automodule:: src.variables
:members:
:undoc-members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.napoleon',
'sphinx.ext.viewcode',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
Expand All @@ -44,6 +46,10 @@
'myst_parser',
]

autodoc_mock_imports = [
"flask", "flask_cors", "rdkit", "rootutils", "structlog", "dotenv", "aizynthfinder"
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down
5 changes: 4 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ Why DeepRetro?
- Developer setup, contribution guidelines, and code structure.
* - :doc:`contributing`
- How to contribute to the project.
* - :doc:`tutorial`
- Step-by-step tutorial for using the DeepRetro GUI.

.. toctree::
:maxdepth: 2
Expand All @@ -88,4 +90,5 @@ Why DeepRetro?
user_guide
api_reference
development
contributing
contributing
tutorial
Loading