New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blog plugin fails on standalone setup #5879
Comments
Thanks for reporting. Looking into it. Documentation for |
Fixed in 7099ea6. There were several cases that were not handled. The error reported originated from using the blog plugin on the top-level. The blog plugin was completely rewritten, so it's expected that there are some cases we missed. Note that you did not define an authors file, which is why the plugin errors and can't find |
Released as part of 9.2.1. |
That's kinda strange... I have a |
The error seems to persist: https://ci.codeberg.org/repos/12455/pipeline/43/3 Current mkdocs.yml: https://codeberg.org/Andre601/blog-source/src/branch/master/mkdocs.yml |
I get a different error from @Andre601:
The new or old structure of |
@Andre601 this looks like a different error, probably like #5880. @vedranmiletic Yes, we definitely need a minimal reproduction, so please create a new issue. |
The reproduction did not contain a file called |
@squidfunk thanks! Done in #5881. |
I've checked whether the
|
I may have missed a setup step in the minimal reproduction as I made a bare-bones setup. But I can guarantee (As shown by the shared links) that the repo this appears on actually has a I'll double check the repro setup and see if I missed the authors file. |
On a unrelated note: The info plugin seems to handle the name you give a bit differently when providing dots in the name. As an example my last zip generated by it was named It's obviously not that big of a deal. Just something I found worth pointing out. |
Alright. The Adding it makes the serve and build command work fine on my Desktop. Tho, that makes the cause of the CI failing even more confusing given the Authors file is present. |
Want to quickly mention that the build now works on the CI using 2.9.3, so there probably was a fix for that too. Thanks |
Context
No response
Bug description
After updating MkDocs-material from 9.2.0b2 to 9.2.0 today did
mkdocs build
fail with a stacktrace.I sadly cannot understand what it points towards nor what it means, but it seems to be related to the blog plugin as commenting it out in the mkdocs.yml builds the site as expected.
Full stacktrace: https://paste.helpch.at/epopumuceb.lua
First I thought this might be an error due to changes to the
.authors.yml
file which mkdocs-material did report properly, but after fixing those is the issue still persisting.The documentation is build using Woodpecker-CI by setting up a Python Image (Python 3.11 by the looks of it) and the executing
pip install -r requirements.txt
followed bymkdocs build
. Tho local reproduction tests also show the same errors, so it's unlikely to be bound to the env or software used.For transparency, here are files and logs related to the failed CI runs:
Related links
pagination_format
to double-check the option is spelled rightAdding authors
was looked at for the new format mentioned by the plugin which doesn't seem to be in the docs yet.Reproduction
mkdocs-2.9.0-build-errors.zip
Steps to reproduce
mkdocs serve
ormkdocs build
Browser
Firefox
Before submitting
The text was updated successfully, but these errors were encountered: