-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
change requestIssue requests a new feature or improvementIssue requests a new feature or improvementresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
Description
Context
I'm working on making sure the mkdocs-static-i18n plugin is compatible with the blog plugin
Description
The blog plugin adds file objects to the Files structure in the on_nav event handler which is not an expected behavior and breaks expectations from other plugins.
Files should be manipulated only on the on_files event hander.
The on_nav event handler of the blog plugins calls methods such as _generate_archive, _generate_categories and _generate_pages which are adding file-like objects to the files one.
Other plugins such as the mkdocs-static-i18n rely on the fact that the files structure does not change after the on_files event handler is done.
Related links
Use Cases
Bring i18n support to blogs generated thanks to mkdocs-material
Visuals
No response
Before submitting
- I have read and followed the change request guidelines.
- I have verified that my idea is a change request and not a bug report.
- I have ensured that, to the best of my knowledge, my idea will benefit the entire community.
- I have included relevant links to the documentation, related issues, and discussions to underline the need for my idea.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
change requestIssue requests a new feature or improvementIssue requests a new feature or improvementresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open