Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Improve appearance #522

Merged
merged 1 commit into from
Apr 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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