Build my GitHub Page got error: Invalid syntax for include tag. #7881
-
ContextI got an error after I set the submodule to your git. Not sure if this is a bug or not for I have not found anyone who had this error, but after checking all issue types, I thought I could report it as a bug. Bug descriptionWhen my GitHub page do "pages build and deployment", it gets error at "Build with Jekyll" and says that:
The following image is part of the problem display: Related linksReproductionSteps to reproduce
BrowserChrome Before submitting
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Thanks for reporting. This is not a problem with Material for MkDocs, but with your configuration. I'm converting this into a discussion, so somebody from the community can help you figure it out. |
Beta Was this translation helpful? Give feedback.
-
Hi @Latisha19 I have looked at your ZIP file, but I couldn't find a .github folder in the root directory. Could you please let us know where your GitHub Action file is located? Is it correct that you have integrated a copy of the mkdocs-material repository into your own? Could you give us more information about your setup? |
Beta Was this translation helpful? Give feedback.
The README.md files shows it's this repository https://github.com/Latisha19/Latisha19.github.io
The submodule is added, however the ci.yaml still uses
pip install mkdocs-material
, which downloads the package from pip. I personally never used the submodules functionality, so I might be missing something, but the current setup doesn't make sense.To install from the local directory it would be
pip install -e ./mkdocs-material
As for the actions, the ci.yaml works, only the deploy crashes with jekyll.
The incorrect branch is being used for the deployment, it should be
gh-pages
, so duplicate issue of this, which can be found searching forjekyll
: