Skip to content

Commit

Permalink
fix: manually synchronize 2.10.3 assets to latest (#208)
Browse files Browse the repository at this point in the history
Something is broken with our build, where mike is not correctly
updating the assets stored in latest (#206) and the versioned
docs are referring to assets in latest (#207) instead of the
assets in the same version.

To work around this for now, this change manually synchronizes
changes using:

cp -rf 2.10.13/assets/ latest/
cp -rf 2.10.13/img/ latest/
  • Loading branch information
jawnsy authored Jun 13, 2023
1 parent 4da3906 commit 8d86756
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 15 deletions.
58 changes: 43 additions & 15 deletions versions/latest/assets/_mkdocstrings.css
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@

/* Don't capitalize names. */
h5.doc-heading {
text-transform: none !important;
}

/* Avoid breaking parameters name, etc. in table cells. */
/* Avoid breaking parameter names, etc. in table cells. */
.doc-contents td code {
word-break: normal !important;
}

/* For pieces of Markdown rendered in table cells. */
.doc-contents td p {
margin-top: 0 !important;
margin-bottom: 0 !important;
/* No line break before first paragraph of descriptions. */
.doc-md-description,
.doc-md-description>p:first-child {
display: inline;
}

/* Max width for docstring sections tables. */
Expand All @@ -21,16 +16,49 @@ h5.doc-heading {
display: table !important;
width: 100%;
}

.doc .md-typeset__table tr {
display: table-row;
}

/* Avoid line breaks in rendered fields. */
.field-body p {
display: inline;
}

/* Defaults in Spacy table style. */
.doc-param-default {
float: right;
}

/* Keep headings consistent. */
h1.doc-heading,
h2.doc-heading,
h3.doc-heading,
h4.doc-heading,
h5.doc-heading,
h6.doc-heading {
font-weight: 400;
line-height: 1.5;
color: inherit;
text-transform: none;
}

h1.doc-heading {
font-size: 1.6rem;
}

h2.doc-heading {
font-size: 1.2rem;
}

h3.doc-heading {
font-size: 1.15rem;
}

h4.doc-heading {
font-size: 1.10rem;
}

h5.doc-heading {
font-size: 1.05rem;
}

h6.doc-heading {
font-size: 1rem;
}

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions versions/latest/assets/stylesheets/main.cac7c1ad.min.css

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8d86756

Please sign in to comment.