Skip to content

Commit a3b619f

Browse files
committed
Merge branch 'master' into fix/instant-loading
2 parents 5e64e92 + 433c137 commit a3b619f

File tree

13,765 files changed

+26480
-14568
lines changed

Some content is hidden

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

13,765 files changed

+26480
-14568
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
.git
2323
.github
2424
docs
25-
material/.overrides
25+
material/overrides
2626
node_modules
2727
src

.editorconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ end_of_line = lf
3030
insert_final_newline = true
3131
trim_trailing_whitespace = true
3232

33-
# Markdown
34-
[*.md]
35-
trim_trailing_whitespace = false
36-
3733
# Python
3834
[*.py]
3935
indent_style = space

.github/ISSUE_TEMPLATE/01-report-a-bug.yml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ body:
1010
This field is optional. You may provide additional context for the bug
1111
you want to report, helping us to understand what you are working on and
1212
what you are trying to achieve. If the context is not relevant, you can
13-
leave this field empty. [More](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#context)
13+
leave this field empty.
14+
[More](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#context)
1415
1516
- type: textarea
1617
id: description
@@ -20,7 +21,8 @@ body:
2021
Please give a detailed description of the bug. Explain where Material
2122
for MkDocs does not behave as you would expect it to. Be as specific as
2223
possible. If you have found a workaround or a fix for the problem,
23-
please let us maintainers (and all other users) know. [More](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#description)
24+
please let us maintainers (and all other users) know.
25+
[More](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#bug-description)
2426
validations:
2527
required: true
2628

@@ -30,7 +32,7 @@ body:
3032
label: Related links
3133
description: >-
3234
Please list all links to the sections of
33-
[our documentation](https://squidfunk.github.io/mkdocs-material) that
35+
[our documentation](https://squidfunk.github.io/mkdocs-material/) that
3436
are relevant to the bug in order to show that you have consulted and
3537
thoroughly read it. Additionally, list links to possibly related open
3638
and closed [issues](https://github.com/squidfunk/mkdocs-material/issues)
@@ -50,11 +52,12 @@ body:
5052
description: >-
5153
Please create a __.zip file__ with a __minimal reproduction__ for the
5254
bug. First, read our [reproduction guide](https://squidfunk.github.io/mkdocs-material/guides/creating-a-reproduction/)
53-
that explains the necessary steps, then use the [built-in info plugin](https://squidfunk.github.io/mkdocs-material/guides/creating-a-reproduction/#creating-a-zip-file) (mandatory) to create a self-contained
55+
that explains the necessary steps, then use the [built-in info plugin](https://squidfunk.github.io/mkdocs-material/plugins/info/) (mandatory) to create a self-contained
5456
.zip file with the reproduction. We reserve the right to close issues
55-
without .zip files. [More](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#reproduction)
57+
without .zip files.
58+
[More](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#reproduction)
5659
placeholder: |-
57-
Drag and drop the .zip file with minimal reproduction here.
60+
Drag and drop the .zip file with the minimal reproduction here.
5861
validations:
5962
required: true
6063

@@ -66,7 +69,8 @@ body:
6669
Please provide a detailed list of instructions, guiding us maintainers
6770
through the required steps, helping us to recreate the problem using the
6871
minimal reproduction you provided. Be as specific as possible and as
69-
verbose as necessary – try not to leave anything out. [More](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#steps-to-reproduce)
72+
verbose as necessary – try not to leave anything out.
73+
[More](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#steps-to-reproduce)
7074
placeholder: |-
7175
1. ...
7276
2. ...
@@ -79,10 +83,11 @@ body:
7983
attributes:
8084
label: Browser
8185
description: >-
82-
If the bug only happens in __specific browsers__, please select them
83-
from the dropdown below. If your browser is not listed or the version
84-
is relevant, you may select _Other_ and provide more details in the
85-
field above. [More](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#browser)
86+
This field is optional. If the bug only happens in __specific browsers__,
87+
please select them from the dropdown below. If your browser is not
88+
listed or the version is relevant, you may select _Other_ and provide
89+
more details in the field above.
90+
[More](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#browser)
8691
multiple: true
8792
options:
8893
- Chrome
@@ -106,7 +111,7 @@ body:
106111
I have read and followed the [bug reporting guidelines](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/).
107112
required: true
108113
- label: >-
109-
I have attached links to [the documentation](https://squidfunk.github.io/mkdocs-material),
114+
I have attached links to [the documentation](https://squidfunk.github.io/mkdocs-material/),
110115
and possibly related [issues](https://github.com/squidfunk/mkdocs-material/issues)
111116
and [discussions](https://github.com/squidfunk/mkdocs-material/discussions).
112117
required: true

.github/ISSUE_TEMPLATE/02-report-a-docs-issue.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Report a docs issue
1+
name: Report a documentation issue
22
description: Missing information in our docs? Report a documentation issue
33
labels:
44
- documentation
@@ -10,7 +10,7 @@ body:
1010
label: Description
1111
description: >-
1212
Please describe the inconsistency or issue you have found in
13-
[our documentation](https://squidfunk.github.io/mkdocs-material)
13+
[our documentation](https://squidfunk.github.io/mkdocs-material/)
1414
or indicate where you feel there is a need for improvement. Furthermore,
1515
explain the severity of the issue, i.e., its impact on you and potentially
1616
other users.
@@ -23,7 +23,7 @@ body:
2323
attributes:
2424
label: Related links
2525
description: >-
26-
Please list all links to the sections of [our documentation](https://squidfunk.github.io/mkdocs-material)
26+
Please list all links to the sections of [our documentation](https://squidfunk.github.io/mkdocs-material/)
2727
that are impacted by the issue you described above. If applicable,
2828
add screenshots. Additionally, list links to possibly related open
2929
and closed [issues](https://github.com/squidfunk/mkdocs-material/issues)
@@ -58,8 +58,8 @@ body:
5858
valuable time.
5959
options:
6060
- label: >-
61-
I have read and followed the [documentation issue reporting guidelines](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-docs-issue/).
61+
I have read and followed the [documentation issue guidelines](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-docs-issue/).
6262
required: true
6363
- label: >-
64-
I have attached the links to the described sections of [the documentation](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-docs-issue/#related-links)
64+
I have attached the links to the affected sections of [the documentation](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-docs-issue/#related-links)
6565
required: true

.github/ISSUE_TEMPLATE/03-request-a-change.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ body:
1010
This field is optional. You may provide additional context for the idea
1111
you want to propose, helping us to understand what you are working on
1212
and what you are trying to achieve. If the context is not relevant, you
13-
can leave this field empty. [More](https://squidfunk.github.io/mkdocs-material/contributing/requesting-a-change/#context)
13+
can leave this field empty.
14+
[More](https://squidfunk.github.io/mkdocs-material/contributing/requesting-a-change/#context)
1415
1516
- type: textarea
1617
id: description
@@ -32,10 +33,9 @@ body:
3233
description: >-
3334
Please list all links to open and closed [issues](https://github.com/squidfunk/mkdocs-material/issues),
3435
[discussions](https://github.com/squidfunk/mkdocs-material/discussions),
35-
or to [documentation sections](https://squidfunk.github.io/mkdocs-material)
36-
that are relevant to your idea.
37-
If you discussed your idea with the community on our
38-
[discussion board](https://github.com/squidfunk/mkdocs-material/discussions)
36+
or to [documentation sections](https://squidfunk.github.io/mkdocs-material/)
37+
that are relevant to your idea. If you discussed your idea with the
38+
community on our [discussion board](https://github.com/squidfunk/mkdocs-material/discussions)
3939
prior to creating this change request, please link the discussion here as well.
4040
[More](https://squidfunk.github.io/mkdocs-material/contributing/requesting-a-change/#related-links)
4141
value: |-
@@ -51,7 +51,7 @@ body:
5151
description: >-
5252
Please explain how your idea will work from an author's and user's
5353
perspective. Elaborate on how the change would positively impact not only
54-
you but the community and how it aligns with the goals and [philosophy](https://squidfunk.github.io/mkdocs-material/philosophy/)
54+
you but our community and how it aligns with the goals and [philosophy](https://squidfunk.github.io/mkdocs-material/philosophy/)
5555
of the project.
5656
[More](https://squidfunk.github.io/mkdocs-material/contributing/requesting-a-change/#use-cases)
5757
validations:
@@ -90,6 +90,6 @@ body:
9090
I have ensured that, to the best of my knowledge, [my idea will benefit the entire community](https://squidfunk.github.io/mkdocs-material/contributing/requesting-a-change/#benefit-for-the-community).
9191
required: true
9292
- label: >-
93-
I have included relevant links to [the documentation](https://squidfunk.github.io/mkdocs-material), related [issues](https://github.com/squidfunk/mkdocs-material/issues),
93+
I have included relevant links to [the documentation](https://squidfunk.github.io/mkdocs-material/), related [issues](https://github.com/squidfunk/mkdocs-material/issues),
9494
and [discussions](https://github.com/squidfunk/mkdocs-material/discussions) to underline the need for my idea.
9595
required: true

.github/ISSUE_TEMPLATE/04-add-a-translation.yml

Lines changed: 0 additions & 94 deletions
This file was deleted.
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
name: Add a translation
2+
description: Missing support for your language? Add a translation
3+
title: Add translations for ...
4+
labels:
5+
- change request
6+
body:
7+
8+
- type: markdown
9+
attributes:
10+
value: >-
11+
**Important**: Before creating a new translation, please check if
12+
Material for MkDocs already supports your language. Review the list of
13+
[available languages](https://squidfunk.github.io/mkdocs-material/setup/changing-the-language/#site-language),
14+
pick your language to add new or improve existing translations.
15+
16+
- type: textarea
17+
id: translations
18+
attributes:
19+
label: Translations
20+
description: >-
21+
Please translate the labels on the right. For new languages, translate
22+
each line. For existing languages, only translate lines containing the
23+
:arrow_left: icon and remove the icon before submitting.
24+
[More](https://squidfunk.github.io/mkdocs-material/contributing/adding-translations/#translations_1)
25+
value: |-
26+
{% macro t(key) %}{{ {
27+
"language": "en ⬅️",
28+
"direction": "ltr ⬅️",
29+
"action.edit": "Edit this page ⬅️",
30+
"action.skip": "Skip to content ⬅️",
31+
"action.view": "View source of this page ⬅️",
32+
"announce.dismiss": "Don't show this again ⬅️",
33+
"blog.archive": "Archive ⬅️",
34+
"blog.categories": "Categories ⬅️",
35+
"blog.categories.in": "in ⬅️",
36+
"blog.continue": "Continue reading ⬅️",
37+
"blog.draft": "Draft ⬅️",
38+
"blog.index": "Back to index ⬅️",
39+
"blog.meta": "Metadata ⬅️",
40+
"blog.references": "Related links ⬅️",
41+
"clipboard.copy": "Copy to clipboard ⬅️",
42+
"clipboard.copied": "Copied to clipboard ⬅️",
43+
"consent.accept": "Accept ⬅️",
44+
"consent.manage": "Manage settings ⬅️",
45+
"consent.reject": "Reject ⬅️",
46+
"footer": "Footer ⬅️",
47+
"footer.next": "Next ⬅️",
48+
"footer.previous": "Previous ⬅️",
49+
"header": "Header ⬅️",
50+
"meta.comments": "Comments ⬅️",
51+
"meta.source": "Source ⬅️",
52+
"nav": "Navigation ⬅️",
53+
"readtime.one": "1 min read ⬅️",
54+
"readtime.other": "# min read ⬅️",
55+
"rss.created": "RSS feed ⬅️",
56+
"rss.updated": "RSS feed of updated content ⬅️",
57+
"search": "Search ⬅️",
58+
"search.placeholder": "Search ⬅️",
59+
"search.share": "Share ⬅️",
60+
"search.reset": "Clear ⬅️",
61+
"search.result.initializer": "Initializing search ⬅️",
62+
"search.result.placeholder": "Type to start searching ⬅️",
63+
"search.result.none": "No matching documents ⬅️",
64+
"search.result.one": "1 matching document ⬅️",
65+
"search.result.other": "# matching documents ⬅️",
66+
"search.result.more.one": "1 more on this page ⬅️",
67+
"search.result.more.other": "# more on this page ⬅️",
68+
"search.result.term.missing": "Missing ⬅️",
69+
"select.language": "Select language ⬅️",
70+
"select.version": "Select version ⬅️",
71+
"source": "Go to repository ⬅️",
72+
"source.file.contributors": "Contributors ⬅️",
73+
"source.file.date.created": "Created ⬅️",
74+
"source.file.date.updated": "Last update ⬅️",
75+
"tabs": "Tabs ⬅️",
76+
"toc": "Table of contents ⬅️",
77+
"top": "Back to top ⬅️"
78+
}[key] }}{% endmacro %}
79+
render: Jinja
80+
validations:
81+
required: true
82+
83+
- type: input
84+
id: country-flag
85+
attributes:
86+
label: Country flag
87+
description: >-
88+
This field is optional. Please add the flag of the country when adding a
89+
new language. Go to our [emoji search](https://squidfunk.github.io/mkdocs-material/reference/icons-emojis/#search)
90+
and enter `flag` to find all available shortcodes. If your flag is not
91+
included, please choose the most appropriate available flag.
92+
[More](https://squidfunk.github.io/mkdocs-material/contributing/adding-translations/#country-flag)
93+
placeholder: |-
94+
Country flag shortcode, e.g. :flag_en:
95+
96+
- type: checkboxes
97+
id: checklist
98+
attributes:
99+
label: Before submitting
100+
description: >-
101+
Please ensure that your translation fulfills the following requirements.
102+
options:
103+
- label: >-
104+
I've checked the list of [available languages](https://squidfunk.github.io/mkdocs-material/setup/changing-the-language/#site-language) for existing translations.
105+
required: true
106+
- label: >-
107+
I assure that the translations are accurate to the best of my knowledge.
108+
required: true
109+
- label: >-
110+
__Optional__: I want to integrate this translation myself and create a
111+
pull request following the [contribution guide](https://github.com/squidfunk/mkdocs-material/blob/master/CONTRIBUTING.md).

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@ blank_issues_enabled: false
2222
contact_links:
2323
- name: Ask a question
2424
url: https://github.com/squidfunk/mkdocs-material/discussions
25-
about: Have a question or need help? Connect with the community on our discussion board
25+
about: >
26+
Have a question or need help? Connect with our community on the
27+
discussion board
5.86 KB
Loading
4.36 KB
Loading

0 commit comments

Comments
 (0)