From 80f386a8bbc6f6f546ad219311a07192a21116f4 Mon Sep 17 00:00:00 2001 From: Nicola Coretti Date: Fri, 16 Feb 2024 10:15:27 +0100 Subject: [PATCH] Enable documenting __init__ in API docs --- doc/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index baf25232..be285acc 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -50,6 +50,8 @@ ".md": "markdown", } +napoleon_include_init_with_doc = True + # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"]