-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Warning: config value 'plugins': Plugin 'exporter' option 'formats': Unrecognised configuration name: formats #32
Comments
@adrienbrignon any thoughts? Sorry to bug, but this is blocking me. I really need this plugin to work. Many thanks in advance for any suggestions. |
Hello @stephffuller, Do you have a repository to share in order to reproduce the issue, please? Thanks,
|
Thank you for the feedback @stephffuller. You are using the version 5 of the plugin, which is now outdated. |
Nice catch about the buttons, I accidentally made that option mandatory... Regarding the errors you are facing, it seems that there is something on your pages (maybe some JavaScript?) that is blocking the rendering, hence the timeout being reached. You can try to disable the browser's headless mode (with the |
Ok, I may know what is happening then. We have links to video tutorials hosted on Wistia in our docs. The plugin we were trying to use for PDFs, mkdocs-print-site-plugin, had an option to ignore those sections with the videos so that the pdf didn't contain those. You can see the options here. Does mkdocs-exporter have a similar option to ignore just a section or part of a page? I didn't see one. I can do a global find/replace if one does exist and it will probably fix this issue. |
Glad you found the root of the issue! The plugin includes a similar feature that removes any HTML elements with the In the next release, I'll introduce a documented feature that offers similar functionality using a CSS class, such as |
@adrienbrignon so would I just add
into my markdown files around those videos? Thanks so much for your help with this. |
Yes, this should work as expected once this feature is shipped within the next release. |
Hi @adrienbrignon . Wanted to let you know where we are. I was able to configure to ignore the videos, but ran into another similar issue, and these I cannot ignore for the output. We are using the
So now it looks like mkdocs-exporter is not able to produce the pdf with those variables in place. Could you add support for the |
I know this is probably something stupid like a missing space somewhere, but I've spent a couple of days banging my head against this and I cannot get this plugin to generate a pdf. I believe the error in the title above might be the culprit. I copied my config file directly from the docs for the plugin, and only changed the filenames and locations for the cover page and the output file. Please have a look and tell me what I'm doing wrong.
The text was updated successfully, but these errors were encountered: