1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-12 01:50:52 +01:00

Re-added auto-generated code banner

This commit is contained in:
squidfunk 2019-09-28 19:42:54 +02:00
parent ea931e4617
commit 260effaddb
60 changed files with 175 additions and 12 deletions

3
.banner Normal file
View File

@ -0,0 +1,3 @@
{#-
This file was automatically generated - do not edit
-#}

View File

@ -1,11 +0,0 @@
{
"options": [
"addTest",
"setClasses"
],
"files": {
"src": ["src/assets/**/*.{js,scss}"]
},
"feature-detects": [],
"runOnce": true
}

View File

@ -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

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% extends "base.html" %}
{% block content %}
<h1>404 - Not found</h1>

View File

@ -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 %}

View File

@ -1 +1,4 @@
{#-
This file was automatically generated - do not edit
-#}
{% extends "base.html" %}

View File

@ -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 %}

View File

@ -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">

View File

@ -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 %}

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% set analytics = config.google_analytics %}
<script>
window.ga = window.ga || function() {

View File

@ -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 %}

View File

@ -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) %}{{ {

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "af",
"clipboard.copy": "Kopieer na knipbord",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "ar",
"direction": "rtl",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "ca",
"clipboard.copy": "Còpia al porta-retalls",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "cs",
"clipboard.copy": "Kopírovat do schránky",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "da",
"clipboard.copy": "Kopiér til udklipsholderen",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "de",
"clipboard.copy": "In Zwischenablage kopieren",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "en",
"direction": "ltr",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "es",
"clipboard.copy": "Copiar al portapapeles",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "fa",
"direction": "rtl",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "fi",
"clipboard.copy": "Kopioi leikepöydälle",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "fr",
"clipboard.copy": "Copier dans le presse-papier",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "gl",
"clipboard.copy": "Copiar no cortapapeis",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "gr",
"clipboard.copy": "Αντιγραφή",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "he",
"direction": "rtl",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "hi",
"clipboard.copy": "क्लिपबोर्ड पर कॉपी करें",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "hr",
"clipboard.copy": "Kopirajte u međuspremnik",

View File

@ -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",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "id",
"clipboard.copy": "Salin ke memori",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "it",
"clipboard.copy": "Copia",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "ja",
"clipboard.copy": "クリップボードへコピー",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "kr",
"clipboard.copy": "클립보드로 복사",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "nl",
"clipboard.copy": "Kopiëren naar klembord",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "nn",
"clipboard.copy": "Kopier til utklippstavla",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "no",
"clipboard.copy": "Kopier til utklippstavlen",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "pl",
"clipboard.copy": "Kopiuj do schowka",

View File

@ -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",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "ru",
"clipboard.copy": "Копировать в буфер",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "sh",
"clipboard.copy": "Kopiraj u klipbord",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "si",
"clipboard.copy": "Kopiraj v odložišče",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "sk",
"clipboard.copy": "Kopírovať do schránky",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "sr",
"clipboard.copy": "Копирај у клипборд",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "sv",
"clipboard.copy": "Kopiera till urklipp",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "tr",
"clipboard.copy": "Kopyala",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "uk",
"clipboard.copy": "Скопіювати в буфер",

View File

@ -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ớ",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "zh-Hant",
"clipboard.copy": "拷貝",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "zh-Hant",
"clipboard.copy": "複製",

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "zh",
"clipboard.copy": "复制",

View File

@ -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" %}

View File

@ -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">

View File

@ -1,3 +1,6 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro primary(key) %}{{ {
"red": "#ef5350",
"pink": "#e91e63",

View File

@ -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>

View File

@ -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 }}">

View File

@ -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 %}

View File

@ -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) %}

View File

@ -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" %}

View File

@ -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 }}

View File

@ -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 %}