From ea5d853be889e4ab388ce09ebdeb4ed4e9109684 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 May 2021 04:07:37 +0000 Subject: [PATCH 1/3] Bump esbuild from 0.11.17 to 0.11.18 Bumps [esbuild](https://github.com/evanw/esbuild) from 0.11.17 to 0.11.18. - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md) - [Commits](https://github.com/evanw/esbuild/compare/v0.11.17...v0.11.18) Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index f29f39e27..826ed102c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1866,9 +1866,9 @@ } }, "esbuild": { - "version": "0.11.17", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.11.17.tgz", - "integrity": "sha512-Yj+rQATpLLU36ymg0/laLXn9FUoiGUl7mDPUJ0toQ5nXKFrj/rmIEkQ34T1GeiV2cP2SrT0G0s7xiNuDcsIyBg==", + "version": "0.11.18", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.11.18.tgz", + "integrity": "sha512-KD7v4N9b5B8bxPUNn/3GA9r0HWo4nJk3iwjZ+2zG1ffg+r8ig+wqj7sW6zgI6Sn4/B2FnbzqWxcAokAGGM5zwQ==", "dev": true }, "escalade": { diff --git a/package.json b/package.json index d817257b4..73e045a47 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "autoprefixer": "^10.2.5", "chokidar": "^3.5.1", "cssnano": "^5.0.2", - "esbuild": "^0.11.17", + "esbuild": "^0.11.18", "eslint": "^7.25.0", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-import": "^2.22.1", From 26d00333b0eeb55259e2bd30d1a9df5756a82762 Mon Sep 17 00:00:00 2001 From: ning <48249362+nzhangac@users.noreply.github.com> Date: Tue, 4 May 2021 17:13:15 +0800 Subject: [PATCH 2/3] Changed pymdownx.inline to pymdownx-inline (#2633) Co-authored-by: r4c12 --- docs/reference/code-blocks.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/code-blocks.md b/docs/reference/code-blocks.md index d622b2c6e..eebd4ca94 100644 --- a/docs/reference/code-blocks.md +++ b/docs/reference/code-blocks.md @@ -91,18 +91,18 @@ configuring syntax highlighting of code blocks: : :octicons-milestone-24: Default: `table` – The Highlight extension provides three ways to add line numbers, all of which are supported by Material for MkDocs. While `table` wraps a code block in a table, `inline` and - `pymdownx.inline` render line numbers as part of the line itself: + `pymdownx-inline` render line numbers as part of the line itself: ``` yaml markdown_extensions: - pymdownx.highlight: - linenums_style: pymdownx.inline + linenums_style: pymdownx-inline ``` Note that `inline` will put line numbers next to the actual code, which means that they will be included when selecting text with the cursor or copying a code block to the clipboard. Thus, the usage of `table` or - `pymdownx.inline` is recommended. + `pymdownx-inline` is recommended. _Material for MkDocs doesn't provide official support for the other options of this extension, so they may be supported but might yield unexpected results. From 44d6fb04c7e5b5788a074ddb085f7c04a1ed498b Mon Sep 17 00:00:00 2001 From: Benjamin Staneck Date: Tue, 4 May 2021 12:15:41 +0200 Subject: [PATCH 3/3] Added title to back-to-top button (#2631) * Add title to to-top button * Rename --- material/base.html | 2 +- material/partials/languages/en.html | 3 ++- src/base.html | 1 + src/partials/languages/en.html | 3 ++- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/material/base.html b/material/base.html index 1db781931..af6e58f42 100644 --- a/material/base.html +++ b/material/base.html @@ -180,7 +180,7 @@ {% if "navigation.top" in features %} - + {% include ".icons/material/arrow-up.svg" %} {% endif %} diff --git a/material/partials/languages/en.html b/material/partials/languages/en.html index 1eb770050..359e40789 100644 --- a/material/partials/languages/en.html +++ b/material/partials/languages/en.html @@ -33,5 +33,6 @@ "source.file.date.updated": "Last update", "source.file.date.created": "Created", "tabs.title": "Tabs", - "toc.title": "Table of contents" + "toc.title": "Table of contents", + "top.title": "Back to top" }[key] }}{% endmacro %} diff --git a/src/base.html b/src/base.html index 4711e73b9..66b165cd7 100644 --- a/src/base.html +++ b/src/base.html @@ -341,6 +341,7 @@ diff --git a/src/partials/languages/en.html b/src/partials/languages/en.html index 8f0239eed..edd63d12c 100644 --- a/src/partials/languages/en.html +++ b/src/partials/languages/en.html @@ -53,5 +53,6 @@ "source.file.date.updated": "Last update", "source.file.date.created": "Created", "tabs.title": "Tabs", - "toc.title": "Table of contents" + "toc.title": "Table of contents", + "top.title": "Back to top" }[key] }}{% endmacro %}