From 7be7262d6012fa80235a76a930b332590bb681d7 Mon Sep 17 00:00:00 2001
From: Jens Lucht <me@derlur.ch>
Date: Tue, 26 Oct 2021 15:25:00 +0200
Subject: [PATCH] Add `__call__` method to be included in Class docs.

---
 doc/source/conf.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index d12f467..a731da0 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -58,4 +58,7 @@ html_theme = 'pydata_sphinx_theme'
 #html_static_path = ['_static']
 
 autodoc_mock_imports = ["torch"]
+autodoc_default_options = {
+    'special-members': '__init__,__call__'
+}
 autosummary_generate = True
-- 
GitLab