Skip to content

Commit fdf8362

Browse files
committed
Merge remote-tracking branch 'upstream/master'
# Conflicts: # src/plugins/social/plugin.py
2 parents 7a77935 + facfa5c commit fdf8362

File tree

119 files changed

+3327
-1592
lines changed

Some content is hidden

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

119 files changed

+3327
-1592
lines changed

.devcontainer/devcontainer.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "Material for MkDocs - VS Code dev container",
3+
"image": "mcr.microsoft.com/devcontainers/typescript-node:0-18",
4+
"features": {
5+
"ghcr.io/devcontainers/features/python:1": {
6+
"installTools": true,
7+
"version": "3.11"
8+
}
9+
},
10+
"postCreateCommand": "pip install -e . && pip install mkdocs-minify-plugin mkdocs-redirects && npm install && npm run build"
11+
}

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
- published
3030

3131
env:
32-
NODE_VERSION: 14.x
32+
NODE_VERSION: 18.x
3333
PYTHON_VERSION: 3.x
3434

3535
permissions:
@@ -144,9 +144,11 @@ jobs:
144144

145145
- name: Check Docker image
146146
working-directory: /tmp
147+
env:
148+
REPO_FULL_NAME: '${{ github.event.repository.full_name }}'
147149
run: |
148-
docker run --rm -i -v ${PWD}:/docs ${{ github.event.repository.full_name }}:${{ steps.meta.outputs.version }} new .
149-
docker run --rm -i -v ${PWD}:/docs ${{ github.event.repository.full_name }}:${{ steps.meta.outputs.version }} build
150+
docker run --rm -i -v ${PWD}:/docs ${REPO_FULL_NAME,,}:${{ steps.meta.outputs.version }} new .
151+
docker run --rm -i -v ${PWD}:/docs ${REPO_FULL_NAME,,}:${{ steps.meta.outputs.version }} build
150152
151153
- name: Set platforms
152154
if: github.event_name == 'release'

.github/workflows/documentation.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,17 @@ jobs:
4646
with:
4747
python-version: ${{ env.PYTHON_VERSION }}
4848

49+
- name: Set the date environmental variable
50+
run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
51+
4952
- name: Set up build cache
5053
uses: actions/cache@v3
5154
id: cache
5255
with:
53-
key: ${{ runner.os }}-${{ hashFiles('.cache/**') }}
56+
key: mkdocs-material-${{ env.cache_id }}
5457
path: .cache
58+
restore-keys: |
59+
mkdocs-material-
5560
5661
- name: Install dependencies
5762
run: sudo apt-get install pngquant

.vscode/settings.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,5 @@
1717
"tag:yaml.org,2002:python/name:materialx.emoji.to_svg",
1818
"tag:yaml.org,2002:python/name:materialx.emoji.twemoji",
1919
"tag:yaml.org,2002:python/name:pymdownx.superfences.fence_code_format"
20-
],
21-
"cSpell.words": [
22-
"mkdocs"
2320
]
2421
}

CHANGELOG

