mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Re-added auto-generated code banner
This commit is contained in:
parent
ea931e4617
commit
260effaddb
3
.banner
Normal file
3
.banner
Normal file
@ -0,0 +1,3 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
@ -1,11 +0,0 @@
|
||||
{
|
||||
"options": [
|
||||
"addTest",
|
||||
"setClasses"
|
||||
],
|
||||
"files": {
|
||||
"src": ["src/assets/**/*.{js,scss}"]
|
||||
},
|
||||
"feature-detects": [],
|
||||
"runOnce": true
|
||||
}
|
2
Makefile
2
Makefile
@ -158,7 +158,7 @@ material/%.html: src/%.html | $$(@D)/.
|
||||
--remove-comments \
|
||||
--remove-script-type-attributes \
|
||||
--remove-style-link-type-attributes \
|
||||
$< | awk 'NF' > $@
|
||||
$< | awk 'NF' | cat .banner - > $@
|
||||
|
||||
# Python files
|
||||
material/%.py: src/%.py
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h1>404 - Not found</h1>
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% import "partials/language.html" as lang with context %}
|
||||
{% set feature = config.theme.feature %}
|
||||
{% set palette = config.theme.palette %}
|
||||
|
@ -1 +1,4 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% extends "base.html" %}
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% import "partials/language.html" as lang with context %}
|
||||
<footer class="md-footer">
|
||||
{% if page.previous_page or page.next_page %}
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
<header class="md-header" data-md-component="header">
|
||||
<nav class="md-header-nav md-grid">
|
||||
<div class="md-flex">
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% set feature = config.theme.feature %}
|
||||
{% set class = "md-hero" %}
|
||||
{% if not feature.tabs %}
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% set analytics = config.google_analytics %}
|
||||
<script>
|
||||
window.ga = window.ga || function() {
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% set disqus = config.extra.disqus %}
|
||||
{% if page and page.meta and page.meta.disqus is string %}
|
||||
{% set disqus = page.meta.disqus %}
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% import "partials/language/" + config.theme.language + ".html" as lang %}
|
||||
{% import "partials/language/en.html" as fallback %}
|
||||
{% macro t(key) %}{{ {
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "af",
|
||||
"clipboard.copy": "Kopieer na knipbord",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "ar",
|
||||
"direction": "rtl",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "ca",
|
||||
"clipboard.copy": "Còpia al porta-retalls",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "cs",
|
||||
"clipboard.copy": "Kopírovat do schránky",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "da",
|
||||
"clipboard.copy": "Kopiér til udklipsholderen",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "de",
|
||||
"clipboard.copy": "In Zwischenablage kopieren",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "en",
|
||||
"direction": "ltr",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "es",
|
||||
"clipboard.copy": "Copiar al portapapeles",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "fa",
|
||||
"direction": "rtl",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "fi",
|
||||
"clipboard.copy": "Kopioi leikepöydälle",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "fr",
|
||||
"clipboard.copy": "Copier dans le presse-papier",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "gl",
|
||||
"clipboard.copy": "Copiar no cortapapeis",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "gr",
|
||||
"clipboard.copy": "Αντιγραφή",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "he",
|
||||
"direction": "rtl",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "hi",
|
||||
"clipboard.copy": "क्लिपबोर्ड पर कॉपी करें",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "hr",
|
||||
"clipboard.copy": "Kopirajte u međuspremnik",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "hu",
|
||||
"clipboard.copy": "Másolás vágólapra",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "id",
|
||||
"clipboard.copy": "Salin ke memori",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "it",
|
||||
"clipboard.copy": "Copia",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "ja",
|
||||
"clipboard.copy": "クリップボードへコピー",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "kr",
|
||||
"clipboard.copy": "클립보드로 복사",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "nl",
|
||||
"clipboard.copy": "Kopiëren naar klembord",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "nn",
|
||||
"clipboard.copy": "Kopier til utklippstavla",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "no",
|
||||
"clipboard.copy": "Kopier til utklippstavlen",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "pl",
|
||||
"clipboard.copy": "Kopiuj do schowka",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "pt",
|
||||
"clipboard.copy": "Copiar para área de transferência",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "ru",
|
||||
"clipboard.copy": "Копировать в буфер",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "sh",
|
||||
"clipboard.copy": "Kopiraj u klipbord",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "si",
|
||||
"clipboard.copy": "Kopiraj v odložišče",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "sk",
|
||||
"clipboard.copy": "Kopírovať do schránky",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "sr",
|
||||
"clipboard.copy": "Копирај у клипборд",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "sv",
|
||||
"clipboard.copy": "Kopiera till urklipp",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "tr",
|
||||
"clipboard.copy": "Kopyala",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "uk",
|
||||
"clipboard.copy": "Скопіювати в буфер",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "vi",
|
||||
"clipboard.copy": "Sao chép vào bộ nhớ",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "zh-Hant",
|
||||
"clipboard.copy": "拷貝",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "zh-Hant",
|
||||
"clipboard.copy": "複製",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "zh",
|
||||
"clipboard.copy": "复制",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% set class = "md-nav__item" %}
|
||||
{% if nav_item.active %}
|
||||
{% set class = "md-nav__item md-nav__item--active" %}
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
<nav class="md-nav md-nav--primary" data-md-level="0">
|
||||
<label class="md-nav__title md-nav__title--site" for="__drawer">
|
||||
<a href="{{ config.site_url | default(nav.homepage.url, true) | url }}" title="{{ config.site_name }}" class="md-nav__button md-logo">
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro primary(key) %}{{ {
|
||||
"red": "#ef5350",
|
||||
"pink": "#e91e63",
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% import "partials/language.html" as lang with context %}
|
||||
<div class="md-search" data-md-component="search" role="dialog">
|
||||
<label class="md-search__overlay" for="__search"></label>
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% if config.extra.social %}
|
||||
<div class="md-footer-social">
|
||||
<link rel="stylesheet" href="{{ 'assets/fonts/font-awesome.css' | url }}">
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% import "partials/language.html" as lang with context %}
|
||||
{% set platform = config.extra.repo_icon or config.repo_url %}
|
||||
{% if "github" in platform %}
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% if nav_item.is_homepage %}
|
||||
<li class="md-tabs__item">
|
||||
{% if not page.ancestors | length and nav | selectattr("url", page.url) %}
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% set class = "md-tabs" %}
|
||||
{% if page.ancestors | length > 0 %}
|
||||
{% set class = "md-tabs md-tabs--active" %}
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
<li class="md-nav__item">
|
||||
<a href="{{ toc_item.url }}" class="md-nav__link">
|
||||
{{ toc_item.title }}
|
||||
|
@ -1,3 +1,6 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% import "partials/language.html" as lang with context %}
|
||||
<nav class="md-nav md-nav--secondary">
|
||||
{% set toc_ = page.toc %}
|
||||
|
Loading…
Reference in New Issue
Block a user