-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
How to deal with multi-level documents? — Image links #17
Comments
Hi @rei-vilo , Thanks for taking the time to report these issues. Finding these kind of edge cases really helps to mature the package. There are indeed two separate issues here:
I just released v0.7.1 that fixed 1), and I'll work on adding support for 2) probably later this week. |
That was fast! Thank you for your prompt answer. I agree with you there are two different issues under one single question about multi-level documents. If you don't mind, I specialising this thread to the image links and creating another thread for the top sections. I am also adding the minimal test I am using to evaluate Print Site. Now, based on the above project, I had a blok at the html code generated by MkDocs: <p><img alt="" src="Chapter1/img/Picture1-1.png" /></p></section><section class="print-page" id="chapter1-section2"><h1 id="chapter1-section2-chapter-1-section-2">Chapter 1 - Section 2<a class="headerlink" href="#chapter1-section2-chapter-1-section-2" title="Permanent link">¶</a></h1> Given the structure of the website generated by MkDocs, the exact path should be <p><img alt="" src="../Chapter1/img/Picture1-1.png" /></p></section><section class="print-page" id="chapter1-section2"><h1 id="chapter1-section2-chapter-1-section-2">Chapter 1 - Section 2<a class="headerlink" href="#chapter1-section2-chapter-1-section-2" title="Permanent link">¶</a></h1> |
This should be fixed now, just released v0.8 |
I'm trying to use mkdocs-print-site-plugin on a multi-level document.
The structure is:
The Chapter 1 - Section 1 page contains
The Chapter 1 - Section 1 page renders as
but with Print site,
Picture1-1.png
is not found.How to deal with multi-level documents? Thank you for your help!
The text was updated successfully, but these errors were encountered: