mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed errors after merge
This commit is contained in:
parent
1bee037713
commit
ee9224fc07
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.80601de9.min.css
vendored
Normal file
1
material/assets/stylesheets/main.80601de9.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.80601de9.min.css.map
Normal file
1
material/assets/stylesheets/main.80601de9.min.css.map
Normal file
File diff suppressed because one or more lines are too long
@ -44,7 +44,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% 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 %}
|
{% if config.theme.palette %}
|
||||||
{% set palette = config.theme.palette %}
|
{% set palette = config.theme.palette %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.ecc896b0.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.ecc896b0.min.css' | url }}">
|
||||||
|
@ -26,10 +26,9 @@ import regex as re
|
|||||||
from html import escape
|
from html import escape
|
||||||
from html.parser import HTMLParser
|
from html.parser import HTMLParser
|
||||||
from mkdocs import utils
|
from mkdocs import utils
|
||||||
from mkdocs.config.config_options import SubConfig
|
|
||||||
from mkdocs.plugins import BasePlugin
|
from mkdocs.plugins import BasePlugin
|
||||||
|
|
||||||
from material.plugins.search.config import SearchConfig, SearchFieldConfig
|
from material.plugins.search.config import SearchConfig
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import jieba
|
import jieba
|
||||||
|
@ -57,6 +57,7 @@ Issues = "https://github.com/squidfunk/mkdocs-material/issues"
|
|||||||
Funding = "https://github.com/sponsors/squidfunk"
|
Funding = "https://github.com/sponsors/squidfunk"
|
||||||
|
|
||||||
[project.entry-points."mkdocs.plugins"]
|
[project.entry-points."mkdocs.plugins"]
|
||||||
|
"material/blog" = "material.plugins.info.plugin:InfoPlugin"
|
||||||
"material/info" = "material.plugins.info.plugin:InfoPlugin"
|
"material/info" = "material.plugins.info.plugin:InfoPlugin"
|
||||||
"material/offline" = "material.plugins.offline.plugin:OfflinePlugin"
|
"material/offline" = "material.plugins.offline.plugin:OfflinePlugin"
|
||||||
"material/search" = "material.plugins.search.plugin:SearchPlugin"
|
"material/search" = "material.plugins.search.plugin:SearchPlugin"
|
||||||
|
@ -105,8 +105,26 @@
|
|||||||
|
|
||||||
// Active link
|
// Active link
|
||||||
.md-nav__item &--active {
|
.md-nav__item &--active {
|
||||||
|
|
||||||
|
// Also enable color transitions on inline code blocks
|
||||||
|
&,
|
||||||
|
code {
|
||||||
color: var(--md-typeset-a-color);
|
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
|
// Navigation link icon
|
||||||
svg {
|
svg {
|
||||||
|
@ -26,10 +26,9 @@ import regex as re
|
|||||||
from html import escape
|
from html import escape
|
||||||
from html.parser import HTMLParser
|
from html.parser import HTMLParser
|
||||||
from mkdocs import utils
|
from mkdocs import utils
|
||||||
from mkdocs.config.config_options import SubConfig
|
|
||||||
from mkdocs.plugins import BasePlugin
|
from mkdocs.plugins import BasePlugin
|
||||||
|
|
||||||
from material.plugins.search.config import SearchConfig, SearchFieldConfig
|
from material.plugins.search.config import SearchConfig
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import jieba
|
import jieba
|
||||||
|
Loading…
Reference in New Issue
Block a user