Skip to content

Commit

Permalink
Merge pull request #522 from bashtage/doc-fixes-2604
Browse files Browse the repository at this point in the history
DOC: Improve appearance
  • Loading branch information
bashtage authored Apr 28, 2023
2 parents a421dbd + f32005b commit 456e15b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 40 deletions.
47 changes: 10 additions & 37 deletions doc/source/_static/css/small_fixes.css
Original file line number Diff line number Diff line change
@@ -1,53 +1,26 @@
span.versionmodified.deprecated {
color: #c00;
font-weight: bold;
}

span.classifier:before {
font-style: normal;
margin: 0 0.5em;
content: ":";
display: inline-block;
}

div.deprecated, div.versionadded, div.versionchanged {
background-color: #FFFFFF;
border: .05rem solid;
border-color: #459db9;
border-radius: .2rem;
/* box-shadow: 0 .2rem .5rem #d8d8d8,0 0 .0625rem #d8d8d8!important; */
margin: 1.5625em auto;
overflow: hidden;
padding: 0 .6rem;
page-break-inside: avoid;
position: relative;
transition: color .25s,background-color .25s,border-color .25s;
vertical-align: middle;
font-size: 0.64rem;
}
div.deprecated>p, div.versionadded>p, div.versionchanged>p {
margin-bottom: .6rem;
margin-top: .6rem;
}

div.deprecated {
border-color: #dc3545;
background-color: rgba(255, 0, 0, 0.1);
span.versionmodified.deprecated, span.versionmodified.changed, span.versionmodified.added {
font-weight: bold;
}

span.versionmodified {
font-weight: 600;
span.versionmodified.deprecated {
color: rgb(203,70,83);
}

.versionmodified {
font-style: italic;
span.versionmodified.changed {
color: rgb(238,144,64);
}

div.deprecated p:before {
background-color: #dc3545;
span.versionmodified.added {
color: rgb(72,138,87);
}

span.versionmodified.deprecated:before {
color: #dc3545;
div.versionadded p.admonition-title, div.deprecated.admonition p.admonition-title, div.versionchanged p.admonition-title {
font-weight: normal !important;
}

6 changes: 3 additions & 3 deletions linearmodels/iv/absorbing.py
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ def fit(
and retrieved if available. Cache can dramatically speed up
re-fitting large models when the set of absorbed variables and
interactions are identical.
lsmr_options: dict
lsmr_options : dict
Options to ass to scipy.sparse.linalg.lsmr.
.. deprecated:: 4.17
Expand All @@ -1017,8 +1017,8 @@ def fit(
is provided.
If use_cache is True, then variables are hashed based on their
contents using either a 64 bit value (if xxhash is installed) or
a 256 bit value. This allows variables to be reused in different
contents using either a 64-bit value (if xxhash is installed) or
a 256-bit value. This allows variables to be reused in different
models if the set of absorbing variables and interactions is held
constant.
Expand Down

0 comments on commit 456e15b

Please sign in to comment.