-
Notifications
You must be signed in to change notification settings - Fork 39
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
Getting error when mkdocs2pandoc > mydocs.pd #12
Comments
From the looks of it it shouldn't work with vanilla |
Hi Johannes, thanks for the reply. I just tried to run it with a brand new "mkdocs new mytest" but still getting the exact same error. |
Apparently mkdocs assumes the following entry in your mkdocs.yml if there's no
(with "SITENAME" substituted by the value of Add these lines and it should work for mkdocs-pandoc as well (I'll try to add similar behaviour to mkdocs-pandoc some time this week). |
Great - thanks! I got it to work. But there is on issue: Any idea on how I can just print everything in the the (sub)folders as well? |
Any idea about my last question? As i still can't get it to work ... Thanks |
I ran into the same issue. You can use the repo at https://github.com/vitusventure/5thSRD (not mine) as a test case. :-) It works as expected with mkdocs, but not with mkdocs2pandocs. |
Sorry, I must have missed the notification about this one :-( Yes, mkdocs2pandoc relies on the component files being in the YAML file, so you'll have to add them manually or generate it as part of your documentation's build process. |
Hi there,
I just tried to convert my mydocs docu but I am getting these errors:
Traceback (most recent call last):
File "/usr/local/bin/mkdocs2pandoc", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/mkdocs_pandoc/cli/mkdocs2pandoc.py", line 80, in main
for line in pconv.convert():
File "/usr/local/lib/python2.7/site-packages/mkdocs_pandoc/pandoc_converter.py", line 103, in convert
pages = self.flatten_pages(self.config['pages'])
KeyError: 'pages'
Appreciate any help!
thanks
The text was updated successfully, but these errors were encountered: