Skip to content

Commit

Permalink
Include API docs (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
klieret authored Oct 14, 2023
1 parent c96f1ad commit 03bf5ea
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@
]

always_document_param_types = True

autodoc_mock_imports = ["torch", "tensorflow"]
18 changes: 18 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,24 @@
:start-after: <!-- SPHINX-START -->
```

## PyTorch implementations

```{eval-rst}
.. automodule:: object_condensation.pytorch.losses
:members:
:undoc-members:
:show-inheritance:
```

## TensorFlow implementations

```{eval-rst}
.. automodule:: object_condensation.tensorflow.losses
:members:
:undoc-members:
:show-inheritance:
```

## Indices and tables

- {ref}`genindex`
Expand Down

0 comments on commit 03bf5ea

Please sign in to comment.