Skip to content

Commit 53cec78

Browse files
committed
#160 Update docs config
1 parent efbeb84 commit 53cec78

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

docs/conf.py

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,30 @@
1-
# Project information
1+
# project information
22
author = "Akio Taniguchi"
33
copyright = "2020-2022 Akio Taniguchi"
44

55

6-
# General configuration
6+
# general configuration
7+
add_module_names = False
8+
autodoc_typehints = "both"
9+
autodoc_typehints_format = "short"
10+
exclude_patterns = [
11+
"_build",
12+
"Thumbs.db",
13+
".DS_Store",
14+
]
715
extensions = [
816
"myst_parser",
917
"sphinx.ext.autodoc",
10-
"sphinx.ext.viewcode",
11-
"sphinx.ext.napoleon",
1218
"sphinx.ext.autosummary",
19+
"sphinx.ext.napoleon",
20+
"sphinx.ext.viewcode",
1321
]
1422
templates_path = ["_templates"]
15-
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
1623

1724

18-
# Options for HTML output
19-
html_static_path = ["_static"]
25+
# options for HTML output
2026
html_logo = "_static/logo.svg"
27+
html_static_path = ["_static"]
2128
html_theme = "pydata_sphinx_theme"
2229
html_theme_options = {
2330
"github_url": "https://github.com/astropenguin/xarray-dataclasses/",

0 commit comments

Comments
 (0)