Skip to content

Commit 419b163

Browse files
authored
Merge pull request #549 from bashtage/rls-5.2
RLS: Update docs
2 parents d482c34 + 145cfa4 commit 419b163

File tree

2 files changed

+64
-3
lines changed

2 files changed

+64
-3
lines changed

doc/source/changes/5.0.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
Variables will appear in results in the same order they are entered in
55
the formula string.
66

7+
Version 5.2
8+
-----------
9+
* Fixed a bug that affected dropping absorbed regressors when using weights (:issue:`546`).
10+
* Improved the licensing information (:issue:`545`).
11+
* Improved compatability with recent pandas (:issue:`548`).
12+
713
Version 5.1
814
-----------
915
* Fixed a bug that affected the counting of the number of entities and time periods

doc/source/conf.py

Lines changed: 58 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
4444
# ones.
4545
extensions = [
46+
"sphinx.ext.napoleon",
4647
"sphinx.ext.autodoc",
4748
"sphinx.ext.autosummary",
4849
"sphinx.ext.extlinks",
@@ -55,8 +56,7 @@
5556
"sphinx.ext.ifconfig",
5657
"sphinx.ext.githubpages",
5758
# "numpydoc",
58-
"sphinx.ext.napoleon",
59-
"sphinx_autodoc_typehints",
59+
# "sphinx_autodoc_typehints",
6060
"IPython.sphinxext.ipython_console_highlighting",
6161
"IPython.sphinxext.ipython_directive",
6262
"nbsphinx",
@@ -147,7 +147,6 @@
147147
"site_url": "https://bashtage.github.io/linearmodels/",
148148
"repo_url": "https://github.com/bashtage/linearmodels/",
149149
"repo_name": "linearmodels",
150-
"repo_type": "github",
151150
"palette": {"primary": "blue", "accent": "orange"},
152151
"globaltoc_collapse": True,
153152
"toc_title": "Contents",
@@ -300,6 +299,62 @@
300299
napoleon_use_admonition_for_examples = False
301300
napoleon_use_admonition_for_notes = False
302301
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+
}
303358

304359
# Create xrefs
305360
numpydoc_use_autodoc_signature = True

0 commit comments

Comments
 (0)