From 77987485af3448c9b86a5535d3a119498ddbe100 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Tue, 10 Mar 2020 17:37:51 +0100 Subject: [PATCH] Prepare 5.0.0rc1 release --- docs/extensions/codehilite.md | 15 ++++++++------- docs/index.md | 4 ++++ material/base.html | 2 +- material/overrides/home.html | 2 +- mkdocs.yml | 2 +- package-lock.json | 2 +- package.json | 2 +- src/overrides/home.html | 2 +- 8 files changed, 18 insertions(+), 13 deletions(-) diff --git a/docs/extensions/codehilite.md b/docs/extensions/codehilite.md index bfd0ed1e7..45e1a70b6 100644 --- a/docs/extensions/codehilite.md +++ b/docs/extensions/codehilite.md @@ -231,13 +231,14 @@ def bubble_sort(items): Result: - #!python hl_lines="3 4" - """ Bubble sort """ - def bubble_sort(items): - for i in range(len(items)): - for j in range(len(items) - 1 - i): - if items[j] > items[j + 1]: - items[j], items[j + 1] = items[j + 1], items[j] +``` python linenums="1" hl_lines="3 4" +""" Bubble sort """ +def bubble_sort(items): + for i in range(len(items)): + for j in range(len(items) - 1 - i): + if items[j] > items[j + 1]: + items[j], items[j + 1] = items[j + 1], items[j] +``` ## Supported languages excerpt diff --git a/docs/index.md b/docs/index.md index d23ba31de..a363caef9 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,3 +1,7 @@ +--- +template: overrides/home.html +--- + # Material for MkDocs ## Create beautiful project documentation diff --git a/material/base.html b/material/base.html index ee529a8ef..ad0603df6 100644 --- a/material/base.html +++ b/material/base.html @@ -29,7 +29,7 @@ {% endif %} - + {% endblock %} {% block htmltitle %} {% if page and page.meta and page.meta.title %} diff --git a/material/overrides/home.html b/material/overrides/home.html index 9778e081c..7c4e6f5d3 100644 --- a/material/overrides/home.html +++ b/material/overrides/home.html @@ -3,5 +3,5 @@ -#} {% extends "base.html" %} {% block announce %} - The quick brown fox jumps over the lazy dog!!! + Material for MkDocs 5.0.0rc1 {% endblock %} diff --git a/mkdocs.yml b/mkdocs.yml index 6338de6c6..ecad8d0c3 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -49,7 +49,7 @@ theme: language: en features: - tabs - - instant + # - instant palette: primary: indigo accent: indigo diff --git a/package-lock.json b/package-lock.json index 39293798d..3149d7586 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "mkdocs-material", - "version": "5.0.0b3-2", + "version": "5.0.0rc1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 9442601a4..2caa2610c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mkdocs-material", - "version": "5.0.0b3-2", + "version": "5.0.0rc1", "description": "A Material Design theme for MkDocs", "keywords": [ "mkdocs", diff --git a/src/overrides/home.html b/src/overrides/home.html index 090e79bb7..ad3ea283b 100644 --- a/src/overrides/home.html +++ b/src/overrides/home.html @@ -23,5 +23,5 @@ {% extends "base.html" %} {% block announce %} - The quick brown fox jumps over the lazy dog!!! + Material for MkDocs 5.0.0rc1 {% endblock %}