|
100 | 100 | autosummary_generate = True
|
101 | 101 | autodoc_typehints = "none"
|
102 | 102 |
|
103 |
| -napoleon_use_param = True |
| 103 | +napoleon_use_param = False |
104 | 104 | napoleon_use_rtype = True
|
| 105 | +napoleon_preprocess_types = True |
| 106 | +napoleon_type_aliases = { |
| 107 | + # general terms |
| 108 | + "sequence": ":term:`sequence`", |
| 109 | + "iterable": ":term:`iterable`", |
| 110 | + "callable": ":py:func:`callable`", |
| 111 | + "dict_like": ":term:`dict-like <mapping>`", |
| 112 | + "dict-like": ":term:`dict-like <mapping>`", |
| 113 | + "mapping": ":term:`mapping`", |
| 114 | + "file-like": ":term:`file-like <file-like object>`", |
| 115 | + # special terms |
| 116 | + # "same type as caller": "*same type as caller*", # does not work, yet |
| 117 | + # "same type as values": "*same type as values*", # does not work, yet |
| 118 | + # stdlib type aliases |
| 119 | + "MutableMapping": "~collections.abc.MutableMapping", |
| 120 | + "sys.stdout": ":obj:`sys.stdout`", |
| 121 | + "timedelta": "~datetime.timedelta", |
| 122 | + "string": ":class:`string <str>`", |
| 123 | + # numpy terms |
| 124 | + "array_like": ":term:`array_like`", |
| 125 | + "array-like": ":term:`array-like <array_like>`", |
| 126 | + "scalar": ":term:`scalar`", |
| 127 | + "array": ":term:`array`", |
| 128 | + "hashable": ":term:`hashable <name>`", |
| 129 | + # matplotlib terms |
| 130 | + "color-like": ":py:func:`color-like <matplotlib.colors.is_color_like>`", |
| 131 | + "matplotlib colormap name": ":doc:matplotlib colormap name <Colormap reference>", |
| 132 | + "matplotlib axes object": ":py:class:`matplotlib axes object <matplotlib.axes.Axes>`", |
| 133 | + "colormap": ":py:class:`colormap <matplotlib.colors.Colormap>`", |
| 134 | + # objects without namespace |
| 135 | + "DataArray": "~xarray.DataArray", |
| 136 | + "Dataset": "~xarray.Dataset", |
| 137 | + "Variable": "~xarray.Variable", |
| 138 | + "ndarray": "~numpy.ndarray", |
| 139 | + "MaskedArray": "~numpy.ma.MaskedArray", |
| 140 | + "dtype": "~numpy.dtype", |
| 141 | + "ComplexWarning": "~numpy.ComplexWarning", |
| 142 | + "Index": "~pandas.Index", |
| 143 | + "MultiIndex": "~pandas.MultiIndex", |
| 144 | + "CategoricalIndex": "~pandas.CategoricalIndex", |
| 145 | + "TimedeltaIndex": "~pandas.TimedeltaIndex", |
| 146 | + "DatetimeIndex": "~pandas.DatetimeIndex", |
| 147 | + "Series": "~pandas.Series", |
| 148 | + "DataFrame": "~pandas.DataFrame", |
| 149 | + "Categorical": "~pandas.Categorical", |
| 150 | + "Path": "~~pathlib.Path", |
| 151 | + # objects with abbreviated namespace (from pandas) |
| 152 | + "pd.Index": "~pandas.Index", |
| 153 | + "pd.NaT": "~pandas.NaT", |
| 154 | +} |
105 | 155 |
|
106 | 156 | numpydoc_class_members_toctree = True
|
107 | 157 | numpydoc_show_class_members = False
|
|
278 | 328 | # Grouping the document tree into LaTeX files. List of tuples
|
279 | 329 | # (source start file, target name, title,
|
280 | 330 | # author, documentclass [howto, manual, or own class]).
|
281 |
| -latex_documents = [ |
282 |
| - ("index", "xarray.tex", "xarray Documentation", "xarray Developers", "manual") |
283 |
| -] |
| 331 | +# latex_documents = [ |
| 332 | +# ("index", "xarray.tex", "xarray Documentation", "xarray Developers", "manual") |
| 333 | +# ] |
284 | 334 |
|
285 | 335 | # The name of an image file (relative to this directory) to place at the top of
|
286 | 336 | # the title page.
|
|
307 | 357 |
|
308 | 358 | # One entry per manual page. List of tuples
|
309 | 359 | # (source start file, name, description, authors, manual section).
|
310 |
| -man_pages = [("index", "xarray", "xarray Documentation", ["xarray Developers"], 1)] |
| 360 | +# man_pages = [("index", "xarray", "xarray Documentation", ["xarray Developers"], 1)] |
311 | 361 |
|
312 | 362 | # If true, show URL addresses after external links.
|
313 | 363 | # man_show_urls = False
|
|
318 | 368 | # Grouping the document tree into Texinfo files. List of tuples
|
319 | 369 | # (source start file, target name, title, author,
|
320 | 370 | # dir menu entry, description, category)
|
321 |
| -texinfo_documents = [ |
322 |
| - ( |
323 |
| - "index", |
324 |
| - "xarray", |
325 |
| - "xarray Documentation", |
326 |
| - "xarray Developers", |
327 |
| - "xarray", |
328 |
| - "N-D labeled arrays and datasets in Python.", |
329 |
| - "Miscellaneous", |
330 |
| - ) |
331 |
| -] |
| 371 | +# texinfo_documents = [ |
| 372 | +# ( |
| 373 | +# "index", |
| 374 | +# "xarray", |
| 375 | +# "xarray Documentation", |
| 376 | +# "xarray Developers", |
| 377 | +# "xarray", |
| 378 | +# "N-D labeled arrays and datasets in Python.", |
| 379 | +# "Miscellaneous", |
| 380 | +# ) |
| 381 | +# ] |
332 | 382 |
|
333 | 383 | # Documents to append as an appendix to all manuals.
|
334 | 384 | # texinfo_appendices = []
|
|
0 commit comments