Skip to content

New version with banner has side effect on other mkdocs plugin, at least mike #8567

@jylenhofdecat

Description

@jylenhofdecat

Context

With the release of https://github.com/squidfunk/mkdocs-material/releases/tag/9.7.2
you added a warning banner that has side effect on mike mkdocs plugin I use

You're using standard stdout to print the banner and this banner is added to its own output...

Bug description

On mike, I use mike list to list versions managed by mike... and now in its output in addition of its standard output there is the warning which breaks my script qui parses the json output

│ ⚠ WARNING – MkDocs 2.0 is incompatible with Material for MkDocs 
 │  
 │  MkDocs 1.x is unmaintained. We recommend switching to Zensical, our 
 │  new static site generator, as soon as possible. We're providing an 
 │  analysis of the situation in this article: 
 │  
 │  https://squidfunk.github.io/mkdocs-material/blog/2026/02/18/mkdocs-2.0/ 

[ 
 { 
 "version": "v0.2.1", 
 "title": "v0.2.1", 
 "aliases": [] 
 }, 
 { 
 "version": "v0.1.0", 
 "title": "v0.1.0", 
 "aliases": [] 
 } 
]

Related links

Reproduction

See output

Steps to reproduce

Update the mkdocs-material with last version

Browser

No response

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs inputIssue needs further input by the reporter

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions