Add "new in v4.26.0" in documentation

This commit is contained in:
iBug 2024-05-05 19:50:50 +08:00
parent 148349b029
commit accc82a03b
4 changed files with 8 additions and 4 deletions

View File

@ -16,7 +16,6 @@
- Auto scroll sticky ToC with content. [#3115](https://github.com/mmistakes/minimal-mistakes/pull/3115) - 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"`. - 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) - 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) - 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 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) - 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`. - Remove unused classes from `_layouts/single.html`.
- Migrate npm run scripts to Ruby Rake tasks. - 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. - 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) - 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) ## [4.25.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.25.1)

View File

@ -298,6 +298,8 @@ For example,
### Code block copy button ### Code block copy button
*New in v4.26.0*
To enable a copy button on code blocks, add the following to `_config.yml`: To enable a copy button on code blocks, add the following to `_config.yml`:
```yaml ```yaml
@ -1039,6 +1041,8 @@ paginate_path: /recent/page:num/
### Paginate V2 ### 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`: 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 ```yaml

View File

@ -747,7 +747,7 @@ defaults:
nav: "docs" 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 ```yaml
sidebar: sidebar:

View File

@ -5,7 +5,7 @@ permalink: "/docs/history/"
excerpt: Change log of enhancements and bug fixes made to the theme. excerpt: Change log of enhancements and bug fixes made to the theme.
sidebar: sidebar:
nav: docs nav: docs
last_modified_at: '2024-05-05T19:44:24+08:00' last_modified_at: '2024-05-05T19:50:49+08:00'
toc: false toc: false
--- ---
@ -31,7 +31,6 @@ toc: false
- Auto scroll sticky ToC with content. [#3115](https://github.com/mmistakes/minimal-mistakes/pull/3115) - 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"`. - 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) - 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) - 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 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) - 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`. - Remove unused classes from `_layouts/single.html`.
- Migrate npm run scripts to Ruby Rake tasks. - 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. - 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) - 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) ## [4.25.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.25.1)