From df7f5bd57ed30488e860a0dbe87c549326be28d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Mon, 4 Jan 2021 19:29:23 +0100 Subject: [PATCH] Add autodoc_typehints = "description" to doc/conf --- doc/conf.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 8113d0f..9af9569 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -4,17 +4,6 @@ # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html -# -- Path setup -------------------------------------------------------------- - -# If extensions (or modules to document with autodoc) are in another directory, -# add these directories to sys.path here. If the directory is relative to the -# documentation root, use os.path.abspath to make it absolute, like shown here. -# -# import os -# import sys -# sys.path.insert(0, os.path.abspath('.')) - - # -- Project information ----------------------------------------------------- project = "gmsh_interop" @@ -47,7 +36,6 @@ templates_path = ["_templates"] # This pattern also affects html_static_path and html_extra_path. exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] - # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for @@ -64,6 +52,7 @@ html_theme_options = { } autoclass_content = "class" +autodoc_typehints = "description" intersphinx_mapping = { "https://docs.python.org/dev": None, -- GitLab