Lines changed: 57 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,68 @@
1+
mkdocs-material-9.1.12+insiders-4.34.0 (2023-05-14)
2+
3+
* Added support for new overflow mode to auto-fit text in social plugin
4+
* Reduced subtle rendering bugs in (code) annotations due to subpixel rounding
5+
* Improved print styles for (code) annotation lists
6+
* Improved performance of social plugin, now 3x as fast
7+
* Improved interop of typeset plugin with MkDocstrings
8+
* Fixed logo location for variants of default template in social plugin
9+
* Fixed #5446: Built-in typeset plugin picks up headings in code blocks
10+
11+
mkdocs-material-9.1.12+insiders-4.33.2 (2023-05-12)
12+
13+
* Fixed #5508: Social plugin crashes trying to copy cards on Docker/Windows
14+
* Fixed #5507: Social plugin crashes on serve when layouts folder doesn't exist
15+
* Fixed #5505: Social plugin trying to resolve logo in wrong location
16+
* Fixed #5496: Annotations with nested lists incorrectly mounted
17+
* Fixed #5493: Social plugin crashes on Python 3.8
18+
19+
mkdocs-material-9.1.12 (2023-05-12)
20+
21+
* Updated Bengali (Bangla) translations
22+
* Fixed #5503: Docker image publish errors on uppercase characters
23+
* Fixed #5407: Auto-pause media when in hidden content tabs
24+
25+
mkdocs-material-9.1.11+insiders-4.33.1 (2023-05-09)
26+
27+
* Added support for SVG background images in social plugin
28+
29+
mkdocs-material-9.1.11 (2023-05-08)
30+
31+
* Fixed #5487: Social plugin crashes without options (9.1.10 regression)
32+
33+
mkdocs-material-9.1.10+insiders-4.33.0 (2023-05-08)
34+
35+
* Added support for custom layouts for social plugin
36+
* Added support for background images for social cards
37+
38+
mkdocs-material-9.1.10 (2023-05-08)
39+
40+
* Added cards_layout_options setting for social cards
41+
* Deprecated cards_color and cards_font setting for social cards
42+
43+
mkdocs-material-9.1.9 (2023-05-02)
44+
45+
* Added Telugu, Kannada and Sanskrit translations
46+
* Fixed #5428: Fixed margins for light/dark mode images in figures
47+
* Fixed #5420: Social plugin crashing for some specific Google Fonts
48+
* Fixed #5160: Instant loading makes code annotations jump (9.1.1 regression)
49+
* Fixed #4920: Social plugin not loading logo from custom icon set
50+
* Fixed social plugin crashing when only code font is specified
51+
152
mkdocs-material-9.1.8 (2023-04-24)
253

3-
- Fixed #5417: Theme breaks when palette is not defined (9.1.7 regression)
54+
* Fixed #5417: Theme breaks when palette is not defined (9.1.7 regression)
455

556
mkdocs-material-9.1.7+insiders-4.32.6 (2023-04-22)
657

7-
- Fixed #5336: Interplay of blog plugin with git-revision-date-localized
58+
* Fixed #5336: Interplay of blog plugin with git-revision-date-localized
859

960
mkdocs-material-9.1.7 (2023-04-22)
1061

11-
- Updated Persian (Farsi) and Turkish translations
12-
- Fixed #5401: Added missing flag to disable built-in tags plugin
13-
- Fixed #5206: Ensure defaults are set for primary and accent colors
14-
- Fixed unnecessary inclusion of palette CSS when unused
62+
* Updated Persian (Farsi) and Turkish translations
63+
* Fixed #5401: Added missing flag to disable built-in tags plugin
64+
* Fixed #5206: Ensure defaults are set for primary and accent colors
65+
* Fixed unnecessary inclusion of palette CSS when unused
1566

1667
mkdocs-material-9.1.6+insiders-4.32.5 (2023-04-07)
1768

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ it is:
4242

4343
### Missing translations?
4444

45-
Material for MkDocs supports 50+ languages with the help of community
45+
Material for MkDocs supports 60+ languages with the help of community
4646
contributions. When new features are added, sometimes, new translations are
4747
necessary as well. It's impossible for the maintainers of the project to update
48-
all translations (we just don't speak 50+ languages), so we have to rely on
48+
all translations (we just don't speak 60+ languages), so we have to rely on
4949
our contributors to update translations incrementally. This process is pretty
5050
simple, so if you find a translation missing in your language, follow these
5151
guidelines:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<p align="center">
4040
Write your documentation in Markdown and create a professional static site for
4141
your Open Source or commercial project in minutes – searchable, customizable,
42-
more than 50 languages, for all devices.
42+
more than 60 languages, for all devices.
4343
</p>
4444

4545
<p align="center">
28.4 KB
Loading
39.9 KB
Loading
32.4 KB
Loading

0 commit comments

Comments
 (0)