Can I use this plugin with a custom theme? I.e.
theme:
name: null
custom_dir: path/to/basic/plain/theme/main.html
(See below for main.html).
When I do, I get:
Could not find a template context.
Report an issue at https://github.com/timvink/mkdocs-print-site-plugin
And mention the template you're using: None
I saw in get_theme_name() the comment "Supports the case when using overrides (using theme: null)". So I tried:
but that renders the one-pager in the default MkDocs theme.
Any ideas? Thanks. (Happy to attempt to delve deeper into the code. But would like to know if it even makes sense for this plugin.)
My main.html:
<!DOCTYPE html>
<html>
<body>
{{ page.content }}
</body>
</html>
Can I use this plugin with a custom theme? I.e.
(See below for
main.html).When I do, I get:
I saw in
get_theme_name()the comment "Supports the case when using overrides (using theme: null)". So I tried:but that renders the one-pager in the default MkDocs theme.
Any ideas? Thanks. (Happy to attempt to delve deeper into the code. But would like to know if it even makes sense for this plugin.)
My
main.html: