orzih / mkdocs-with-pdf

Generate a single PDF file from MkDocs repository.
MIT License
332 stars 77 forks source link

How to work with custom docs directory? #74

Open jimlyas opened 3 years ago

jimlyas commented 3 years ago

So i'm using docs_dir attribute in my mkdocs.yml to define custom docs directory for my documentation.

But after that, i'm receiving error like this:

ERROR:weasyprint:Relative URI reference without a base URI: <img src="/assets/images/offline.png">

Is there a configuration to set the plugin about the custom directory?