Comments (10)
FYI, new release is now on pypi https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/releases/tag/v1.2.5
from mkdocs-material.
Fixed in cff4a75. I checked the release notes of 1.6, and either I'm not seeing it, or there was no mention of the fact that the files collection seems to have undergone a refactoring, inducing those deprecations. I'll check if I can reproduce the problem with the privacy plugin, or if we need a reproduction for that.
from mkdocs-material.
Reading the stack trace, this comes from the git-revision-date-localized-plugin. Please report it upstream.
from mkdocs-material.
I'm also seeing similar warnings on mkdocs_git_revision_date_localized_plugin
and the privacy
plugins. If you'd like a separate issue for these, let me know and I'll cut one.
INFO - DeprecationWarning: Do not access Theme._vars, instead access the keys of Theme directly.
File "/opt/homebrew/lib/python3.10/site-packages/mkdocs_git_revision_date_localized_plugin/plugin.py", line 82, in on_config
theme_locale = custom_theme._vars.get("locale")
File "/opt/homebrew/lib/python3.10/site-packages/mkdocs/theme.py", line 87, in _vars
warnings.warn(
INFO - DeprecationWarning: To replace an existing file, call `remove` before `append`.
File "<snip>/mkdocs-material/material/plugins/privacy/plugin.py", line 445, in _queue
self.assets.append(file)
File "/opt/homebrew/lib/python3.10/site-packages/mkdocs/structure/files.py", line 100, in append
warnings.warn(
from mkdocs-material.
Thanks for reporting. Yes, those deprecation warnings are from MkDocs 1.6. It's a good idea to report the warning for the git-revision-date-localized-plugin
upstream, if you can spare some time. I'll take care of the other warnings. Note that they do not impact the build, so you can just ignore them for now.
from mkdocs-material.
The privacy plugin should also be fixed in ff49d74. If not, please create a new issue with a minimal reproduction ✌️
from mkdocs-material.
Released as part of 9.5.20.
from mkdocs-material.
I'm also seeing similar warnings on
mkdocs_git_revision_date_localized_plugin
and theprivacy
plugins. If you'd like a separate issue for these, let me know and I'll cut one.INFO - DeprecationWarning: Do not access Theme._vars, instead access the keys of Theme directly. File "/opt/homebrew/lib/python3.10/site-packages/mkdocs_git_revision_date_localized_plugin/plugin.py", line 82, in on_config theme_locale = custom_theme._vars.get("locale") File "/opt/homebrew/lib/python3.10/site-packages/mkdocs/theme.py", line 87, in _vars warnings.warn( INFO - DeprecationWarning: To replace an existing file, call `remove` before `append`. File "<snip>/mkdocs-material/material/plugins/privacy/plugin.py", line 445, in _queue self.assets.append(file) File "/opt/homebrew/lib/python3.10/site-packages/mkdocs/structure/files.py", line 100, in append warnings.warn(
Hi,
I'm still seeing this on version 9.5.20, i personally don't know the technical details behind this warning message to report it to their repo in a proper detailed issue, because to me they're just abnormal warnings.
from mkdocs-material.
Thank you ^^
updating!
from mkdocs-material.
Awesome, thanks for fixing this so quickly, Tim!
from mkdocs-material.
Related Issues (20)
- Add PlantUML Markdown extension schema HOT 1
- Version switcher lately never succeeds at staying on the same page HOT 15
- FR: Support Variable from Pyproject.toml HOT 1
- "Copy" in code blocks inject double newlines HOT 8
- Custom Icons: size and color info missing in documtation HOT 1
- multi blog instances share the same `post_date_format` date filter HOT 8
- Instant navigation: toc item requires two clicks after navigating away and returning HOT 5
- Default value for search-plugin separator has a typo HOT 1
- Version selector is not displayed correctly after enabling showing version alias HOT 4
- Mermaid Viewer Control box? How can we use it? HOT 5
- Insiders tag plugin conflicts with markdown_extensions.toc HOT 5
- Section display text alias overridden with same .md files HOT 2
- Add tab index to `.md-search__scrollwrap` in the `search` plugin HOT 10
- [change(feature) request] Page Subtitle for Blog Posts HOT 3
- Annotation doesn't work inside markdown tables HOT 2
- Running "mkdocs serve" through Docker results in "Connection reset by peer" HOT 4
- Comment: The comment page must be refreshed to appear. HOT 4
- included in the 'nav' configuration, which is not found in the documentation files. HOT 1
- Blog issue - TypeError: unsupported operand type(s) for |: 'ABCMeta' and 'NoneType' HOT 1
- Cannot use numbers as titles HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mkdocs-material.