Skip to content
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

Missing pages when using mkdocs-with-pdf #166

Open
edmondop opened this issue Jan 16, 2025 · 2 comments
Open

Missing pages when using mkdocs-with-pdf #166

edmondop opened this issue Jan 16, 2025 · 2 comments

Comments

@edmondop
Copy link

I am trying to render the amazing https://books.japila.pl/spark-sql-internals/ as a single PDF, but the result contains only a subset of the https://github.com/japila-books/spark-sql-internals
document.pdf

also the sitemap is significantly larger than the pdf

@Thiti517
Copy link

From my experience it could be related to the version of weasyprint and pydyf used by the plugin (more info on the issue #157 ).

But it could also be related to the mkdocs-with-pdf plugin configuration you used in mkdocs.yml or the plugin mkdocs-minify-plugin since it change the HTML after the site generation and that mkdocs-with-pdf make use of the HTML tags to find the content it need to render as PDF. Could try to use mkdocs-with-pdf with basic configuration and all others plugin disabled to see if it caused the problem.

@edmondop
Copy link
Author

@Thiti517 you were right after I disabled the plugins it worked correctly, I wonder if it is the redirect macros? https://github.com/japila-books/spark-sql-internals/blob/main/mkdocs.yml#L76

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants