-
Notifications
You must be signed in to change notification settings - Fork 36
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
TypeError: 'NoneType' object is not iterable #9
Comments
I'm having the same issue. Have there been any findings on your side in the meantime? |
If it's of any help to anybody: we realized that the build process fails if mkpdfs cannot find a file where an item in the nav configuration is declared. For you @Amber1990Zhang, that means it is possible that mkpdfs is looking for a file for the "Version" entry in your nav section but cannot find one, and that's why you receive the error message. I hope that helps! |
@kruzfuz thanks for your reply, I removed version information this time but it's not working either.
|
Hello @kruzfuz and @Amber1990Zhang, Currently I'm quite busy at work and will look into this issue as soon as possible. KR, |
I think the plugin has a problem with mkdocs>=1.1. I am using mkdocs < 1.1 without a problem. |
I'm having the same issue. Did a quick debugging session and found out that the break occurs if the page is given in the mkdocs nav configuration is a URL. Are links supported in the nav? |
I opened a PR ( #26 ) which excludes external links. I think this is the best solution for now as i am not sure how to represent external links in the generated pdf. |
This should be fixed in the upcoming version. Probably fixed by #8 |
Some errors happened when I run
mkdocs serve
. The errors as follow:This is my
yaml
file:Please help, thanks.
The text was updated successfully, but these errors were encountered: