-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
Context
No response
Bug description
I am using Insiders to build a standalone blog site. I just realised my latest builds aren't actually generating the blog: the blog posts aren't getting added to the nav or displayed on the site.
Related links
Reproduction
9.2.5+insiders.4.40.1-insiders-blog-borked.zip
Steps to reproduce
- Create a fresh project and fresh virtual env, per the reproduction guide
- Install the latest Insider with
pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git(replace token with your token) - Set the site up to be a standalone blog site:
plugins:
- blog:
blog_dir: .
My full mkdocs.yml:
site_name: My Docs
theme:
name: material
plugins:
- info
- blog:
blog_dir: .
nav:
- index.md
- Run locally with
mkdocs serve
Result is the site builds. It warns you the blog posts aren't included in the navigation, and they do not appear on the site.
Python version 3.11.2 when creating the reproduction, but have seen the issue on 3.10.x as well. Issue has occurred both locally and on my live site built with Cloudflare Pages. Worth noting I updated to a newer Python version as a fix for another issue (which I believe has already been reported here: #5916)
This issue only appeared recently, but I can't pinpoint when exactly (I have a horrible feeling my blog has been down a couple of days without me noticing) As a temporary fix I replaced Insiders with normal Material, and that's working fine (also worked fine with the minimal reproduction)
The issue only seems to affect standalone blogs. When I changed the minimal repro to use the default blog directory, it worked.
Browser
No response
Before submitting
- I have read and followed the bug reporting guidelines.
- I have attached links to the documentation, and possibly related issues and discussions.
- I assure that I have removed all customizations before submitting this bug report.
- I have attached a .zip file with a minimal reproduction.