Skip to content
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

Draft blog pages are built on material 9.3.1 #6000

Closed
4 tasks done
vlebert opened this issue Sep 13, 2023 · 2 comments
Closed
4 tasks done

Draft blog pages are built on material 9.3.1 #6000

vlebert opened this issue Sep 13, 2023 · 2 comments
Labels
bug Issue reports a bug resolved Issue is resolved, yet unreleased if open

Comments

@vlebert
Copy link

vlebert commented Sep 13, 2023

Context

This bug appeared by itself on netlify build (I did not pin the version). After a few test the bus is present on 9.3.1 while 9.2.5 don't build the draft pages as expected

Bug description

Blog pages is built while having draft: true metadata.

The blog page is listed in navigation but not visible in blog index (list of excerpts)

digi-studio 2023-09-13 at 19 46 05

digi-studio 2023-09-13 at 19 46 42

Related links

Reproduction

9.3.1-blog-draft-actualy-built.zip

Steps to reproduce

  1. Just mkdocs build the attached reproduction zip. Post2 should be built while noted as draft

Browser

No response

Before submitting

@squidfunk squidfunk added the needs investigation Issue must be investigated by the maintainers label Sep 13, 2023
@squidfunk
Copy link
Owner

Thanks for reporting and for providing the excellent reproduction. Indeed, posts that were marked as drafts got populated nonetheless. Fixed in ef5a04a, which will now exclude the post prior to evaluating whether it's a draft or not.

@squidfunk squidfunk added bug Issue reports a bug resolved Issue is resolved, yet unreleased if open and removed needs investigation Issue must be investigated by the maintainers labels Sep 13, 2023
@squidfunk
Copy link
Owner

Released as part of 9.3.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue reports a bug resolved Issue is resolved, yet unreleased if open
Projects
None yet
Development

No branches or pull requests

2 participants