-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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:
theme: null
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>
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request