From accc82a03b4ba6637f425673c7b9c13e89f7667a Mon Sep 17 00:00:00 2001 From: iBug Date: Sun, 5 May 2024 19:50:50 +0800 Subject: [PATCH] Add "new in v4.26.0" in documentation --- CHANGELOG.md | 2 +- docs/_docs/05-configuration.md | 4 ++++ docs/_docs/10-layouts.md | 2 +- docs/_docs/18-history.md | 4 ++-- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1621f456149..f93bfbf2b82f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,6 @@ - Auto scroll sticky ToC with content. [#3115](https://github.com/mmistakes/minimal-mistakes/pull/3115) - Replace "hidden" check in Liquid templates with `where_exp: "item", "item.hidden != true"`. - Remove deprecated `page.header.cta_url` setting. [#4821](https://github.com/mmistakes/minimal-mistakes/pull/4821) -- Merge `categories` and `tags` layout into `_includes/posts-taxonomy.html`. - Allow multiple nav lists in sidebar. [#2843](https://github.com/mmistakes/minimal-mistakes/pull/2843) - Add popup parameter to `{% include figure %}` to enable Magnific Popup. [#3119](https://github.com/mmistakes/minimal-mistakes/pull/3119) - Add target attribute for navigation link. [#3056](https://github.com/mmistakes/minimal-mistakes/pull/3056) @@ -29,6 +28,7 @@ - Remove unused classes from `_layouts/single.html`. - Migrate npm run scripts to Ruby Rake tasks. - Add Rake task `version` for updating all hard-coded version numbers from `package.json` all at once. +- Merge `categories` and `tags` layout into `_includes/posts-taxonomy.html`. - Update Social Sharing links section. [#4066](https://github.com/mmistakes/minimal-mistakes/pull/4066) ## [4.25.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.25.1) diff --git a/docs/_docs/05-configuration.md b/docs/_docs/05-configuration.md index d83e491bab7a..4d27f30f749a 100644 --- a/docs/_docs/05-configuration.md +++ b/docs/_docs/05-configuration.md @@ -298,6 +298,8 @@ For example, ### Code block copy button +*New in v4.26.0* + To enable a copy button on code blocks, add the following to `_config.yml`: ```yaml @@ -1039,6 +1041,8 @@ paginate_path: /recent/page:num/ ### Paginate V2 +*New in v4.26.0* + If you're using [Jekyll Paginate V2][jekyll-paginate-v2], you can enjoy its powerful features by removing `paginate` and `paginate_path` and adding the following configuration to your `_config.yml`: ```yaml diff --git a/docs/_docs/10-layouts.md b/docs/_docs/10-layouts.md index 016e3c1e12d6..cf3eeb47a5e0 100644 --- a/docs/_docs/10-layouts.md +++ b/docs/_docs/10-layouts.md @@ -747,7 +747,7 @@ defaults: nav: "docs" ``` -If you have multiple sidebar navs defined and want to include more than one on a page, the sidebar nav can also be a list. +*New in v4.26.0*: If you have multiple sidebar navs defined and want to include more than one on a page, the sidebar nav can also be a list. ```yaml sidebar: diff --git a/docs/_docs/18-history.md b/docs/_docs/18-history.md index 9371e41d4a56..89865150762e 100644 --- a/docs/_docs/18-history.md +++ b/docs/_docs/18-history.md @@ -5,7 +5,7 @@ permalink: "/docs/history/" excerpt: Change log of enhancements and bug fixes made to the theme. sidebar: nav: docs -last_modified_at: '2024-05-05T19:44:24+08:00' +last_modified_at: '2024-05-05T19:50:49+08:00' toc: false --- @@ -31,7 +31,6 @@ toc: false - Auto scroll sticky ToC with content. [#3115](https://github.com/mmistakes/minimal-mistakes/pull/3115) - Replace "hidden" check in Liquid templates with `where_exp: "item", "item.hidden != true"`. - Remove deprecated `page.header.cta_url` setting. [#4821](https://github.com/mmistakes/minimal-mistakes/pull/4821) -- Merge `categories` and `tags` layout into `_includes/posts-taxonomy.html`. - Allow multiple nav lists in sidebar. [#2843](https://github.com/mmistakes/minimal-mistakes/pull/2843) - Add popup parameter to `{% include figure %}` to enable Magnific Popup. [#3119](https://github.com/mmistakes/minimal-mistakes/pull/3119) - Add target attribute for navigation link. [#3056](https://github.com/mmistakes/minimal-mistakes/pull/3056) @@ -44,6 +43,7 @@ toc: false - Remove unused classes from `_layouts/single.html`. - Migrate npm run scripts to Ruby Rake tasks. - Add Rake task `version` for updating all hard-coded version numbers from `package.json` all at once. +- Merge `categories` and `tags` layout into `_includes/posts-taxonomy.html`. - Update Social Sharing links section. [#4066](https://github.com/mmistakes/minimal-mistakes/pull/4066) ## [4.25.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.25.1)