-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
Description
Context
No response
Bug description
When upgraded to 9.2.5-insiders-4.40.1 I started getting the Plugin 'material/tags' option 'tags_extra_files': Expected type: <class 'str'> but received: <class 'list'> error, where it was working fine for insiders 4.36.0.
Judging by the documentation, the tag_extra_files struct hasn't changed, so I presume there might be an issue.
Here is my tags section:
- tags:
tags_file: blog/tags.md
# media.md is a file that only shows posts with `media` tag
tags_extra_files:
blog/media.md:
- mediaChanging the type to string for tag slugs like this:
- tags:
tags_file: blog/tags.md
# media.md is a file that only shows posts with `media` tag
tags_extra_files:
blog/media.md: mediaGets me past the type check, but, as expected, fails when the tag mapping function kicks in:
ERROR - Page 'blog/media.md' in 'tags_extra_files' must list tag identifiers as a list.
Related links
Reproduction
To be provided if required
Steps to reproduce
- have a repo with tags_extra_files
Browser
No response
Before submitting
- I have read and followed the bug reporting guidelines.
- I have attached links to the documentation, and possibly related issues and discussions.
- I assure that I have removed all customizations before submitting this bug report.
- I have attached a .zip file with a minimal reproduction.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open