Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ jobs:
- name: Build documentation
run: |
git fetch origin gh-pages
mike deploy --push --no-redirect --update-aliases $GITHUB_REF_NAME latest
mike deploy --push --alias-type=copy --update-aliases $GITHUB_REF_NAME latest
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:

- name: Build documentation
run: |
mike deploy --no-redirect --rebase --update-aliases $BRANCH_NAME latest
mike deploy --alias-type=copy --update-aliases $BRANCH_NAME latest
mike set-default $BRANCH_NAME

- name: Put content of gh-pages to public folder
Expand Down
7 changes: 7 additions & 0 deletions docs/assets/overrides/main.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{% extends "base.html" %}

{% block scripts %}
<!-- Add scripts that need to run before here -->
{{ super() }}
<script pret-head-scripts></script>
{% endblock %}


{% block announce %}
Check out the new <a href="/tutorials/training-span-classifier">span classifier training tutorial</a> !
{% endblock %}
46 changes: 0 additions & 46 deletions docs/assets/stylesheets/cards.css

This file was deleted.

56 changes: 19 additions & 37 deletions docs/assets/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
}

html {
font-size: 100% !important;
}

body, input {
Expand All @@ -65,7 +66,7 @@ body, input {
word-wrap: normal;
color: var(--md-typeset-color);
font-weight: 600;
scroll-margin-top: 1.25rem;
scroll-margin-top: 1.5625rem;
letter-spacing: 0;
}

Expand All @@ -74,26 +75,17 @@ body, input {
}

.md-nav {
font-size: 0.8rem;
font-size: 1rem;
}

.md-typeset code {
font-size: 0.95em;
}

.md-typeset pre > code, .termy > [data-termynal], .highlighttable .linenos {
font-size: .75rem;
}

.termy > [data-termynal] {
font-size: 0.8rem;
font-family: var(--md-code-font);
padding: 45px 45px 25px;
.md-typeset pre > code, .highlighttable .linenos {
font-size: .9375rem;
}

.termy > [data-termynal] {

}

.md-typeset :is(.admonition,details) {
font-size: inherit !important;
Expand Down Expand Up @@ -125,21 +117,21 @@ body, input {

@media screen and (min-width: 76.1875em) {
.md-sidebar {
margin-top: 1.5rem;
margin-top: 1.875rem;
}
}

@media screen and (min-width: 60em) {
.md-nav--secondary .md-nav__title {
background: var(--md-main-bg) !important;
box-shadow: 0 0 0.4rem 0.4rem var(--md-main-bg) !important;
box-shadow: 0 0 0.5rem 0.5rem var(--md-main-bg) !important;
}
}

@media screen and (min-width: 76.25em) {
.md-nav--primary .md-nav__title, .md-nav--secondary .md-nav__title, .md-nav--lifted > .md-nav__list > .md-nav__item--active > .md-nav__link {
background: var(--md-main-bg) !important;
box-shadow: 0 0 0.4rem 0.4rem var(--md-main-bg) !important;
box-shadow: 0 0 0.5rem 0.5rem var(--md-main-bg) !important;
}
}

Expand All @@ -152,15 +144,15 @@ body, input {
}

.md-content__inner {
margin-top: 1.5rem;
margin-top: 1.875rem;
}

.doc td > code {
word-break: normal;
}

.md-typeset .card-set {
grid-template-columns: repeat(auto-fit,minmax(12rem,1fr)) !important;
grid-template-columns: repeat(auto-fit,minmax(15rem,1fr)) !important;
}

.md-typeset code a:not(.md-annotation__index) {
Expand All @@ -187,26 +179,8 @@ a.discrete-link {
}

.sourced-heading > a {
font-size: 1rem;
font-size: 1.25rem;
align-content: center;
white-space: nowrap;
}

.doc-param-details .subdoc {
padding: 0;
box-shadow: none;
border-color: var(--md-typeset-table-color);
}

.doc-param-details .subdoc > div > div > div> table {
padding: 0;
box-shadow: none;
border: none;
}

.doc-param-details .subdoc > summary {
margin: 0;
font-weight: normal;
}

/*.chip {
Expand Down Expand Up @@ -306,3 +280,11 @@ a.discrete-link {
color: #bababa;
white-space: nowrap;
}

.md-content {
contain: paint;
}

.hidden {
display: none !important;
}
127 changes: 0 additions & 127 deletions docs/assets/templates/python/material/class.html

This file was deleted.

34 changes: 0 additions & 34 deletions docs/assets/templates/python/material/docstring.html

This file was deleted.

8 changes: 0 additions & 8 deletions docs/assets/templates/python/material/docstring/examples.html

This file was deleted.

Loading
Loading