Skip to content

Commit

Permalink
Simplified sphinx source code.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaeladuta committed Nov 13, 2024
1 parent a2e3db8 commit 9853a2c
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 64 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.DS_Store
__pycache__/
.venv/
docs/source/_autosummary/
docs/build/
68 changes: 6 additions & 62 deletions docs/source/code.rst
Original file line number Diff line number Diff line change
@@ -1,65 +1,9 @@
Code documentation
==================

Anomaly detection
-----------------
Code Reference
==============

.. automodule:: l2gv2.anomaly_detection
:members:
:undoc-members:
:show-inheritance:
.. autosummary::
:toctree: _autosummary
:recursive:

Induced subgraph
----------------

.. automodule:: l2gv2.induced_subgraph
:members:
:undoc-members:
:show-inheritance:

Manopt optimization
-------------------

.. automodule:: l2gv2.manopt_optimization
:members:
:undoc-members:
:show-inheritance:

Models
------

.. automodule:: l2gv2.models
:members:
:undoc-members:
:show-inheritance:

Embeddings
----------

.. automodule:: l2gv2.embedding.embeddings
:members:
:undoc-members:
:show-inheritance:

Patch
-----

.. automodule:: l2gv2.patch.lazy
:members:
:undoc-members:
:show-inheritance:

.. automodule:: l2gv2.patch.patch
:members:
:undoc-members:
:show-inheritance:

.. automodule:: l2gv2.patch.patches
:members:
:undoc-members:
:show-inheritance:

.. automodule:: l2gv2.patch.utils
:members:
:undoc-members:
:show-inheritance:
l2gv2
23 changes: 22 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,28 @@
templates_path = ["_templates"]
exclude_patterns = []

autodoc_mock_imports = ["optuna", "autograd", "pymanopt", "tqdm", "torch", "numba", "numpy", "pandas", "sklearn", "scipy", "community", "torch_geometric", "torch_scatter", "local2global", "raphtory", "local2global_embedding", "networkx", "matplotlib", "nfts", "polars"]
autodoc_mock_imports = [
"optuna",
"autograd",
"pymanopt",
"tqdm",
"torch",
"numba",
"numpy",
"pandas",
"sklearn",
"scipy",
"community",
"torch_geometric",
"torch_scatter",
"local2global",
"raphtory",
"local2global_embedding",
"networkx",
"matplotlib",
"nfts",
"polars",
]


# -- Options for HTML output -------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ l2gv2 documentation
====================

.. toctree::
:maxdepth: 4
:maxdepth: 5

intro
code
Expand Down

0 comments on commit 9853a2c

Please sign in to comment.