Skip to content

Remove the install notice printed on every build - #21

Merged
shenxianpeng merged 1 commit into
mainfrom
claude/project-thread-yy3vcy
Nov 6, 2026
Merged

shenxianpeng merged 1 commit into
mainfrom
claude/project-thread-yy3vcy

Conversation

@shenxianpeng

@shenxianpeng shenxianpeng commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Every mkdocs build / serve with mkdocs-ng-material printed a "Notice from MkDocs NG Material" banner. The code only runs when mkdocs-ng-material is installed, so the "Install: pip install mkdocs-ng-material" line was always shown to people who already have it. In 9.8.0 the docs link also points to the old address (mkdocs-ng.github.io/mkdocs-material/).

This removes the banner from src/templates/__init__.py and the built material/templates/__init__.py, and adds a changelog line under 9.8.1.

Checked: with mkdocs-ng 1.11.1, mkdocs-ng-material 9.8.0 and upstream mkdocs-material 9.8.0 installed side by side, 9.8.0 prints the banner; after installing this branch, mkdocs build prints only the usual INFO lines, and import material still resolves to mkdocs_ng_material/material.

The banner told users who already had mkdocs-ng-material to install it,
and 9.8.0 linked to the old documentation address.
@shenxianpeng shenxianpeng self-assigned this Nov 6, 2026
@shenxianpeng
shenxianpeng merged commit f340a93 into main Nov 6, 2026
5 checks passed
@shenxianpeng
shenxianpeng deleted the claude/project-thread-yy3vcy branch November 6, 2026 09:12
@shenxianpeng shenxianpeng mentioned this pull request Nov 11, 2026

This branch was successfully deployed

1 active deployment
pypi — cc5afd0f Deployed Nov 6, 2026 by shenxianpeng via python #44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant