Skip to content

Commit 4197408

Browse files
committed
Merged features tied to Scotch Bonnet funding goal
1 parent 6b001c8 commit 4197408

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+1625
-369
lines changed

Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,17 @@ RUN \
4343
apk upgrade --update-cache -a \
4444
&& \
4545
apk add --no-cache \
46+
cairo \
47+
freetype-dev \
4648
git \
4749
git-fast-import \
50+
jpeg-dev \
4851
openssh \
52+
zlib-dev \
4953
&& \
5054
apk add --no-cache --virtual .build \
5155
gcc \
56+
libffi-dev \
5257
musl-dev \
5358
&& \
5459
pip install --no-cache-dir . \

material/assets/javascripts/bundle.2ab50757.min.js

-29
This file was deleted.

material/assets/javascripts/bundle.e93b4713.min.js

+29
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/assets/javascripts/bundle.2ab50757.min.js.map renamed to material/assets/javascripts/bundle.e93b4713.min.js.map

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/assets/stylesheets/main.6b80c2a2.min.css

-1
This file was deleted.

material/assets/stylesheets/main.6b80c2a2.min.css.map

-1
This file was deleted.

material/assets/stylesheets/main.bd774711.min.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/assets/stylesheets/main.bd774711.min.css.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/base.html

+22-12
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
{% endif %}
3535
{% endblock %}
3636
{% block styles %}
37-
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.6b80c2a2.min.css' | url }}">
37+
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.bd774711.min.css' | url }}">
3838
{% if config.theme.palette %}
3939
{% set palette = config.theme.palette %}
4040
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.cbb835fc.min.css' | url }}">
@@ -61,13 +61,18 @@
6161
<style>:root{--md-text-font:"{{ text }}";--md-code-font:"{{ code }}"}</style>
6262
{% endif %}
6363
{% endblock %}
64-
{% for path in config["extra_css"] %}
64+
{% for path in config.extra_css %}
6565
<link rel="stylesheet" href="{{ path | url }}">
6666
{% endfor %}
6767
{% include "partials/javascripts/base.html" %}
6868
{% block analytics %}
6969
{% include "partials/integrations/analytics.html" %}
7070
{% endblock %}
71+
{% if page.meta and page.meta.meta %}
72+
{% for tag in page.meta.meta %}
73+
<meta {% for key, value in tag.items() %} {{ key }}="{{value}}" {% endfor %}>
74+
{% endfor %}
75+
{% endif %}
7176
{% block extrahead %}{% endblock %}
7277
</head>
7378
{% set direction = config.theme.direction or lang.t('direction') %}
@@ -167,14 +172,16 @@
167172
</div>
168173
{% endif %}
169174
{% endblock %}
170-
<div class="md-content" data-md-component="content">
171-
<article class="md-content__inner md-typeset">
172-
{% block content %}
173-
{% include "partials/content.html" %}
174-
{% endblock %}
175-
</article>
176-
{% include "partials/javascripts/content.html" %}
177-
</div>
175+
{% block container %}
176+
<div class="md-content" data-md-component="content">
177+
<article class="md-content__inner md-typeset">
178+
{% block content %}
179+
{% include "partials/content.html" %}
180+
{% endblock %}
181+
</article>
182+
</div>
183+
{% endblock %}
184+
{% include "partials/javascripts/content.html" %}
178185
</div>
179186
{% if "navigation.top" in features %}
180187
<a href="#" class="md-top md-icon" data-md-component="top" hidden>
@@ -211,6 +218,9 @@
211218
{%- if config.extra.version -%}
212219
{%- set _ = app.update({ "version": config.extra.version }) -%}
213220
{%- endif -%}
221+
{%- if config.extra.tags -%}
222+
{%- set _ = app.update({ "tags": config.extra.tags }) -%}
223+
{%- endif -%}
214224
{%- set translations = app.translations -%}
215225
{%- for key in [
216226
"clipboard.copy",
@@ -235,8 +245,8 @@
235245
</script>
236246
{% endblock %}
237247
{% block scripts %}
238-
<script src="{{ 'assets/javascripts/bundle.2ab50757.min.js' | url }}"></script>
239-
{% for path in config["extra_javascript"] %}
248+
<script src="{{ 'assets/javascripts/bundle.e93b4713.min.js' | url }}"></script>
249+
{% for path in config.extra_javascript %}
240250
<script src="{{ path | url }}"></script>
241251
{% endfor %}
242252
{% endblock %}

material/overrides/assets/javascripts/bundle.a163e2c4.min.js renamed to material/overrides/assets/javascripts/bundle.a3d871f9.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/overrides/assets/javascripts/bundle.a163e2c4.min.js.map renamed to material/overrides/assets/javascripts/bundle.a3d871f9.min.js.map

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/overrides/main.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
{% endblock %}
2020
{% block scripts %}
2121
{{ super() }}
22-
<script src="{{ 'overrides/assets/javascripts/bundle.a163e2c4.min.js' | url }}"></script>
22+
<script src="{{ 'overrides/assets/javascripts/bundle.a3d871f9.min.js' | url }}"></script>
2323
{% endblock %}

material/partials/consent.html

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{#-
22
This file was automatically generated - do not edit
33
-#}
4-
{% import "partials/language.html" as lang with context %}
54
{% set cookies = config.extra.consent.cookies %}
65
{% if config.extra.analytics and not cookies %}
76
{% set cookies = { "analytics": "Google Analytics" } %}

material/partials/feedback.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{% if config.extra.analytics %}
55
{% set feedback = config.extra.analytics.feedback %}
66
{% endif %}
7-
{% if page and page.meta and page.meta.hide %}
7+
{% if page.meta and page.meta.hide %}
88
{% if "feedback" in page.meta.hide %}
99
{% set feedback = None %}
1010
{% endif %}
@@ -27,7 +27,7 @@
2727
{% for rating in feedback.ratings %}
2828
<div data-md-value="{{ rating.data }}" hidden>
2929
{% set url = "/" ~ page.url %}
30-
{% if page and page.meta and page.meta.title %}
30+
{% if page.meta and page.meta.title %}
3131
{% set title = page.meta.title | urlencode %}
3232
{% else %}
3333
{% set title = page.title | urlencode %}

material/partials/header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
</div>
6767
</div>
6868
{% endif %}
69-
{% if "search" in config["plugins"] %}
69+
{% if "search" in config.plugins %}
7070
<label class="md-header__button md-icon" for="__search">
7171
{% include ".icons/material/magnify.svg" %}
7272
</label>

material/partials/icons.html

+19
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,22 @@
1515
{% set _ = style.append("}\x3c/style\x3e") %}
1616
{{ style | join }}
1717
{% endif %}
18+
{% if config.theme.icon.tag %}
19+
{% set style = ["\x3cstyle\x3e"] %}
20+
{% for type, icon in config.theme.icon.tag.items() %}
21+
{% import ".icons/" ~ icon ~ ".svg" as icon %}
22+
{% if type != "default" %}
23+
{% set modifier = "--" ~ type %}
24+
{% endif %}
25+
{% set _ = style.append(
26+
".md-tag-icon" ~ modifier ~ "{" ~
27+
"--md-tag-icon:" ~
28+
"url('data:image/svg+xml;charset=utf-8," ~
29+
icon | replace("\n", "") ~
30+
"');" ~
31+
"}"
32+
) %}
33+
{% endfor %}
34+
{% set _ = style.append("\x3c/style\x3e") %}
35+
{{ style | join }}
36+
{% endif %}

material/partials/languages/de.html

+5-1
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@
1212
"edit.link.title": "Seite editieren",
1313
"footer.previous": "Zurück",
1414
"footer.next": "Weiter",
15+
"footer.title": "Fußzeile",
16+
"header.title": "Kopfzeile",
1517
"meta.comments": "Kommentare",
1618
"meta.source": "Quellcode",
19+
"nav.title": "Navigation",
1720
"search.config.lang": "de",
1821
"search.placeholder": "Suche",
1922
"search.share": "Teilen",
@@ -30,9 +33,10 @@
3033
"select.language.title": "Sprache wechseln",
3134
"select.version.title": "Version auswählen",
3235
"skip.link.title": "Zum Inhalt",
33-
"source.link.title": "Quellcode",
36+
"source.link.title": "Zum Repository",
3437
"source.file.date.updated": "Letztes Update",
3538
"source.file.date.created": "Erstellt",
39+
"tabs.title": "Hauptnavigation",
3640
"toc.title": "Inhaltsverzeichnis",
3741
"top.title": "Zurück zum Seitenanfang"
3842
}[key] }}{% endmacro %}

material/partials/search.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
</label>
1313
<nav class="md-search__options" aria-label="{{ lang.t('search.title') }}">
1414
{% if "search.share" in features %}
15-
<a href="javascript:void(0)" class="md-search__icon md-icon" aria-label="{{ lang.t('search.share') }}" data-clipboard data-clipboard-text="" data-md-component="search-share" tabindex="-1">
15+
<a href="javascript:void(0)" class="md-search__icon md-icon" title="{{ lang.t('search.share') }}" aria-label="{{ lang.t('search.share') }}" data-clipboard data-clipboard-text="" data-md-component="search-share" tabindex="-1">
1616
{% include ".icons/material/share-variant.svg" %}
1717
</a>
1818
{% endif %}
19-
<button type="reset" class="md-search__icon md-icon" aria-label="{{ lang.t('search.reset') }}" tabindex="-1">
19+
<button type="reset" class="md-search__icon md-icon" title="{{ lang.t('search.reset') }}" aria-label="{{ lang.t('search.reset') }}" tabindex="-1">
2020
{% include ".icons/material/close.svg" %}
2121
</button>
2222
</nav>

material/partials/tags.html

+11-3
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,20 @@
77
{% if tags %}
88
<nav class="md-tags" {{ hidden }}>
99
{% for tag in tags %}
10+
{% if config.extra.tags %}
11+
{% set icon = " md-tag-icon" %}
12+
{% if tag.type %}
13+
{% set icon = icon ~ " md-tag-icon--" ~ tag.type %}
14+
{% endif %}
15+
{% endif %}
1016
{% if tag.url %}
11-
<a href="{{ tag.url | url }}" class="md-tag">
12-
{{ tag.name }}
17+
<a href="{{ tag.url | url }}" class="md-tag{{ icon }}">
18+
{{- tag.name -}}
1319
</a>
1420
{% else %}
15-
<span class="md-tag">{{ tag.name }}</span>
21+
<span class="md-tag{{ icon }}">
22+
{{- tag.name -}}
23+
</span>
1624
{% endif %}
1725
{% endfor %}
1826
</nav>

material/plugins/social/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)