From 20c7761a60a3e5ddf48f8aaaad898d773223f415 Mon Sep 17 00:00:00 2001 From: Vincent Rouvreau Date: Mon, 30 Sep 2024 09:42:15 +0200 Subject: [PATCH] code review: optimize some options --- src/python/doc/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/python/doc/conf.py b/src/python/doc/conf.py index a974c7aee..5738d04ea 100755 --- a/src/python/doc/conf.py +++ b/src/python/doc/conf.py @@ -22,7 +22,10 @@ ] autodoc_class_signature = "separated" +# cf. https://github.com/tox-dev/sphinx-autodoc-typehints#options autodoc_typehints = "none" +napoleon_use_rtype = True +always_use_bars_union = True bibtex_bibfiles = ["../../biblio/bibliography.bib"]