Skip to content

Commit 456e15b

Browse files
authored
Merge pull request #522 from bashtage/doc-fixes-2604
DOC: Improve appearance
2 parents a421dbd + f32005b commit 456e15b

File tree

2 files changed

+13
-40
lines changed

2 files changed

+13
-40
lines changed
Lines changed: 10 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,26 @@
1-
span.versionmodified.deprecated {
2-
color: #c00;
3-
font-weight: bold;
4-
}
5-
61
span.classifier:before {
72
font-style: normal;
83
margin: 0 0.5em;
94
content: ":";
105
display: inline-block;
116
}
127

13-
div.deprecated, div.versionadded, div.versionchanged {
14-
background-color: #FFFFFF;
15-
border: .05rem solid;
16-
border-color: #459db9;
17-
border-radius: .2rem;
18-
/* box-shadow: 0 .2rem .5rem #d8d8d8,0 0 .0625rem #d8d8d8!important; */
19-
margin: 1.5625em auto;
20-
overflow: hidden;
21-
padding: 0 .6rem;
22-
page-break-inside: avoid;
23-
position: relative;
24-
transition: color .25s,background-color .25s,border-color .25s;
25-
vertical-align: middle;
26-
font-size: 0.64rem;
27-
}
28-
div.deprecated>p, div.versionadded>p, div.versionchanged>p {
29-
margin-bottom: .6rem;
30-
margin-top: .6rem;
31-
}
32-
33-
div.deprecated {
34-
border-color: #dc3545;
35-
background-color: rgba(255, 0, 0, 0.1);
8+
span.versionmodified.deprecated, span.versionmodified.changed, span.versionmodified.added {
9+
font-weight: bold;
3610
}
3711

38-
span.versionmodified {
39-
font-weight: 600;
12+
span.versionmodified.deprecated {
13+
color: rgb(203,70,83);
4014
}
4115

42-
.versionmodified {
43-
font-style: italic;
16+
span.versionmodified.changed {
17+
color: rgb(238,144,64);
4418
}
4519

46-
div.deprecated p:before {
47-
background-color: #dc3545;
20+
span.versionmodified.added {
21+
color: rgb(72,138,87);
4822
}
4923

50-
span.versionmodified.deprecated:before {
51-
color: #dc3545;
24+
div.versionadded p.admonition-title, div.deprecated.admonition p.admonition-title, div.versionchanged p.admonition-title {
25+
font-weight: normal !important;
5226
}
53-

linearmodels/iv/absorbing.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ def fit(
990990
and retrieved if available. Cache can dramatically speed up
991991
re-fitting large models when the set of absorbed variables and
992992
interactions are identical.
993-
lsmr_options: dict
993+
lsmr_options : dict
994994
Options to ass to scipy.sparse.linalg.lsmr.
995995
996996
.. deprecated:: 4.17
@@ -1017,8 +1017,8 @@ def fit(
10171017
is provided.
10181018
10191019
If use_cache is True, then variables are hashed based on their
1020-
contents using either a 64 bit value (if xxhash is installed) or
1021-
a 256 bit value. This allows variables to be reused in different
1020+
contents using either a 64-bit value (if xxhash is installed) or
1021+
a 256-bit value. This allows variables to be reused in different
10221022
models if the set of absorbing variables and interactions is held
10231023
constant.
10241024

0 commit comments

Comments
 (0)