Skip to content

"Build Documentation" Workflow cannot find module material.extensions #7523

Answered by kamilkrzyskow
mrschick asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @mrschick,
I tested it on my fork and got the same results:

It turns out that import material (and this happens when MkDocs loads the theme) loads the material directory as the material module. And because of the sparse-checkout the initial checkout doesn't include the full material directory and therefore it doesn't work on forks.

sparse-checkout: |
docs
includes
material/overrides
src/templates/partials/languages

It works in the mkdocs-material repository, because it fetch…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@mrschick
Comment options

Answer selected by mrschick
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #7522 on September 13, 2024 15:39.