mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Merge branch 'master' of github.com:squidfunk/mkdocs-material
This commit is contained in:
commit
ae61f6c6f8
4
.github/ISSUE_TEMPLATE/bug.md
vendored
4
.github/ISSUE_TEMPLATE/bug.md
vendored
@ -1,6 +1,10 @@
|
|||||||
---
|
---
|
||||||
name: Bug
|
name: Bug
|
||||||
about: Report a bug
|
about: Report a bug
|
||||||
|
title: ''
|
||||||
|
labels: ''
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
4
.github/ISSUE_TEMPLATE/feature.md
vendored
4
.github/ISSUE_TEMPLATE/feature.md
vendored
@ -1,6 +1,10 @@
|
|||||||
---
|
---
|
||||||
name: Feature
|
name: Feature
|
||||||
about: Suggest an idea
|
about: Suggest an idea
|
||||||
|
title: ''
|
||||||
|
labels: ''
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
4
.github/ISSUE_TEMPLATE/question.md
vendored
4
.github/ISSUE_TEMPLATE/question.md
vendored
@ -1,6 +1,10 @@
|
|||||||
---
|
---
|
||||||
name: Question
|
name: Question
|
||||||
about: The issue tracker is not for questions. Please ask your question on StackOverflow.
|
about: The issue tracker is not for questions. Please ask your question on StackOverflow.
|
||||||
|
title: ''
|
||||||
|
labels: ''
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
__THE ISSUE TRACKER IS NOT FOR QUESTIONS.__
|
__THE ISSUE TRACKER IS NOT FOR QUESTIONS.__
|
||||||
|
42
.github/ISSUE_TEMPLATE/translate.md
vendored
Normal file
42
.github/ISSUE_TEMPLATE/translate.md
vendored
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
name: Translate
|
||||||
|
about: 'Help translate Material into more languages '
|
||||||
|
title: 'New translation: {Insert language}'
|
||||||
|
labels: enhancement
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Instructions
|
||||||
|
|
||||||
|
1. Check, if your language is already available: [here](http://bit.ly/2DCzaL0)
|
||||||
|
2. If it isn't, please translate the labels on the right:
|
||||||
|
|
||||||
|
``` jinja
|
||||||
|
{% macro t(key) %}{{ {
|
||||||
|
"language": "en",
|
||||||
|
"direction": "ltr",
|
||||||
|
"clipboard.copy": "Copy to clipboard",
|
||||||
|
"clipboard.copied": "Copied to clipboard",
|
||||||
|
"edit.link.title": "Edit this page",
|
||||||
|
"footer.previous": "Previous",
|
||||||
|
"footer.next": "Next",
|
||||||
|
"meta.comments": "Comments",
|
||||||
|
"meta.source": "Source",
|
||||||
|
"search.language": "en",
|
||||||
|
"search.pipeline.stopwords": true,
|
||||||
|
"search.pipeline.trimmer": true,
|
||||||
|
"search.placeholder": "Search",
|
||||||
|
"search.result.placeholder": "Type to start searching",
|
||||||
|
"search.result.none": "No matching documents",
|
||||||
|
"search.result.one": "1 matching document",
|
||||||
|
"search.result.other": "# matching documents",
|
||||||
|
"search.tokenizer": "[\s\-]+",
|
||||||
|
"skip.link.title": "Skip to content",
|
||||||
|
"source.link.title": "Go to repository",
|
||||||
|
"source.revision.date": "Last update",
|
||||||
|
"toc.title": "Table of contents"
|
||||||
|
}[key] }}{% endmacro %}
|
||||||
|
```
|
||||||
|
|
||||||
|
Thanks!
|
@ -9,7 +9,13 @@ be triggered from within a Git repository.
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Add the following lines to your `mkdocs.yml`:
|
Install the plugin with the following command:
|
||||||
|
|
||||||
|
``` sh
|
||||||
|
pip install mkdocs-git-revision-date-localized-plugin
|
||||||
|
```
|
||||||
|
|
||||||
|
Next, add the following lines to your `mkdocs.yml`:
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
plugins:
|
plugins:
|
||||||
|
@ -301,7 +301,7 @@ theme:
|
|||||||
!!! info "Call for Contributions: Add languages/translations to Material"
|
!!! info "Call for Contributions: Add languages/translations to Material"
|
||||||
|
|
||||||
Help translate Material into more languages - it's just **one click** and
|
Help translate Material into more languages - it's just **one click** and
|
||||||
takes approximately **2 minutes**: [click here](http://bit.ly/2EbzFc8)
|
takes approximately **2 minutes**: [click here](https://github.com/squidfunk/mkdocs-material/issues/new?template=translate.md)
|
||||||
|
|
||||||
#### Localization
|
#### Localization
|
||||||
|
|
||||||
@ -381,7 +381,7 @@ translations for all template variables and labels in the following languages:
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="4" align="right">
|
<td colspan="4" align="right">
|
||||||
<a href="http://bit.ly/2EbzFc8">Submit a new language</a>
|
<a href="https://github.com/squidfunk/mkdocs-material/issues/new?template=translate.md">Submit a new language</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Loading…
Reference in New Issue
Block a user