|
43 | 43 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
44 | 44 | # ones. |
45 | 45 | extensions = [ |
| 46 | + "sphinx.ext.napoleon", |
46 | 47 | "sphinx.ext.autodoc", |
47 | 48 | "sphinx.ext.autosummary", |
48 | 49 | "sphinx.ext.extlinks", |
|
55 | 56 | "sphinx.ext.ifconfig", |
56 | 57 | "sphinx.ext.githubpages", |
57 | 58 | # "numpydoc", |
58 | | - "sphinx.ext.napoleon", |
59 | | - "sphinx_autodoc_typehints", |
| 59 | + # "sphinx_autodoc_typehints", |
60 | 60 | "IPython.sphinxext.ipython_console_highlighting", |
61 | 61 | "IPython.sphinxext.ipython_directive", |
62 | 62 | "nbsphinx", |
|
147 | 147 | "site_url": "https://bashtage.github.io/linearmodels/", |
148 | 148 | "repo_url": "https://github.com/bashtage/linearmodels/", |
149 | 149 | "repo_name": "linearmodels", |
150 | | - "repo_type": "github", |
151 | 150 | "palette": {"primary": "blue", "accent": "orange"}, |
152 | 151 | "globaltoc_collapse": True, |
153 | 152 | "toc_title": "Contents", |
|
300 | 299 | napoleon_use_admonition_for_examples = False |
301 | 300 | napoleon_use_admonition_for_notes = False |
302 | 301 | napoleon_use_admonition_for_references = False |
| 302 | +napoleon_preprocess_types = True |
| 303 | +napoleon_use_param = True |
| 304 | +napoleon_type_aliases = { |
| 305 | + "array-like": ":term:`array-like <array_like>`", |
| 306 | + "array_like": ":term:`array_like`", |
| 307 | + "Figure": "matplotlib.figure.Figure", |
| 308 | + "Axes": "matplotlib.axes.Axes", |
| 309 | + "AxesSubplot": "matplotlib.axes.Axes", |
| 310 | + "DataFrame": "pandas.DataFrame", |
| 311 | + "Series": "pandas.Series", |
| 312 | + "BetweenOLS": "linearmodels.panel.model.BetweenOLS", |
| 313 | + "FamaMacBeth": "linearmodels.panel.model.FamaMacBeth", |
| 314 | + "FirstDifferenceOLS": "linearmodels.panel.model.FirstDifferenceOLS", |
| 315 | + "IV2SLS": "linearmodels.iv.model.IV2SLS", |
| 316 | + "IV3SLS": "linearmodels.system.model.IV3SLS", |
| 317 | + "IVGMM": "linearmodels.iv.model.IVGMM", |
| 318 | + "IVGMMCUE": "linearmodels.iv.model.IVGMMCUE", |
| 319 | + "IVLIML": "linearmodels.iv.model.IVLIML", |
| 320 | + "IVSystemGMM": "linearmodels.system.model.IVSystemGMM", |
| 321 | + "LinearFactorModel": "linearmodels.asset_pricing.model.LinearFactorModel", |
| 322 | + "LinearFactorModelGMM": "linearmodels.asset_pricing.model.LinearFactorModelGMM", |
| 323 | + "OLS": "linearmodels.iv.model.OLS", |
| 324 | + "PanelOLS": "linearmodels.panel.model.PanelOLS", |
| 325 | + "PooledOLS": "linearmodels.panel.model.PooledOLS", |
| 326 | + "RandomEffects": "linearmodels.panel.model.RandomEffects", |
| 327 | + "SUR": "linearmodels.system.model.SUR", |
| 328 | + "TradedFactorModel": "linearmodels.asset_pricing.model.TradedFactorModel", |
| 329 | + "AbsorbingLSResults": "linearmodels.iv.absorbing.AbsorbingLSResults", |
| 330 | + "FirstStageResults": "linearmodels.iv.results.FirstStageResults", |
| 331 | + "IVGMMResults": "linearmodels.iv.results.IVGMMResults", |
| 332 | + "IVModelComparison": "linearmodels.iv.results.IVModelComparison", |
| 333 | + "IVResults": "linearmodels.iv.results.IVResults", |
| 334 | + "InvalidTestStatistic": "linearmodels.shared.InvalidTestStatistic", |
| 335 | + "OLSResults": "linearmodels.iv.results.OLSResults", |
| 336 | + "WaldTestStatistic": "linearmodels.shared.hypotheses.WaldTestStatistic", |
| 337 | + "LinearConstraint": "linearmodels.system.model.LinearConstraint", |
| 338 | + "PanelEffectsResults": "linearmodels.panel.results.PanelEffectsResults", |
| 339 | + "PanelModelComparison": "linearmodels.panel.results.PanelModelComparison", |
| 340 | + "PanelResults": "linearmodels.panel.results.PanelResults", |
| 341 | + "RandomEffectsResults": "linearmodels.panel.results.RandomEffectsResults", |
| 342 | + "GMMSystemResults": "linearmodels.system.results.GMMSystemResults", |
| 343 | + "Summary": "linearmodels.compat.statsmodels.Summary", |
| 344 | + "SystemEquationResult": "linearmodels.system.results.SystemEquationResult", |
| 345 | + "SystemResults": "linearmodels.system.results.SystemResults", |
| 346 | + "GMMFactorModelResults": "linearmodels.asset_pricing.results.GMMFactorModelResults", |
| 347 | + "LinearFactorModelResults": "linearmodels.asset_pricing.results.LinearFactorModelResults", |
| 348 | + "PanelData": "linearmodels.panel.data.PanelData", |
| 349 | + "IVData": "linearmodels.iv.data.IVData", |
| 350 | + "AttrDict": "linearmodels.shared.utility.AttrDict", |
| 351 | + "csc_matrix": "scipy.sparse.csc_matrix", |
| 352 | + "DataArray": "xarray.DataArray", |
| 353 | + "PanelModelData": "linearmodels.panel.utility.PanelModelData", |
| 354 | + "ndarray": "numpy.ndarray", |
| 355 | + "np.ndarray": "numpy.array", |
| 356 | + "pd.Series": "pandas.Series", |
| 357 | +} |
303 | 358 |
|
304 | 359 | # Create xrefs |
305 | 360 | numpydoc_use_autodoc_signature = True |
|
0 commit comments