mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Merge branch 'master' into refactor/rxjs-typescript
This commit is contained in:
commit
d439142f0f
4
.github/ISSUE_TEMPLATE/bug.md
vendored
4
.github/ISSUE_TEMPLATE/bug.md
vendored
@ -1,6 +1,10 @@
|
||||
---
|
||||
name: 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
|
||||
about: Suggest an idea
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
|
11
.github/ISSUE_TEMPLATE/question.md
vendored
11
.github/ISSUE_TEMPLATE/question.md
vendored
@ -1,12 +1,17 @@
|
||||
---
|
||||
name: Question
|
||||
about: The issue tracker is not for questions. Please use the Gitter channel.
|
||||
about: The issue tracker is not for questions. Please ask your question on StackOverflow.
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
__THE ISSUE TRACKER IS NOT FOR QUESTIONS.__
|
||||
__DO NOT CREATE A NEW ISSUE TO ASK A QUESTION.__
|
||||
|
||||
Please use the [official Gitter channel][1] to ask your question. Issues that
|
||||
Please use [StackOverflow][1] to ask your question. If the question is theme-related, you may also use the [official Gitter channel][2]. Issues that
|
||||
only contain questions will be deleted.
|
||||
|
||||
[1]: https://gitter.im/squidfunk/mkdocs-material
|
||||
[1]: https://stackoverflow.com
|
||||
[2]: https://gitter.im/squidfunk/mkdocs-material
|
||||
|
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!
|
166
.github/workflows/ci.yml
vendored
Normal file
166
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,166 @@
|
||||
# Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
|
||||
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to
|
||||
# deal in the Software without restriction, including without limitation the
|
||||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
# sell copies of the Software, and to permit persons to whom the Software is
|
||||
# furnished to do so, subject to the following conditions:
|
||||
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
|
||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
# IN THE SOFTWARE.
|
||||
|
||||
name: ci
|
||||
on:
|
||||
- push
|
||||
- pull_request
|
||||
|
||||
# Jobs to run
|
||||
jobs:
|
||||
|
||||
# Build theme
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
# Limit clone depth to speed up build
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 5
|
||||
|
||||
# Install Node runtime and dependencies
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 10.x
|
||||
|
||||
- uses: actions/cache@v1
|
||||
id: cache-node
|
||||
with:
|
||||
path: node_modules
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-build-${{ env.cache-name }}-
|
||||
${{ runner.os }}-build-
|
||||
${{ runner.os }}-
|
||||
|
||||
- if: steps.cache-node.outputs.cache-hit != 'true'
|
||||
run: npm install
|
||||
|
||||
# Run linter and build distribution files
|
||||
- run: npm run lint
|
||||
- run: npm run build
|
||||
|
||||
# Upload distribution files
|
||||
- uses: actions/upload-artifact@v1
|
||||
if: startsWith(github.ref, 'refs/tags')
|
||||
with:
|
||||
name: material
|
||||
path: material
|
||||
|
||||
# Build and deploy documentation site
|
||||
deploy:
|
||||
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
# Limit clone depth to speed up build
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 5
|
||||
|
||||
# Install Python runtime and dependencies
|
||||
- uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
||||
- uses: actions/cache@v1
|
||||
id: cache-python
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pip-
|
||||
|
||||
- if: steps.cache-python.outputs.cache-hit != 'true'
|
||||
run: pip install -r requirements.txt
|
||||
|
||||
# Set configuration for repository and deploy documentation
|
||||
- env:
|
||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
GH_NAME: ${{ secrets.GH_NAME }}
|
||||
GH_EMAIL: ${{ secrets.GH_EMAIL }}
|
||||
run: |
|
||||
REMOTE="https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material"
|
||||
git config --global user.name "${GH_NAME}"
|
||||
git config --global user.email "${GH_EMAIL}"
|
||||
git remote set-url origin ${REMOTE}
|
||||
|
||||
# Install theme
|
||||
- run: python setup.py install
|
||||
|
||||
# Build documentation
|
||||
- env:
|
||||
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}
|
||||
run: |
|
||||
mkdocs gh-deploy --force
|
||||
mkdocs --version
|
||||
|
||||
# Publish Python package and Docker image
|
||||
publish:
|
||||
if: startsWith(github.ref, 'refs/tags')
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
# Limit clone depth to speed up build
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 5
|
||||
|
||||
# Ensure latest build if repository is not up-to-date
|
||||
- run: rm -rf material
|
||||
|
||||
# Download distribution files
|
||||
- uses: actions/download-artifact@v1
|
||||
with:
|
||||
name: material
|
||||
|
||||
# Install Python runtime and dependencies
|
||||
- uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
||||
- run: pip install --upgrade setuptools wheel twine
|
||||
|
||||
# Build and test Docker image
|
||||
- run: |
|
||||
docker build -t ${GITHUB_REPOSITORY} .
|
||||
docker run --rm -i -v $(pwd):/docs ${GITHUB_REPOSITORY} \
|
||||
build --theme material
|
||||
|
||||
# Build Python package
|
||||
- run: python setup.py build sdist bdist_wheel --universal
|
||||
|
||||
# Push release to PyPI
|
||||
- env:
|
||||
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
||||
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||
run: twine upload -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} dist/*
|
||||
|
||||
# Push image to Docker Hub
|
||||
- env:
|
||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||
run: |
|
||||
docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
|
||||
docker tag ${GITHUB_REPOSITORY} ${GITHUB_REPOSITORY}:${GITHUB_REF##*/}
|
||||
docker tag ${GITHUB_REPOSITORY} ${GITHUB_REPOSITORY}:latest
|
||||
docker push ${GITHUB_REPOSITORY}
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -31,8 +31,8 @@ venv
|
||||
|
||||
# Files generated by build
|
||||
/build
|
||||
/material/manifest.json
|
||||
/MANIFEST
|
||||
/manifest.json
|
||||
/site
|
||||
|
||||
# Distribution files
|
||||
|
23
CHANGELOG
23
CHANGELOG
@ -1,3 +1,26 @@
|
||||
mkdocs-material 4.6.0 (2019-12-11)
|
||||
|
||||
* Added support for mkdocs-git-revision-date-localized-plugin
|
||||
* Fixed invalid character in Google Fonts URL
|
||||
|
||||
mkdocs-material-4.5.1 (2019-12-02)
|
||||
|
||||
* Added Thai translations
|
||||
* Fixed missing assets in GitHub release .zip and .tar.gz
|
||||
|
||||
mkdocs-material-4.5.0 (2019-11-16)
|
||||
|
||||
* Upgraded EmojiOne to Tweomji due to licensing issues
|
||||
* Temporarily pinned PyMdown and Markdown due to upcoming changes
|
||||
* Improved GitHub statistics retrieval
|
||||
* Fixed errors in Greek translations
|
||||
|
||||
mkdocs-material-4.4.3 (2019-10-03)
|
||||
|
||||
* Added Estonian translations
|
||||
* Fixed removal of copyright banners in minified JavaScript
|
||||
* Removed unnecessary title attributes from links in table of contents
|
||||
|
||||
mkdocs-material-4.4.2 (2019-08-27)
|
||||
|
||||
* Added Afrikaans translations
|
||||
|
15
README.md
15
README.md
@ -1,11 +1,11 @@
|
||||
[![Travis][travis-image]][travis-link]
|
||||
[![Github Action][action-image]][action-link]
|
||||
[![Downloads][downloads-image]][downloads-link]
|
||||
[![Gitter][gitter-image]][gitter-link]
|
||||
[![PyPI][pypi-image]][pypi-link]
|
||||
[![dependabot][dependabot-image]][dependabot-link]
|
||||
|
||||
[travis-image]: https://travis-ci.org/squidfunk/mkdocs-material.svg?branch=master
|
||||
[travis-link]: https://travis-ci.org/squidfunk/mkdocs-material
|
||||
[action-image]: https://github.com/squidfunk/mkdocs-material/workflows/ci/badge.svg?branch=master
|
||||
[action-link]: https://github.com/squidfunk/mkdocs-material/actions
|
||||
[downloads-image]: https://img.shields.io/pypi/dm/mkdocs-material.svg
|
||||
[downloads-link]: https://pypistats.org/packages/mkdocs-material
|
||||
[gitter-image]: https://badges.gitter.im/squidfunk/mkdocs-material.svg
|
||||
@ -42,7 +42,7 @@ theme:
|
||||
## What to expect
|
||||
|
||||
* Responsive design and fluid layout for all kinds of screens and devices,
|
||||
designed to serve your project documentation in a user-friendly way in 38
|
||||
designed to serve your project documentation in a user-friendly way in 40
|
||||
languages with optimal readability.
|
||||
|
||||
* Easily customizable primary and accent color, fonts, favicon and logo;
|
||||
@ -56,6 +56,13 @@ theme:
|
||||
For detailed installation instructions and a demo, visit
|
||||
https://squidfunk.github.io/mkdocs-material/
|
||||
|
||||
## Support
|
||||
|
||||
If you're happy with Material for MkDocs and feel like giving something back,
|
||||
you may check out squidfunk's [Amazon wish list][3].
|
||||
|
||||
[3]: https://amzn.to/353WRpj
|
||||
|
||||
## License
|
||||
|
||||
**MIT License**
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 292 KiB |
@ -174,7 +174,7 @@ the Material theme and recompile it. This is fairly easy.
|
||||
|
||||
[5]: https://webpack.js.org/
|
||||
[6]: https://babeljs.io
|
||||
[7]: http://sass-lang.com
|
||||
[7]: https://sass-lang.com
|
||||
|
||||
### Environment setup
|
||||
|
||||
|
@ -11,7 +11,7 @@ executed during compilation of the Markdown file.
|
||||
[Docker image][3] with all dependencies pre-installed.
|
||||
|
||||
[1]: https://python-markdown.github.io/extensions/code_hilite/
|
||||
[2]: http://pygments.org
|
||||
[2]: https://pygments.org
|
||||
[3]: https://hub.docker.com/r/squidfunk/mkdocs-material/
|
||||
|
||||
## Installation
|
||||
|
@ -5,7 +5,7 @@ great features to the standard Markdown library. For this reason, the
|
||||
**installation of this package is highly recommended** as it's well-integrated
|
||||
with the Material theme.
|
||||
|
||||
[1]: http://facelessuser.github.io/pymdown-extensions/
|
||||
[1]: https://facelessuser.github.io/pymdown-extensions/
|
||||
|
||||
## Installation
|
||||
|
||||
@ -95,7 +95,7 @@ extra_javascript:
|
||||
|
||||
[2]: https://facelessuser.github.io/pymdown-extensions/extensions/arithmatex/
|
||||
[3]: https://www.mathjax.org/
|
||||
[4]: http://meta.math.stackexchange.com/questions/5020/
|
||||
[4]: https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference
|
||||
[5]: ../customization.md#additional-javascript
|
||||
|
||||
#### Blocks
|
||||
@ -183,69 +183,89 @@ all Admonition qualifiers can be used, e.g. `note`, `question`, `warning` etc.:
|
||||
### Emoji
|
||||
|
||||
[Emoji][13] adds the ability to insert a :shit:-load of emojis that we use in
|
||||
our daily lives. See the [EmojiOne demo][14] for a list of all available
|
||||
emojis. Happy scrolling :tada:
|
||||
our daily lives.
|
||||
|
||||
By default, [Emoji][13] uses JoyPixles' emoji under the former name EmojiOne.
|
||||
Recent versions of the extension lock support to an older version (2.2.7) due
|
||||
to JoyPixels' newer, less permissible licenses included in later releases. This
|
||||
restricts support to Unicode 9. To get the latest support for the current
|
||||
Unicode version, you can use Twemoji instead which has a much more permissable
|
||||
license. Simply override the default emoji index being used:
|
||||
|
||||
```yml
|
||||
markdown_extensions:
|
||||
- pymdownx.emoji:
|
||||
emoji_index: !!python/name:pymdownx.emoji.twemoji
|
||||
emoji_generator: !!python/name:pymdownx.emoji.to_svg
|
||||
```
|
||||
|
||||
To view all the available short names and emoji available, see [Emoji's documentation][18]
|
||||
on your chosen index which includes links to the files containing the short names
|
||||
and emoji associated with each supported index. Happy scrolling :tada:.
|
||||
|
||||
!!! warning "Legal disclaimer"
|
||||
|
||||
Material has no affiliation with [EmojiOne][15] which is released under
|
||||
[CC BY 4.0][16]. When including EmojiOne images or CSS, please read the
|
||||
[EmojiOne license][17] to ensure proper usage and attribution.
|
||||
Material has no affiliation with [JoyPixles][15] or [Twemoji][14], both
|
||||
of which use releases that are under [CC BY 4.0][16]. When including
|
||||
images or CSS from either provider, please read the the respective
|
||||
licenses: [EmojiOne][17] or [Twemoji][14] to ensure proper usage and
|
||||
attribution.
|
||||
|
||||
[13]: https://facelessuser.github.io/pymdown-extensions/extensions/emoji/
|
||||
[14]: https://emoji.codes/
|
||||
[15]: http://emojione.com
|
||||
[14]: https://twemoji.twitter.com/
|
||||
[15]: https://www.joypixels.com/
|
||||
[16]: https://creativecommons.org/licenses/by/4.0/legalcode
|
||||
[17]: http://emojione.com/licensing/
|
||||
[17]: https://github.com/joypixels/emojione#emojione-version-2
|
||||
[18]: https://facelessuser.github.io/pymdown-extensions/extensions/emoji/#default-emoji-indexes
|
||||
|
||||
### InlineHilite
|
||||
|
||||
[InlineHilite][18] adds support for inline code highlighting. It's useful for
|
||||
[InlineHilite][19] adds support for inline code highlighting. It's useful for
|
||||
short snippets included within body copy, e.g. `#!js var test = 0;` and can be
|
||||
achieved by prefixing inline code with a shebang and language identifier,
|
||||
e.g. `#!js`.
|
||||
|
||||
[18]: https://facelessuser.github.io/pymdown-extensions/extensions/inlinehilite/
|
||||
[19]: https://facelessuser.github.io/pymdown-extensions/extensions/inlinehilite/
|
||||
|
||||
### MagicLink
|
||||
|
||||
[MagicLink][19] detects links in Markdown and auto-generates the necessary
|
||||
[MagicLink][20] detects links in Markdown and auto-generates the necessary
|
||||
markup, so no special syntax is required. It auto-links `http[s]://` and
|
||||
`ftp://` links, as well as references to email addresses.
|
||||
|
||||
[19]: https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/
|
||||
[20]: https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/
|
||||
|
||||
### Mark
|
||||
|
||||
[Mark][20] adds the ability to ==highlight text== like it was marked with a
|
||||
[Mark][21] adds the ability to ==highlight text== like it was marked with a
|
||||
==text marker==. The portion of text that should be highlighted must be
|
||||
enclosed in two equal signs `==...==`.
|
||||
|
||||
[20]: https://facelessuser.github.io/pymdown-extensions/extensions/mark/
|
||||
[21]: https://facelessuser.github.io/pymdown-extensions/extensions/mark/
|
||||
|
||||
### SmartSymbols
|
||||
|
||||
[SmartSymbols][21] converts markup for special characters into their
|
||||
[SmartSymbols][22] converts markup for special characters into their
|
||||
corresponding symbols, e.g. arrows (<--, -->, <-->), trademark and copyright
|
||||
symbols ((c), (tm), (r)) and fractions (1/2, 1/4, ...).
|
||||
|
||||
[21]: https://facelessuser.github.io/pymdown-extensions/extensions/smartsymbols/
|
||||
[22]: https://facelessuser.github.io/pymdown-extensions/extensions/smartsymbols/
|
||||
|
||||
### SuperFences
|
||||
|
||||
[SuperFences][22] provides the ability to nest code blocks under blockquotes,
|
||||
lists and other block elements, which the [Fenced Code Blocks][23] extension
|
||||
[SuperFences][23] provides the ability to nest code blocks under blockquotes,
|
||||
lists and other block elements, which the [Fenced Code Blocks][24] extension
|
||||
from the standard Markdown library doesn't parse correctly.
|
||||
|
||||
SuperFences does also allow [grouping code blocks with tabs][24].
|
||||
SuperFences does also allow [grouping code blocks with tabs][25].
|
||||
|
||||
[22]: https://facelessuser.github.io/pymdown-extensions/extensions/superfences/
|
||||
[23]: https://python-markdown.github.io/extensions/fenced_code_blocks/
|
||||
[24]: codehilite.md#grouping-code-blocks
|
||||
[23]: https://facelessuser.github.io/pymdown-extensions/extensions/superfences/
|
||||
[24]: https://python-markdown.github.io/extensions/fenced_code_blocks/
|
||||
[25]: codehilite.md#grouping-code-blocks
|
||||
|
||||
### Tasklist
|
||||
|
||||
[Tasklist][25] adds support for styled checkbox lists. This is useful for
|
||||
[Tasklist][26] adds support for styled checkbox lists. This is useful for
|
||||
keeping track of tasks and showing what has been done and has yet to be done.
|
||||
Checkbox lists are like regular lists, but prefixed with `[ ]` for empty or
|
||||
`[x]` for filled checkboxes.
|
||||
@ -278,12 +298,12 @@ Result:
|
||||
* [ ] Aenean pretium efficitur erat, donec pharetra, ligula non scelerisque
|
||||
* [ ] Nulla vel eros venenatis, imperdiet enim id, faucibus nisi
|
||||
|
||||
[25]: https://facelessuser.github.io/pymdown-extensions/extensions/tasklist/
|
||||
[26]: https://facelessuser.github.io/pymdown-extensions/extensions/tasklist/
|
||||
|
||||
### Tilde
|
||||
|
||||
[Tilde][26] provides an easy way to ~~strike through~~ cross out text.
|
||||
[Tilde][27] provides an easy way to ~~strike through~~ cross out text.
|
||||
The portion of text that should be erased must be enclosed in two tildes
|
||||
`~~...~~` and the extension will take care of the rest.
|
||||
|
||||
[26]: https://facelessuser.github.io/pymdown-extensions/extensions/tilde/
|
||||
[27]: https://facelessuser.github.io/pymdown-extensions/extensions/tilde/
|
||||
|
65
docs/extensions/revision-date.md
Normal file
65
docs/extensions/revision-date.md
Normal file
@ -0,0 +1,65 @@
|
||||
# Revision date
|
||||
|
||||
[mkdocs-git-revision-date-localized-plugin][1] is an extension that shows the
|
||||
date on which a Markdown file was last updated in _Git_ at the bottom of each
|
||||
page. The date is extracted at the time of the build, so `mkdocs build` must
|
||||
be triggered from within a Git repository.
|
||||
|
||||
[1]: https://github.com/timvink/mkdocs-git-revision-date-localized-plugin
|
||||
|
||||
## Installation
|
||||
|
||||
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
|
||||
plugins:
|
||||
- git-revision-date-localized
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
The date is automatically added at the bottom of each page, e.g.:
|
||||
|
||||
```
|
||||
Last updated: 9 December, 2019
|
||||
```
|
||||
|
||||
### Changing the language
|
||||
|
||||
The date is printed according to the locale which is determined through the
|
||||
[theme language][2] that was set in `mkdocs.yml`.
|
||||
|
||||
[2]: https://squidfunk.github.io/mkdocs-material/getting-started/#language
|
||||
|
||||
### Changing the format
|
||||
|
||||
To change the date format, set the `type` parameter to one of `date`,
|
||||
`datetime`, `iso_date`, `iso_datetime` or `timeago`, i.e.:
|
||||
|
||||
``` gnuplot
|
||||
28 November, 2019 # type: date
|
||||
28 November, 2019 13:57:28 # type: datetime
|
||||
2019-11-28 # type: iso_date
|
||||
2019-11-28 13:57:26 # type: iso_datetime
|
||||
20 hours ago # type: timeago
|
||||
```
|
||||
|
||||
Example:
|
||||
|
||||
``` yaml
|
||||
plugins:
|
||||
- git-revision-date-localized:
|
||||
type: timeago
|
||||
```
|
||||
|
||||
Result:
|
||||
|
||||
```
|
||||
20 hours ago
|
||||
```
|
@ -10,19 +10,19 @@ good to go with the following commands:
|
||||
|
||||
``` sh
|
||||
python --version
|
||||
# Python 2.7.13
|
||||
# Python 3.8.0
|
||||
pip --version
|
||||
# pip 9.0.1
|
||||
# pip 19.3.1
|
||||
```
|
||||
|
||||
Installing and verifying MkDocs is as simple as:
|
||||
|
||||
``` sh
|
||||
pip install mkdocs && mkdocs --version
|
||||
# mkdocs, version 0.17.1
|
||||
# mkdocs, version 1.0.4
|
||||
```
|
||||
|
||||
Material requires MkDocs >= 0.17.1.
|
||||
Material requires MkDocs >= 1.0.0.
|
||||
|
||||
[1]: https://www.mkdocs.org
|
||||
|
||||
@ -301,7 +301,7 @@ theme:
|
||||
!!! info "Call for Contributions: Add languages/translations to Material"
|
||||
|
||||
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
|
||||
|
||||
@ -327,57 +327,61 @@ translations for all template variables and labels in the following languages:
|
||||
<td><code>da</code> / Danish</td>
|
||||
<td><code>nl</code> / Dutch</td>
|
||||
<td><code>en</code> / English</td>
|
||||
<td><code>fi</code> / Finnish</td>
|
||||
<td><code>et</code> / Estonian</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>fi</code> / Finnish</td>
|
||||
<td><code>fr</code> / French</td>
|
||||
<td><code>gl</code> / Galician</td>
|
||||
<td><code>de</code> / German</td>
|
||||
<td><code>gr</code> / Greek</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>gr</code> / Greek</td>
|
||||
<td><code>he</code> / Hebrew</td>
|
||||
<td><code>hi</code> / Hindi</td>
|
||||
<td><code>hr</code> / Croatian</td>
|
||||
<td><code>hu</code> / Hungarian</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>hu</code> / Hungarian</td>
|
||||
<td><code>id</code> / Indonesian</td>
|
||||
<td><code>it</code> / Italian</td>
|
||||
<td><code>ja</code> / Japanese</td>
|
||||
<td><code>kr</code> / Korean</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>kr</code> / Korean</td>
|
||||
<td><code>no</code> / Norwegian</td>
|
||||
<td colspan="2"><code>nn</code> / Norwegian (Nynorsk)</td>
|
||||
<td><code>fa</code> / Persian</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>fa</code> / Persian</td>
|
||||
<td><code>pl</code> / Polish</td>
|
||||
<td><code>pt</code> / Portugese</td>
|
||||
<td><code>ru</code> / Russian</td>
|
||||
<td><code>sr</code> / Serbian</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>sr</code> / Serbian</td>
|
||||
<td><code>sh</code> / Serbo-Croatian</td>
|
||||
<td><code>sk</code> / Slovak</td>
|
||||
<td><code>si</code> / Slovenian</td>
|
||||
<td><code>es</code> / Spanish</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>es</code> / Spanish</td>
|
||||
<td><code>sv</code> / Swedish</td>
|
||||
<td><code>th</code> / Thai</td>
|
||||
<td><code>tr</code> / Turkish</td>
|
||||
</tr>
|
||||
<td><code>uk</code> / Ukrainian</td>
|
||||
<td><code>vi</code> / Vietnamese</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><code>zh</code> / Chinese (Simplified)</td>
|
||||
<td colspan="2"><code>zh-Hant</code> / Chinese (Traditional)</td>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><code>zh-Hant</code> / Chinese (Traditional)</td>
|
||||
<td colspan="2"><code>zh-TW</code> / Chinese (Taiwanese)</td>
|
||||
<td colspan="2" align="right">
|
||||
<a href="http://bit.ly/2EbzFc8">Submit a new language</a>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4" align="right">
|
||||
<a href="https://github.com/squidfunk/mkdocs-material/issues/new?template=translate.md">Submit a new language</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -29,7 +29,7 @@ theme:
|
||||
## What to expect
|
||||
|
||||
* Responsive design and fluid layout for all kinds of screens and devices,
|
||||
designed to serve your project documentation in a user-friendly way in 38
|
||||
designed to serve your project documentation in a user-friendly way in 40
|
||||
languages with optimal readability.
|
||||
|
||||
* Easily customizable primary and accent color, fonts, favicon and logo;
|
||||
|
@ -64,6 +64,34 @@ pip show mkdocs-material
|
||||
|
||||
## Changelog
|
||||
|
||||
### 4.6.0 <small>_ December 11, 2019</small>
|
||||
|
||||
* Added support for [mkdocs-git-revision-date-localized-plugin][3]
|
||||
* Fixed invalid character in Google Fonts URL
|
||||
|
||||
[3]: https://github.com/timvink/mkdocs-git-revision-date-localized-plugin
|
||||
|
||||
### 4.5.1 <small>_ December 2, 2019</small>
|
||||
|
||||
* Added Thai translations
|
||||
* Fixed missing assets in GitHub release `.zip` and `.tar.gz`
|
||||
|
||||
### 4.5.0 <small>_ November 16, 2019</small>
|
||||
|
||||
* Upgraded EmojiOne to Tweomji due to [licensing issues][1330]
|
||||
* Temporarily pinned PyMdown and Markdown due to [upcoming changes][1339]
|
||||
* Improved GitHub statistics retrieval
|
||||
* Fixed errors in Greek translations
|
||||
|
||||
[1330]: https://github.com/squidfunk/mkdocs-material/pull/1330
|
||||
[1339]: https://github.com/squidfunk/mkdocs-material/pull/1339
|
||||
|
||||
### 4.4.3 <small>_ October 3, 2019</small>
|
||||
|
||||
* Added Estonian translations
|
||||
* Fixed removal of copyright banners in minified JavaScript
|
||||
* Removed unnecessary title attributes from links in table of contents
|
||||
|
||||
### 4.4.2 <small>_ August 27, 2019</small>
|
||||
|
||||
* Added Afrikaans translations
|
||||
|
@ -1961,7 +1961,9 @@ hr {
|
||||
right: initial;
|
||||
left: 0.6rem; }
|
||||
|
||||
.md-typeset .emojione {
|
||||
.md-typeset .emojione,
|
||||
.md-typeset .twemoji,
|
||||
.md-typeset .gemoji {
|
||||
width: 1rem;
|
||||
vertical-align: text-top; }
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
2
material/assets/stylesheets/app.min.css
vendored
2
material/assets/stylesheets/app.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -31,7 +31,7 @@
|
||||
<meta name="author" content="{{ config.site_author }}">
|
||||
{% endif %}
|
||||
<link rel="shortcut icon" href="{{ config.theme.favicon | url }}">
|
||||
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-4.4.2">
|
||||
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-4.6.0">
|
||||
{% endblock %}
|
||||
{% block htmltitle %}
|
||||
{% if page and page.meta and page.meta.title %}
|
||||
@ -60,7 +60,7 @@
|
||||
{% if font != false %}
|
||||
<link href="https://fonts.gstatic.com" rel="preconnect" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family={{
|
||||
font.text | replace(' ', '+') + ':300,400,400i,700|' +
|
||||
font.text | replace(' ', '+') + ':300,400,400i,700%7C' +
|
||||
font.code | replace(' ', '+')
|
||||
}}&display=fallback">
|
||||
<style>body,input{font-family:"{{ font.text }}","Helvetica Neue",Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"{{ font.code }}","Courier New",Courier,monospace}</style>
|
||||
@ -168,6 +168,22 @@
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% if page and page.meta and (
|
||||
page.meta.git_revision_date_localized or
|
||||
page.meta.revision_date
|
||||
) %}
|
||||
{% set label = lang.t("source.revision.date") %}
|
||||
<hr>
|
||||
<div class="md-source-date">
|
||||
<small>
|
||||
{% if page.meta.git_revision_date_localized %}
|
||||
{{ label }}: {{ page.meta.git_revision_date_localized }}
|
||||
{% elif page.meta.revision_date %}
|
||||
{{ label }}: {{ page.meta.revision_date }}
|
||||
{% endif %}
|
||||
</small>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block disqus %}
|
||||
{% include "partials/integrations/disqus.html" %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "# ooreenstemmende dokumente",
|
||||
"skip.link.title": "Slaan oor na inhoud",
|
||||
"source.link.title": "Slaan oor na inhoud",
|
||||
"source.revision.date": "Laaste opdatering",
|
||||
"toc.title": "Inhoudsopgawe"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -21,5 +21,6 @@
|
||||
"search.result.other": "نتائج البحث # مستندات",
|
||||
"skip.link.title": "انتقل إلى المحتوى",
|
||||
"source.link.title": "اذهب إلى المصدر",
|
||||
"source.revision.date": "اخر تحديث",
|
||||
"toc.title": "جدول المحتويات"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "# documents coincidents",
|
||||
"skip.link.title": "Salta el contingut",
|
||||
"source.link.title": "Ves al repositori",
|
||||
"source.revision.date": "Darrera actualització",
|
||||
"toc.title": "Taula de continguts"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "Nalezené dokumenty: #",
|
||||
"skip.link.title": "Přeskočit obsah",
|
||||
"source.link.title": "Přejít do repozitáře",
|
||||
"source.revision.date": "Poslední aktualizace",
|
||||
"toc.title": "Obsah"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "# resultater",
|
||||
"skip.link.title": "Gå til indholdet",
|
||||
"source.link.title": "Åbn arkiv",
|
||||
"source.revision.date": "Sidste ændring",
|
||||
"toc.title": "Indholdsfortegnelse"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "# Suchergebnisse",
|
||||
"skip.link.title": "Zum Inhalt",
|
||||
"source.link.title": "Quellcode",
|
||||
"source.revision.date": "Letztes Update",
|
||||
"toc.title": "Inhaltsverzeichnis"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -22,5 +22,6 @@
|
||||
"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 %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "# documentos encontrados",
|
||||
"skip.link.title": "Saltar a contenido",
|
||||
"source.link.title": "Ir al repositorio",
|
||||
"source.revision.date": "Última actualización",
|
||||
"toc.title": "Tabla de contenidos"
|
||||
}[key] }}{% endmacro %}
|
||||
|
25
material/partials/language/et.html
Normal file
25
material/partials/language/et.html
Normal file
@ -0,0 +1,25 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "et",
|
||||
"clipboard.copy": "Kopeeri lõikelauale",
|
||||
"clipboard.copied": "Kopeeritud",
|
||||
"edit.link.title": "Muuda seda lehte",
|
||||
"footer.previous": "Eelmine",
|
||||
"footer.next": "Järgmine",
|
||||
"meta.comments": "Kommentaarid",
|
||||
"meta.source": "Lähtekood",
|
||||
"search.language": "",
|
||||
"search.pipeline.stopwords": false,
|
||||
"search.pipeline.trimmer": false,
|
||||
"search.placeholder": "Otsi",
|
||||
"search.result.placeholder": "Otsimiseks kirjuta siia",
|
||||
"search.result.none": "Otsingule ei leitud ühtegi vastet",
|
||||
"search.result.one": "Leiti üks tulemus",
|
||||
"search.result.other": "Leiti # tulemust",
|
||||
"skip.link.title": "Keri sisuni",
|
||||
"source.link.title": "Ava repositooriumis",
|
||||
"source.revision.date": "Viimane uuendus",
|
||||
"toc.title": "Sisukord"
|
||||
}[key] }}{% endmacro %}
|
@ -21,5 +21,6 @@
|
||||
"search.result.other": "# سند یافت شد",
|
||||
"skip.link.title": "پرش به محتویات",
|
||||
"source.link.title": "رفتن به مخزن",
|
||||
"source.revision.date": "اخرین بروزرسانی",
|
||||
"toc.title": "فهرست موضوعات"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "# täsmäävää dokumenttia",
|
||||
"skip.link.title": "Hyppää sisältöön",
|
||||
"source.link.title": "Mene repositoryyn",
|
||||
"source.revision.date": "Viimeisin päivitys",
|
||||
"toc.title": "Sisällysluettelo"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -17,5 +17,6 @@
|
||||
"search.result.one": "1 document trouvé",
|
||||
"search.result.other": "# documents trouvés",
|
||||
"source.link.title": "Aller au dépôt",
|
||||
"source.revision.date": "Dernière mise à jour",
|
||||
"toc.title": "Table des matières"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "# resultados atopados",
|
||||
"skip.link.title": "Ir ao contido",
|
||||
"source.link.title": "Ir ao repositorio",
|
||||
"source.revision.date": "Última actualización",
|
||||
"toc.title": "Táboa de contidos"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -20,5 +20,6 @@
|
||||
"search.result.other": "# αντίστοιχα αρχεία",
|
||||
"skip.link.title": "Μετάβαση στο περιεχόμενο",
|
||||
"source.link.title": "Μετάβαση στο αποθετήριο",
|
||||
"source.revision.date": "τελευταία ενημέρωση",
|
||||
"toc.title": "Πίνακας περιεχομένων"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -21,5 +21,6 @@
|
||||
"search.result.other": "# מסמך תואם",
|
||||
"skip.link.title": "דלג לתוכן",
|
||||
"source.link.title": "עבור אל מאגר",
|
||||
"source.revision.date": "העדכון אחרון",
|
||||
"toc.title": "תוכן העניינים"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -20,5 +20,6 @@
|
||||
"search.result.other": "# मिलान डाक्यूमेंट्स",
|
||||
"skip.link.title": "विषय पर बढ़ें",
|
||||
"source.link.title": "रिपॉजिटरी पर जाएं",
|
||||
"source.revision.date": "आखिरी अपडेट",
|
||||
"toc.title": "विषय - सूची"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -20,5 +20,6 @@
|
||||
"search.result.other": "# rezultata pretraživanja",
|
||||
"skip.link.title": "Preskočite na sadržaj",
|
||||
"source.link.title": "Idite u repozitorij",
|
||||
"source.revision.date": "Zadnje ažuriranje",
|
||||
"toc.title": "Sadržaj"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "# egyező dokumentum",
|
||||
"skip.link.title": "Kihagyás",
|
||||
"source.link.title": "Főoldalra ugrás",
|
||||
"source.revision.date": "Utolsó frissítés",
|
||||
"toc.title": "Tartalomjegyzék"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -20,5 +20,6 @@
|
||||
"search.result.other": "# dokumen ditemukan",
|
||||
"skip.link.title": "Lewati ke isi",
|
||||
"source.link.title": "Menuju repositori",
|
||||
"source.revision.date": "Pembaharuan Terakhir",
|
||||
"toc.title": "Daftar isi"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "# documenti trovati",
|
||||
"skip.link.title": "Vai al contenuto",
|
||||
"source.link.title": "Apri repository",
|
||||
"source.revision.date": "Ultimo aggiornamento",
|
||||
"toc.title": "Indice"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "#件見つかりました",
|
||||
"search.tokenizer": "[\s\- 、。,.]+",
|
||||
"source.link.title": "リポジトリへ",
|
||||
"source.revision.date": "最後の更新",
|
||||
"toc.title": "目次"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -17,5 +17,6 @@
|
||||
"search.result.one": "1개의 일치하는 문서",
|
||||
"search.result.other": "#개의 일치하는 문서",
|
||||
"source.link.title": "저장소로 이동",
|
||||
"source.revision.date": "마지막 업데이트",
|
||||
"toc.title": "목차"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "# overeenkomende documenten",
|
||||
"skip.link.title": "Ga naar inhoud",
|
||||
"source.link.title": "Ga naar repository",
|
||||
"source.revision.date": "Laatst geüpdatet op",
|
||||
"toc.title": "Inhoudsopgave"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "# treff",
|
||||
"skip.link.title": "Gå til innhald",
|
||||
"source.link.title": "Gå til kjelde",
|
||||
"source.revision.date": "Siste oppdatering",
|
||||
"toc.title": "Innhaldsliste"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "# treff",
|
||||
"skip.link.title": "Gå til innhold",
|
||||
"source.link.title": "Gå til kilde",
|
||||
"source.revision.date": "Siste oppdatering",
|
||||
"toc.title": "Innholdsfortegnelse"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -20,5 +20,6 @@
|
||||
"search.result.other": "Wyniki wyszukiwania: #",
|
||||
"skip.link.title": "Przejdź do treści",
|
||||
"source.link.title": "Idź do repozytorium",
|
||||
"source.revision.date": "Ostatnia aktualizacja",
|
||||
"toc.title": "Spis treści"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "# resultados encontrados",
|
||||
"skip.link.title": "Ir para o conteúdo",
|
||||
"source.link.title": "Ir ao repositório",
|
||||
"source.revision.date": "Última atualização",
|
||||
"toc.title": "Índice"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "Найдено # совпадений",
|
||||
"skip.link.title": "Перейти к содержанию",
|
||||
"source.link.title": "Перейти к репозиторию",
|
||||
"source.revision.date": "Последнее обновление",
|
||||
"toc.title": "Содержание"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "# zadetkov",
|
||||
"skip.link.title": "Skoči na vsebino",
|
||||
"source.link.title": "Pojdi na repozitorij",
|
||||
"source.revision.date": "Zadnja posodobitev",
|
||||
"toc.title": "Kazalo"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "Vyhovujúce dokumenty: #",
|
||||
"skip.link.title": "Preskočiť na obsah",
|
||||
"source.link.title": "Zobraziť repozitár",
|
||||
"source.revision.date": "Posledná aktualizácia",
|
||||
"toc.title": "Obsah"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -20,5 +20,6 @@
|
||||
"search.result.other": "# резултата претраге",
|
||||
"skip.link.title": "Иди на текст",
|
||||
"source.link.title": "Иди у репозиторијум",
|
||||
"source.revision.date": "Последња исправка",
|
||||
"toc.title": "Садржај"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "# sökresultat",
|
||||
"skip.link.title": "Gå till innehållet",
|
||||
"source.link.title": "Gå till datakatalog",
|
||||
"source.revision.date": "Senaste uppdateringen",
|
||||
"toc.title": "Innehållsförteckning"
|
||||
}[key] }}{% endmacro %}
|
||||
|
23
material/partials/language/th.html
Normal file
23
material/partials/language/th.html
Normal file
@ -0,0 +1,23 @@
|
||||
{#-
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "th",
|
||||
"clipboard.copy": "คัดลอก",
|
||||
"clipboard.copied": "คัดลอกแล้ว",
|
||||
"edit.link.title": "แก้ไขหน้านี้",
|
||||
"footer.previous": "ก่อนหน้า",
|
||||
"footer.next": "ต่อไป",
|
||||
"meta.comments": "ความคิดเห็น",
|
||||
"meta.source": "แหล่งที่มา",
|
||||
"search.language": "th",
|
||||
"search.placeholder": "ค้นหา",
|
||||
"search.result.placeholder": "พิมพ์เพื่อเริ่มค้นหา",
|
||||
"search.result.none": "ไม่พบเอกสารที่ตรงกัน",
|
||||
"search.result.one": "พบเอกสารที่ตรงกัน",
|
||||
"search.result.other": "พบ # เอกสารที่ตรงกัน",
|
||||
"search.tokenizer": "[\s\-]+",
|
||||
"skip.link.title": "ข้ามไปที่เนื้อหา",
|
||||
"source.link.title": "ไปที่ Repository",
|
||||
"toc.title": "สารบัญ"
|
||||
}[key] }}{% endmacro %}
|
@ -17,5 +17,6 @@
|
||||
"search.result.one": "1 doküman bulundu",
|
||||
"search.result.other": "# doküman bulundu",
|
||||
"source.link.title": "Depoya git",
|
||||
"source.revision.date": "Son Güncelleme",
|
||||
"toc.title": "İçindekiler"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -18,5 +18,6 @@
|
||||
"search.result.other": "Знайдено # збігів",
|
||||
"skip.link.title": "Перейти до змісту",
|
||||
"source.link.title": "Перейти до репозиторію",
|
||||
"source.revision.date": "Останнє оновлення",
|
||||
"toc.title": "Зміст"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -17,5 +17,6 @@
|
||||
"search.result.other": "# tài liệu liên quan",
|
||||
"skip.link.title": "Vào thẳng nội dung",
|
||||
"source.link.title": "Đến kho lưu trữ mã nguồn",
|
||||
"source.revision.date": "Cập nhật cuối cùng",
|
||||
"toc.title": "Mục lục"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -19,5 +19,6 @@
|
||||
"search.tokenizer": "[\,\。]+",
|
||||
"skip.link.title": "跳轉至",
|
||||
"source.link.title": "前往 Github 倉庫",
|
||||
"source.revision.date": "最後更新",
|
||||
"toc.title": "目錄"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -19,5 +19,6 @@
|
||||
"search.tokenizer": "[\,\。]+",
|
||||
"skip.link.title": "跳转至",
|
||||
"source.link.title": "前往 Github 仓库",
|
||||
"source.revision.date": "最后更新",
|
||||
"toc.title": "目录"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -75,7 +75,7 @@ extra:
|
||||
- type: twitter
|
||||
link: https://twitter.com/squidfunk
|
||||
- type: linkedin
|
||||
link: https://linkedin.com/in/squidfunk
|
||||
link: https://www.linkedin.com/in/squidfunk/
|
||||
|
||||
# Extensions
|
||||
markdown_extensions:
|
||||
@ -94,6 +94,7 @@ markdown_extensions:
|
||||
- pymdownx.critic
|
||||
- pymdownx.details
|
||||
- pymdownx.emoji:
|
||||
emoji_index: !!python/name:pymdownx.emoji.twemoji
|
||||
emoji_generator: !!python/name:pymdownx.emoji.to_svg
|
||||
- pymdownx.inlinehilite
|
||||
- pymdownx.keys
|
||||
@ -119,6 +120,7 @@ nav:
|
||||
- Metadata: extensions/metadata.md
|
||||
- Permalinks: extensions/permalinks.md
|
||||
- PyMdown: extensions/pymdown.md
|
||||
- Revision date: extensions/revision-date.md
|
||||
- Specimen: specimen.md
|
||||
- Customization: customization.md
|
||||
- Compliance with GDPR: compliance.md
|
||||
|
200
package-lock.json
generated
200
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mkdocs-material",
|
||||
"version": "4.4.2",
|
||||
"version": "4.6.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
@ -3077,24 +3077,28 @@
|
||||
"dependencies": {
|
||||
"abbrev": {
|
||||
"version": "1.1.1",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
|
||||
"integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"ansi-regex": {
|
||||
"version": "2.1.1",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
|
||||
"integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
|
||||
"dev": true
|
||||
},
|
||||
"aproba": {
|
||||
"version": "1.2.0",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz",
|
||||
"integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"are-we-there-yet": {
|
||||
"version": "1.1.5",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz",
|
||||
"integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3104,12 +3108,14 @@
|
||||
},
|
||||
"balanced-match": {
|
||||
"version": "1.0.0",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
|
||||
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
|
||||
"dev": true
|
||||
},
|
||||
"brace-expansion": {
|
||||
"version": "1.1.11",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
|
||||
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"balanced-match": "^1.0.0",
|
||||
@ -3118,34 +3124,40 @@
|
||||
},
|
||||
"chownr": {
|
||||
"version": "1.1.1",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz",
|
||||
"integrity": "sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"code-point-at": {
|
||||
"version": "1.1.0",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",
|
||||
"integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
|
||||
"dev": true
|
||||
},
|
||||
"concat-map": {
|
||||
"version": "0.0.1",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
||||
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
|
||||
"dev": true
|
||||
},
|
||||
"console-control-strings": {
|
||||
"version": "1.1.0",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",
|
||||
"integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=",
|
||||
"dev": true
|
||||
},
|
||||
"core-util-is": {
|
||||
"version": "1.0.2",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
|
||||
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"debug": {
|
||||
"version": "4.1.1",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
|
||||
"integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3154,25 +3166,29 @@
|
||||
},
|
||||
"deep-extend": {
|
||||
"version": "0.6.0",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",
|
||||
"integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"delegates": {
|
||||
"version": "1.0.0",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
|
||||
"integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"detect-libc": {
|
||||
"version": "1.0.3",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz",
|
||||
"integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"fs-minipass": {
|
||||
"version": "1.2.5",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.5.tgz",
|
||||
"integrity": "sha512-JhBl0skXjUPCFH7x6x61gQxrKyXsxB5gcgePLZCwfyCGGsTISMoIeObbrvVeP6Xmyaudw4TT43qV2Gz+iyd2oQ==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3181,13 +3197,15 @@
|
||||
},
|
||||
"fs.realpath": {
|
||||
"version": "1.0.0",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
||||
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"gauge": {
|
||||
"version": "2.7.4",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz",
|
||||
"integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3203,7 +3221,8 @@
|
||||
},
|
||||
"glob": {
|
||||
"version": "7.1.3",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz",
|
||||
"integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3217,13 +3236,15 @@
|
||||
},
|
||||
"has-unicode": {
|
||||
"version": "2.0.1",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
|
||||
"integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"iconv-lite": {
|
||||
"version": "0.4.24",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
|
||||
"integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3232,7 +3253,8 @@
|
||||
},
|
||||
"ignore-walk": {
|
||||
"version": "3.0.1",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.1.tgz",
|
||||
"integrity": "sha512-DTVlMx3IYPe0/JJcYP7Gxg7ttZZu3IInhuEhbchuqneY9wWe5Ojy2mXLBaQFUQmo0AW2r3qG7m1mg86js+gnlQ==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3241,7 +3263,8 @@
|
||||
},
|
||||
"inflight": {
|
||||
"version": "1.0.6",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
|
||||
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3251,18 +3274,21 @@
|
||||
},
|
||||
"inherits": {
|
||||
"version": "2.0.3",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
|
||||
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
|
||||
"dev": true
|
||||
},
|
||||
"ini": {
|
||||
"version": "1.3.5",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz",
|
||||
"integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"is-fullwidth-code-point": {
|
||||
"version": "1.0.0",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
|
||||
"integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"number-is-nan": "^1.0.0"
|
||||
@ -3270,13 +3296,15 @@
|
||||
},
|
||||
"isarray": {
|
||||
"version": "1.0.0",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
|
||||
"integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"minimatch": {
|
||||
"version": "3.0.4",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
|
||||
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"brace-expansion": "^1.1.7"
|
||||
@ -3284,12 +3312,14 @@
|
||||
},
|
||||
"minimist": {
|
||||
"version": "0.0.8",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
|
||||
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
|
||||
"dev": true
|
||||
},
|
||||
"minipass": {
|
||||
"version": "2.3.5",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/minipass/-/minipass-2.3.5.tgz",
|
||||
"integrity": "sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"safe-buffer": "^5.1.2",
|
||||
@ -3298,7 +3328,8 @@
|
||||
},
|
||||
"minizlib": {
|
||||
"version": "1.2.1",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.2.1.tgz",
|
||||
"integrity": "sha512-7+4oTUOWKg7AuL3vloEWekXY2/D20cevzsrNT2kGWm+39J9hGTCBv8VI5Pm5lXZ/o3/mdR4f8rflAPhnQb8mPA==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3307,7 +3338,8 @@
|
||||
},
|
||||
"mkdirp": {
|
||||
"version": "0.5.1",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
|
||||
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"minimist": "0.0.8"
|
||||
@ -3315,13 +3347,15 @@
|
||||
},
|
||||
"ms": {
|
||||
"version": "2.1.1",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
|
||||
"integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"needle": {
|
||||
"version": "2.3.0",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/needle/-/needle-2.3.0.tgz",
|
||||
"integrity": "sha512-QBZu7aAFR0522EyaXZM0FZ9GLpq6lvQ3uq8gteiDUp7wKdy0lSd2hPlgFwVuW1CBkfEs9PfDQsQzZghLs/psdg==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3332,7 +3366,8 @@
|
||||
},
|
||||
"node-pre-gyp": {
|
||||
"version": "0.12.0",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.12.0.tgz",
|
||||
"integrity": "sha512-4KghwV8vH5k+g2ylT+sLTjy5wmUOb9vPhnM8NHvRf9dHmnW/CndrFXy2aRPaPST6dugXSdHXfeaHQm77PIz/1A==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3350,7 +3385,8 @@
|
||||
},
|
||||
"nopt": {
|
||||
"version": "4.0.1",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz",
|
||||
"integrity": "sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3360,13 +3396,15 @@
|
||||
},
|
||||
"npm-bundled": {
|
||||
"version": "1.0.6",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.6.tgz",
|
||||
"integrity": "sha512-8/JCaftHwbd//k6y2rEWp6k1wxVfpFzB6t1p825+cUb7Ym2XQfhwIC5KwhrvzZRJu+LtDE585zVaS32+CGtf0g==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"npm-packlist": {
|
||||
"version": "1.4.1",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.1.tgz",
|
||||
"integrity": "sha512-+TcdO7HJJ8peiiYhvPxsEDhF3PJFGUGRcFsGve3vxvxdcpO2Z4Z7rkosRM0kWj6LfbK/P0gu3dzk5RU1ffvFcw==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3376,7 +3414,8 @@
|
||||
},
|
||||
"npmlog": {
|
||||
"version": "4.1.2",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz",
|
||||
"integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3388,18 +3427,21 @@
|
||||
},
|
||||
"number-is-nan": {
|
||||
"version": "1.0.1",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
|
||||
"integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",
|
||||
"dev": true
|
||||
},
|
||||
"object-assign": {
|
||||
"version": "4.1.1",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
|
||||
"integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"once": {
|
||||
"version": "1.4.0",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
||||
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"wrappy": "1"
|
||||
@ -3407,19 +3449,22 @@
|
||||
},
|
||||
"os-homedir": {
|
||||
"version": "1.0.2",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
|
||||
"integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"os-tmpdir": {
|
||||
"version": "1.0.2",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
|
||||
"integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"osenv": {
|
||||
"version": "0.1.5",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
|
||||
"integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3429,19 +3474,22 @@
|
||||
},
|
||||
"path-is-absolute": {
|
||||
"version": "1.0.1",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
|
||||
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"process-nextick-args": {
|
||||
"version": "2.0.0",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz",
|
||||
"integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"rc": {
|
||||
"version": "1.2.8",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",
|
||||
"integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3453,7 +3501,8 @@
|
||||
"dependencies": {
|
||||
"minimist": {
|
||||
"version": "1.2.0",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
|
||||
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
}
|
||||
@ -3461,7 +3510,8 @@
|
||||
},
|
||||
"readable-stream": {
|
||||
"version": "2.3.6",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
|
||||
"integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3476,7 +3526,8 @@
|
||||
},
|
||||
"rimraf": {
|
||||
"version": "2.6.3",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
|
||||
"integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3485,42 +3536,49 @@
|
||||
},
|
||||
"safe-buffer": {
|
||||
"version": "5.1.2",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
|
||||
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
|
||||
"dev": true
|
||||
},
|
||||
"safer-buffer": {
|
||||
"version": "2.1.2",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
|
||||
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"sax": {
|
||||
"version": "1.2.4",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
|
||||
"integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"semver": {
|
||||
"version": "5.7.0",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz",
|
||||
"integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"set-blocking": {
|
||||
"version": "2.0.0",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
|
||||
"integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"signal-exit": {
|
||||
"version": "3.0.2",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
|
||||
"integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"string-width": {
|
||||
"version": "1.0.2",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
|
||||
"integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"code-point-at": "^1.0.0",
|
||||
@ -3530,7 +3588,8 @@
|
||||
},
|
||||
"string_decoder": {
|
||||
"version": "1.1.1",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
|
||||
"integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3539,7 +3598,8 @@
|
||||
},
|
||||
"strip-ansi": {
|
||||
"version": "3.0.1",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
|
||||
"integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-regex": "^2.0.0"
|
||||
@ -3547,13 +3607,15 @@
|
||||
},
|
||||
"strip-json-comments": {
|
||||
"version": "2.0.1",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
|
||||
"integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"tar": {
|
||||
"version": "4.4.8",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/tar/-/tar-4.4.8.tgz",
|
||||
"integrity": "sha512-LzHF64s5chPQQS0IYBn9IN5h3i98c12bo4NCO7e0sGM2llXQ3p2FGC5sdENN4cTW48O915Sh+x+EXx7XW96xYQ==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3568,13 +3630,15 @@
|
||||
},
|
||||
"util-deprecate": {
|
||||
"version": "1.0.2",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
||||
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"wide-align": {
|
||||
"version": "1.1.3",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz",
|
||||
"integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -3583,12 +3647,14 @@
|
||||
},
|
||||
"wrappy": {
|
||||
"version": "1.0.2",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
||||
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
|
||||
"dev": true
|
||||
},
|
||||
"yallist": {
|
||||
"version": "3.0.3",
|
||||
"bundled": true,
|
||||
"resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz",
|
||||
"integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mkdocs-material",
|
||||
"version": "4.4.2",
|
||||
"version": "4.6.0",
|
||||
"description": "A Material Design theme for MkDocs",
|
||||
"keywords": [
|
||||
"mkdocs",
|
||||
|
@ -22,4 +22,5 @@
|
||||
mkdocs>=1
|
||||
mkdocs-minify-plugin>=0.2
|
||||
Pygments>=2.2
|
||||
pymdown-extensions>=4.11
|
||||
markdown<3.2
|
||||
pymdown-extensions>=6.2,<6.3
|
||||
|
2
setup.py
2
setup.py
@ -38,7 +38,7 @@ with open("README.md", encoding = "utf-8") as data:
|
||||
|
||||
# Package description
|
||||
setup(
|
||||
name = package["name"],
|
||||
name = "mkdocs-material",
|
||||
version = package["version"],
|
||||
url = package["homepage"],
|
||||
license = package["license"],
|
||||
|
@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to
|
||||
* deal in the Software without restriction, including without limitation the
|
||||
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
* sell copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
import Abstract from "./Abstract"
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
* Class
|
||||
* ------------------------------------------------------------------------- */
|
||||
|
||||
export default class GitHub extends Abstract {
|
||||
|
||||
/**
|
||||
* Retrieve repository information from GitHub
|
||||
*
|
||||
* @constructor
|
||||
*
|
||||
* @property {string} name_ - Name of the repository
|
||||
*
|
||||
* @param {(string|HTMLAnchorElement)} el - Selector or HTML element
|
||||
*/
|
||||
constructor(el) {
|
||||
super(el)
|
||||
|
||||
/* Extract user (and repository name) from URL, as we have to query for all
|
||||
repositories, to omit 404 errors for private repositories */
|
||||
const matches = /^.+github\.com\/([^/]+)\/?([^/]+)?.*$/
|
||||
.exec(this.base_)
|
||||
if (matches && matches.length === 3) {
|
||||
const [, user, name] = matches
|
||||
|
||||
/* Initialize base URL and repository name */
|
||||
this.base_ = `https://api.github.com/users/${user}/repos`
|
||||
this.name_ = name
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Fetch relevant repository information from GitHub
|
||||
*
|
||||
* @return {Promise<Array<string>>} Promise returning an array of facts
|
||||
*/
|
||||
fetch_() {
|
||||
const paginate = (page = 0) => (
|
||||
fetch(`${this.base_}?per_page=100&sort=updated&page=${page}`)
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
if (!(data instanceof Array))
|
||||
return []
|
||||
|
||||
/* Display number of stars and forks, if repository is given */
|
||||
if (this.name_) {
|
||||
const repo = data.find(item => item.name === this.name_)
|
||||
if (!repo && data.length === 30)
|
||||
return paginate(page + 1)
|
||||
|
||||
/* If we found a repo, extract the facts */
|
||||
return repo
|
||||
? [
|
||||
`${this.format_(repo.stargazers_count)} Stars`,
|
||||
`${this.format_(repo.forks_count)} Forks`
|
||||
]
|
||||
: []
|
||||
|
||||
/* Display number of repositories, otherwise */
|
||||
} else {
|
||||
return [
|
||||
`${data.length} Repositories`
|
||||
]
|
||||
}
|
||||
})
|
||||
)
|
||||
|
||||
/* Paginate through repos */
|
||||
return paginate()
|
||||
}
|
||||
}
|
@ -28,7 +28,9 @@
|
||||
.md-typeset {
|
||||
|
||||
// Correct alignment of emojis
|
||||
.emojione {
|
||||
.emojione,
|
||||
.twemoji,
|
||||
.gemoji {
|
||||
width: px2rem(20px);
|
||||
vertical-align: text-top;
|
||||
}
|
||||
|
@ -132,7 +132,7 @@
|
||||
rel="stylesheet"
|
||||
type="text/css"
|
||||
href="https://fonts.googleapis.com/css?family={{
|
||||
font.text | replace(' ', '+') + ':300,400,400i,700|' +
|
||||
font.text | replace(' ', '+') + ':300,400,400i,700%7C' +
|
||||
font.code | replace(' ', '+')
|
||||
}}&display=fallback"
|
||||
/>
|
||||
@ -354,6 +354,28 @@
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
<!-- Support for mkdocs-git-revision-date-localized-plugin -->
|
||||
{% if page and page.meta and (
|
||||
page.meta.git_revision_date_localized or
|
||||
page.meta.revision_date
|
||||
) %}
|
||||
{% set label = lang.t("source.revision.date") %}
|
||||
<hr />
|
||||
<div class="md-source-date">
|
||||
<small>
|
||||
|
||||
<!-- mkdocs-git-revision-date-localized-plugin -->
|
||||
{% if page.meta.git_revision_date_localized %}
|
||||
{{ label }}: {{ page.meta.git_revision_date_localized }}
|
||||
|
||||
<!-- mkdocs-git-revision-date-plugin -->
|
||||
{% elif page.meta.revision_date %}
|
||||
{{ label }}: {{ page.meta.revision_date }}
|
||||
{% endif %}
|
||||
</small>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
<!-- Disqus integration -->
|
||||
|
@ -38,5 +38,6 @@
|
||||
"search.result.other": "# ooreenstemmende dokumente",
|
||||
"skip.link.title": "Slaan oor na inhoud",
|
||||
"source.link.title": "Slaan oor na inhoud",
|
||||
"source.revision.date": "Laaste opdatering",
|
||||
"toc.title": "Inhoudsopgawe"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -41,5 +41,6 @@
|
||||
"search.result.other": "نتائج البحث # مستندات",
|
||||
"skip.link.title": "انتقل إلى المحتوى",
|
||||
"source.link.title": "اذهب إلى المصدر",
|
||||
"source.revision.date": "اخر تحديث",
|
||||
"toc.title": "جدول المحتويات"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -38,5 +38,6 @@
|
||||
"search.result.other": "# documents coincidents",
|
||||
"skip.link.title": "Salta el contingut",
|
||||
"source.link.title": "Ves al repositori",
|
||||
"source.revision.date": "Darrera actualització",
|
||||
"toc.title": "Taula de continguts"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -38,5 +38,6 @@
|
||||
"search.result.other": "Nalezené dokumenty: #",
|
||||
"skip.link.title": "Přeskočit obsah",
|
||||
"source.link.title": "Přejít do repozitáře",
|
||||
"source.revision.date": "Poslední aktualizace",
|
||||
"toc.title": "Obsah"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -38,5 +38,6 @@
|
||||
"search.result.other": "# resultater",
|
||||
"skip.link.title": "Gå til indholdet",
|
||||
"source.link.title": "Åbn arkiv",
|
||||
"source.revision.date": "Sidste ændring",
|
||||
"toc.title": "Indholdsfortegnelse"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -38,5 +38,6 @@
|
||||
"search.result.other": "# Suchergebnisse",
|
||||
"skip.link.title": "Zum Inhalt",
|
||||
"source.link.title": "Quellcode",
|
||||
"source.revision.date": "Letztes Update",
|
||||
"toc.title": "Inhaltsverzeichnis"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -42,5 +42,6 @@
|
||||
"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 %}
|
||||
|
@ -38,5 +38,6 @@
|
||||
"search.result.other": "# documentos encontrados",
|
||||
"skip.link.title": "Saltar a contenido",
|
||||
"source.link.title": "Ir al repositorio",
|
||||
"source.revision.date": "Última actualización",
|
||||
"toc.title": "Tabla de contenidos"
|
||||
}[key] }}{% endmacro %}
|
||||
|
45
src/partials/language/et.html
Normal file
45
src/partials/language/et.html
Normal file
@ -0,0 +1,45 @@
|
||||
<!--
|
||||
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to
|
||||
deal in the Software without restriction, including without limitation the
|
||||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
sell copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
IN THE SOFTWARE.
|
||||
-->
|
||||
|
||||
<!-- Translations: Estonian -->
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "et",
|
||||
"clipboard.copy": "Kopeeri lõikelauale",
|
||||
"clipboard.copied": "Kopeeritud",
|
||||
"edit.link.title": "Muuda seda lehte",
|
||||
"footer.previous": "Eelmine",
|
||||
"footer.next": "Järgmine",
|
||||
"meta.comments": "Kommentaarid",
|
||||
"meta.source": "Lähtekood",
|
||||
"search.language": "",
|
||||
"search.pipeline.stopwords": false,
|
||||
"search.pipeline.trimmer": false,
|
||||
"search.placeholder": "Otsi",
|
||||
"search.result.placeholder": "Otsimiseks kirjuta siia",
|
||||
"search.result.none": "Otsingule ei leitud ühtegi vastet",
|
||||
"search.result.one": "Leiti üks tulemus",
|
||||
"search.result.other": "Leiti # tulemust",
|
||||
"skip.link.title": "Keri sisuni",
|
||||
"source.link.title": "Ava repositooriumis",
|
||||
"source.revision.date": "Viimane uuendus",
|
||||
"toc.title": "Sisukord"
|
||||
}[key] }}{% endmacro %}
|
@ -41,5 +41,6 @@
|
||||
"search.result.other": "# سند یافت شد",
|
||||
"skip.link.title": "پرش به محتویات",
|
||||
"source.link.title": "رفتن به مخزن",
|
||||
"source.revision.date": "اخرین بروزرسانی",
|
||||
"toc.title": "فهرست موضوعات"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -38,5 +38,6 @@
|
||||
"search.result.other": "# täsmäävää dokumenttia",
|
||||
"skip.link.title": "Hyppää sisältöön",
|
||||
"source.link.title": "Mene repositoryyn",
|
||||
"source.revision.date": "Viimeisin päivitys",
|
||||
"toc.title": "Sisällysluettelo"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -37,5 +37,6 @@
|
||||
"search.result.one": "1 document trouvé",
|
||||
"search.result.other": "# documents trouvés",
|
||||
"source.link.title": "Aller au dépôt",
|
||||
"source.revision.date": "Dernière mise à jour",
|
||||
"toc.title": "Table des matières"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -38,5 +38,6 @@
|
||||
"search.result.other": "# resultados atopados",
|
||||
"skip.link.title": "Ir ao contido",
|
||||
"source.link.title": "Ir ao repositorio",
|
||||
"source.revision.date": "Última actualización",
|
||||
"toc.title": "Táboa de contidos"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -40,5 +40,6 @@
|
||||
"search.result.other": "# αντίστοιχα αρχεία",
|
||||
"skip.link.title": "Μετάβαση στο περιεχόμενο",
|
||||
"source.link.title": "Μετάβαση στο αποθετήριο",
|
||||
"source.revision.date": "τελευταία ενημέρωση",
|
||||
"toc.title": "Πίνακας περιεχομένων"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -41,5 +41,6 @@
|
||||
"search.result.other": "# מסמך תואם",
|
||||
"skip.link.title": "דלג לתוכן",
|
||||
"source.link.title": "עבור אל מאגר",
|
||||
"source.revision.date": "העדכון אחרון",
|
||||
"toc.title": "תוכן העניינים"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -40,5 +40,6 @@
|
||||
"search.result.other": "# मिलान डाक्यूमेंट्स",
|
||||
"skip.link.title": "विषय पर बढ़ें",
|
||||
"source.link.title": "रिपॉजिटरी पर जाएं",
|
||||
"source.revision.date": "आखिरी अपडेट",
|
||||
"toc.title": "विषय - सूची"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -40,5 +40,6 @@
|
||||
"search.result.other": "# rezultata pretraživanja",
|
||||
"skip.link.title": "Preskočite na sadržaj",
|
||||
"source.link.title": "Idite u repozitorij",
|
||||
"source.revision.date": "Zadnje ažuriranje",
|
||||
"toc.title": "Sadržaj"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -38,5 +38,6 @@
|
||||
"search.result.other": "# egyező dokumentum",
|
||||
"skip.link.title": "Kihagyás",
|
||||
"source.link.title": "Főoldalra ugrás",
|
||||
"source.revision.date": "Utolsó frissítés",
|
||||
"toc.title": "Tartalomjegyzék"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -40,5 +40,6 @@
|
||||
"search.result.other": "# dokumen ditemukan",
|
||||
"skip.link.title": "Lewati ke isi",
|
||||
"source.link.title": "Menuju repositori",
|
||||
"source.revision.date": "Pembaharuan Terakhir",
|
||||
"toc.title": "Daftar isi"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -38,5 +38,6 @@
|
||||
"search.result.other": "# documenti trovati",
|
||||
"skip.link.title": "Vai al contenuto",
|
||||
"source.link.title": "Apri repository",
|
||||
"source.revision.date": "Ultimo aggiornamento",
|
||||
"toc.title": "Indice"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -38,5 +38,6 @@
|
||||
"search.result.other": "#件見つかりました",
|
||||
"search.tokenizer": "[\s\- 、。,.]+",
|
||||
"source.link.title": "リポジトリへ",
|
||||
"source.revision.date": "最後の更新",
|
||||
"toc.title": "目次"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -37,5 +37,6 @@
|
||||
"search.result.one": "1개의 일치하는 문서",
|
||||
"search.result.other": "#개의 일치하는 문서",
|
||||
"source.link.title": "저장소로 이동",
|
||||
"source.revision.date": "마지막 업데이트",
|
||||
"toc.title": "목차"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -38,5 +38,6 @@
|
||||
"search.result.other": "# overeenkomende documenten",
|
||||
"skip.link.title": "Ga naar inhoud",
|
||||
"source.link.title": "Ga naar repository",
|
||||
"source.revision.date": "Laatst geüpdatet op",
|
||||
"toc.title": "Inhoudsopgave"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -38,5 +38,6 @@
|
||||
"search.result.other": "# treff",
|
||||
"skip.link.title": "Gå til innhald",
|
||||
"source.link.title": "Gå til kjelde",
|
||||
"source.revision.date": "Siste oppdatering",
|
||||
"toc.title": "Innhaldsliste"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -38,5 +38,6 @@
|
||||
"search.result.other": "# treff",
|
||||
"skip.link.title": "Gå til innhold",
|
||||
"source.link.title": "Gå til kilde",
|
||||
"source.revision.date": "Siste oppdatering",
|
||||
"toc.title": "Innholdsfortegnelse"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -40,5 +40,6 @@
|
||||
"search.result.other": "Wyniki wyszukiwania: #",
|
||||
"skip.link.title": "Przejdź do treści",
|
||||
"source.link.title": "Idź do repozytorium",
|
||||
"source.revision.date": "Ostatnia aktualizacja",
|
||||
"toc.title": "Spis treści"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -38,5 +38,6 @@
|
||||
"search.result.other": "# resultados encontrados",
|
||||
"skip.link.title": "Ir para o conteúdo",
|
||||
"source.link.title": "Ir ao repositório",
|
||||
"source.revision.date": "Última atualização",
|
||||
"toc.title": "Índice"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -20,7 +20,7 @@
|
||||
IN THE SOFTWARE.
|
||||
-->
|
||||
|
||||
<!-- Translation: Russian -->
|
||||
<!-- Translations: Russian -->
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "ru",
|
||||
"clipboard.copy": "Копировать в буфер",
|
||||
@ -38,5 +38,6 @@
|
||||
"search.result.other": "Найдено # совпадений",
|
||||
"skip.link.title": "Перейти к содержанию",
|
||||
"source.link.title": "Перейти к репозиторию",
|
||||
"source.revision.date": "Последнее обновление",
|
||||
"toc.title": "Содержание"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -20,7 +20,7 @@
|
||||
IN THE SOFTWARE.
|
||||
-->
|
||||
|
||||
<!-- Translation: Slovenian -->
|
||||
<!-- Translations: Slovenian -->
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "si",
|
||||
"clipboard.copy": "Kopiraj v odložišče",
|
||||
@ -38,5 +38,6 @@
|
||||
"search.result.other": "# zadetkov",
|
||||
"skip.link.title": "Skoči na vsebino",
|
||||
"source.link.title": "Pojdi na repozitorij",
|
||||
"source.revision.date": "Zadnja posodobitev",
|
||||
"toc.title": "Kazalo"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -20,7 +20,7 @@
|
||||
IN THE SOFTWARE.
|
||||
-->
|
||||
|
||||
<!-- Translation: Slovak -->
|
||||
<!-- Translations: Slovak -->
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "sk",
|
||||
"clipboard.copy": "Kopírovať do schránky",
|
||||
@ -38,5 +38,6 @@
|
||||
"search.result.other": "Vyhovujúce dokumenty: #",
|
||||
"skip.link.title": "Preskočiť na obsah",
|
||||
"source.link.title": "Zobraziť repozitár",
|
||||
"source.revision.date": "Posledná aktualizácia",
|
||||
"toc.title": "Obsah"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -40,5 +40,6 @@
|
||||
"search.result.other": "# резултата претраге",
|
||||
"skip.link.title": "Иди на текст",
|
||||
"source.link.title": "Иди у репозиторијум",
|
||||
"source.revision.date": "Последња исправка",
|
||||
"toc.title": "Садржај"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -38,5 +38,6 @@
|
||||
"search.result.other": "# sökresultat",
|
||||
"skip.link.title": "Gå till innehållet",
|
||||
"source.link.title": "Gå till datakatalog",
|
||||
"source.revision.date": "Senaste uppdateringen",
|
||||
"toc.title": "Innehållsförteckning"
|
||||
}[key] }}{% endmacro %}
|
||||
|
43
src/partials/language/th.html
Normal file
43
src/partials/language/th.html
Normal file
@ -0,0 +1,43 @@
|
||||
<!--
|
||||
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to
|
||||
deal in the Software without restriction, including without limitation the
|
||||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
sell copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
IN THE SOFTWARE.
|
||||
-->
|
||||
|
||||
<!-- Translations: Thai -->
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "th",
|
||||
"clipboard.copy": "คัดลอก",
|
||||
"clipboard.copied": "คัดลอกแล้ว",
|
||||
"edit.link.title": "แก้ไขหน้านี้",
|
||||
"footer.previous": "ก่อนหน้า",
|
||||
"footer.next": "ต่อไป",
|
||||
"meta.comments": "ความคิดเห็น",
|
||||
"meta.source": "แหล่งที่มา",
|
||||
"search.language": "th",
|
||||
"search.placeholder": "ค้นหา",
|
||||
"search.result.placeholder": "พิมพ์เพื่อเริ่มค้นหา",
|
||||
"search.result.none": "ไม่พบเอกสารที่ตรงกัน",
|
||||
"search.result.one": "พบเอกสารที่ตรงกัน",
|
||||
"search.result.other": "พบ # เอกสารที่ตรงกัน",
|
||||
"search.tokenizer": "[\s\-]+",
|
||||
"skip.link.title": "ข้ามไปที่เนื้อหา",
|
||||
"source.link.title": "ไปที่ Repository",
|
||||
"toc.title": "สารบัญ"
|
||||
}[key] }}{% endmacro %}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user