Documentation

This commit is contained in:
squidfunk 2019-11-26 10:36:04 +01:00
parent e1cab27714
commit 62ead4092f

View File

@ -54,7 +54,7 @@
(anchor ? '#' + anchor : '') (anchor ? '#' + anchor : '')
</script> </script>
<!-- no-js fallback --> <!-- Fallback in case JavaScript is not available -->
<meta http-equiv="refresh" content="0; url={{ page.meta.redirect }}" /> <meta http-equiv="refresh" content="0; url={{ page.meta.redirect }}" />
<meta name="robots" content="noindex" /> <meta name="robots" content="noindex" />
<link rel="canonical" href="{{ page.meta.redirect }}" /> <link rel="canonical" href="{{ page.meta.redirect }}" />
@ -92,10 +92,8 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
<!-- Stylesheets --> <!-- Theme-related stylesheets -->
{% block styles %} {% block styles %}
<!-- Theme-related stylesheets -->
<link <link
rel="stylesheet" rel="stylesheet"
type="text/css" type="text/css"
@ -177,7 +175,7 @@
<link rel="stylesheet" type="text/css" href="{{ path | url }}" /> <link rel="stylesheet" type="text/css" href="{{ path | url }}" />
{% endfor %} {% endfor %}
<!-- Analytic scripts --> <!-- Analytics -->
{% block analytics %} {% block analytics %}
{% if config.google_analytics %} {% if config.google_analytics %}
{% include "partials/integrations/analytics.html" %} {% include "partials/integrations/analytics.html" %}
@ -246,7 +244,7 @@
for="__drawer" for="__drawer"
></label> ></label>
<!-- Render "skip to content" link --> <!-- Link to skip to content -->
{% if page.toc | first is defined %} {% if page.toc | first is defined %}
<a href="{{ (page.toc | first).url }}" tabindex="1" class="md-skip"> <a href="{{ (page.toc | first).url }}" tabindex="1" class="md-skip">
{{ lang.t('skip.link.title') }} {{ lang.t('skip.link.title') }}
@ -273,7 +271,7 @@
{% include "partials/tabs.html" %} {% include "partials/tabs.html" %}
{% endif %} {% endif %}
<!-- Main container --> <!-- Main area -->
<main class="md-main" role="main"> <main class="md-main" role="main">
<div class="md-main__inner md-grid" data-md-component="main"> <div class="md-main__inner md-grid" data-md-component="main">
@ -418,6 +416,8 @@
{%- endfor -%} {%- endfor -%}
{{ translations | tojson }} {{ translations | tojson }}
</script> </script>
<!-- Application initialization -->
<script> <script>
app({ app({
version: "{{ mkdocs_version }}", version: "{{ mkdocs_version }}",
@ -426,6 +426,8 @@
} }
}); });
</script> </script>
<!-- Custom JavaScript -->
{% for path in config["extra_javascript"] %} {% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script> <script src="{{ path | url }}"></script>
{% endfor %} {% endfor %}