mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added distribution files
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -213,7 +213,7 @@
|
|||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="{{ 'assets/javascripts/bundle.615eee59.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/bundle.7ca7dfaa.min.js' | url }}"></script>
|
||||||
{% for path in config["extra_javascript"] %}
|
{% for path in config["extra_javascript"] %}
|
||||||
<script src="{{ path | url }}"></script>
|
<script src="{{ path | url }}"></script>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
@@ -8,17 +8,31 @@
|
|||||||
"edit.link.title": "Редактировать страницу",
|
"edit.link.title": "Редактировать страницу",
|
||||||
"footer.previous": "Назад",
|
"footer.previous": "Назад",
|
||||||
"footer.next": "Вперед",
|
"footer.next": "Вперед",
|
||||||
|
"footer.title": "Нижний колонтитул",
|
||||||
|
"header.title": "Верхний колонтитул",
|
||||||
"meta.comments": "Комментарии",
|
"meta.comments": "Комментарии",
|
||||||
"meta.source": "Исходный код",
|
"meta.source": "Исходный код",
|
||||||
|
"nav.title": "Навигация",
|
||||||
"search.config.lang": "ru",
|
"search.config.lang": "ru",
|
||||||
"search.placeholder": "Поиск",
|
"search.placeholder": "Поиск",
|
||||||
|
"search.share": "Поделиться",
|
||||||
|
"search.reset": "Очистить",
|
||||||
|
"search.result.initializer": "Инициализация поиска",
|
||||||
"search.result.placeholder": "Начните печатать для поиска",
|
"search.result.placeholder": "Начните печатать для поиска",
|
||||||
"search.result.none": "Совпадений не найдено",
|
"search.result.none": "Совпадений не найдено",
|
||||||
"search.result.one": "Найдено 1 совпадение",
|
"search.result.one": "Найдено 1 совпадение",
|
||||||
"search.result.other": "Найдено # совпадений",
|
"search.result.other": "Найдено совпадений: #",
|
||||||
|
"search.result.more.one": "Ещё 1 на этой странице",
|
||||||
|
"search.result.more.other": "Ещё # на этой странице",
|
||||||
|
"search.result.term.missing": "Отсутствует",
|
||||||
|
"search.title": "Поиск",
|
||||||
|
"select.language.title": "Выберите язык",
|
||||||
|
"select.version.title": "Выберите версию",
|
||||||
"skip.link.title": "Перейти к содержанию",
|
"skip.link.title": "Перейти к содержанию",
|
||||||
"source.link.title": "Перейти к репозиторию",
|
"source.link.title": "Перейти к репозиторию",
|
||||||
"source.file.date.updated": "Последнее обновление",
|
"source.file.date.updated": "Последнее обновление",
|
||||||
"source.file.date.created": "Созданный",
|
"source.file.date.created": "Дата создания",
|
||||||
"toc.title": "Содержание"
|
"tabs.title": "Вкладки",
|
||||||
|
"toc.title": "Содержание раздела"
|
||||||
|
"top.title": "К началу"
|
||||||
}[key] }}{% endmacro %}
|
}[key] }}{% endmacro %}
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ import {
|
|||||||
EMPTY,
|
EMPTY,
|
||||||
Observable,
|
Observable,
|
||||||
Subject,
|
Subject,
|
||||||
|
animationFrameScheduler,
|
||||||
combineLatest,
|
combineLatest,
|
||||||
defer,
|
defer,
|
||||||
finalize,
|
finalize,
|
||||||
@@ -130,7 +131,7 @@ export function mountAnnotation(
|
|||||||
/* Track relative origin of tooltip */
|
/* Track relative origin of tooltip */
|
||||||
push$
|
push$
|
||||||
.pipe(
|
.pipe(
|
||||||
throttleTime(500),
|
throttleTime(500, animationFrameScheduler),
|
||||||
map(() => container.getBoundingClientRect()),
|
map(() => container.getBoundingClientRect()),
|
||||||
map(({ x }) => x)
|
map(({ x }) => x)
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ export function watchPalette(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Emit changes in color palette */
|
/* Emit changes in color palette */
|
||||||
const palette$ = of(...inputs)
|
return of(...inputs)
|
||||||
.pipe(
|
.pipe(
|
||||||
mergeMap(input => fromEvent(input, "change")
|
mergeMap(input => fromEvent(input, "change")
|
||||||
.pipe(
|
.pipe(
|
||||||
@@ -99,9 +99,6 @@ export function watchPalette(
|
|||||||
} as Palette)),
|
} as Palette)),
|
||||||
shareReplay(1)
|
shareReplay(1)
|
||||||
)
|
)
|
||||||
|
|
||||||
/* Return palette */
|
|
||||||
return palette$
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user