Fixed errors after merge

This commit is contained in:
squidfunk 2023-07-05 18:08:47 +02:00
parent 1bee037713
commit ee9224fc07
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
9 changed files with 25 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -44,7 +44,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.08fbbb04.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.80601de9.min.css' | url }}">
{% if config.theme.palette %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.ecc896b0.min.css' | url }}">

View File

@ -26,10 +26,9 @@ import regex as re
from html import escape
from html.parser import HTMLParser
from mkdocs import utils
from mkdocs.config.config_options import SubConfig
from mkdocs.plugins import BasePlugin
from material.plugins.search.config import SearchConfig, SearchFieldConfig
from material.plugins.search.config import SearchConfig
try:
import jieba

View File

@ -57,6 +57,7 @@ Issues = "https://github.com/squidfunk/mkdocs-material/issues"
Funding = "https://github.com/sponsors/squidfunk"
[project.entry-points."mkdocs.plugins"]
"material/blog" = "material.plugins.info.plugin:InfoPlugin"
"material/info" = "material.plugins.info.plugin:InfoPlugin"
"material/offline" = "material.plugins.offline.plugin:OfflinePlugin"
"material/search" = "material.plugins.search.plugin:SearchPlugin"

View File

@ -105,7 +105,25 @@
// Active link
.md-nav__item &--active {
color: var(--md-typeset-a-color);
// Also enable color transitions on inline code blocks
&,
code {
color: var(--md-typeset-a-color);
}
}
// Navigation link title
.md-ellipsis {
// Hack: Safari exhibits a bug where the text will sometimes disappear
// and the element will become unclickable. Setting `position: relative`
// seems to fix the issue - see https://bit.ly/3HljM1T
position: relative;
// Always align navigation icons to the right
+ .md-icon {
margin-left: auto;
}
}
// Navigation link icon

View File

@ -26,10 +26,9 @@ import regex as re
from html import escape
from html.parser import HTMLParser
from mkdocs import utils
from mkdocs.config.config_options import SubConfig
from mkdocs.plugins import BasePlugin
from material.plugins.search.config import SearchConfig, SearchFieldConfig
from material.plugins.search.config import SearchConfig
try:
import jieba