-
Notifications
You must be signed in to change notification settings - Fork 390
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
FR: Can we have the docs in a single page and/or a PDF as well? #5465
Comments
I found a plugin that claims to be able to do this at https://github.com/timvink/mkdocs-print-site-plugin . More are listed at https://github.com/mkdocs/catalog?tab=readme-ov-file#-site-conversion-pdfepubetc . I have not yet tried using any of them. Those plugins might interfere with the Some other possible channels of support might be https://github.com/mkdocs/mkdocs?tab=readme-ov-file#support and (especially if turning off mkdocs-material messes things up too much) https://github.com/squidfunk/mkdocs-material/discussions I'm not sure this is helpful for you, but FYI, for every |
Actually, that This is for the nightly version of What I did:
diff --git a/mkdocs-offline.yml b/mkdocs-offline.yml
index 058551255e..f8a6d45853 100644
--- a/mkdocs-offline.yml
+++ b/mkdocs-offline.yml
@@ -13,6 +13,7 @@
- redirects:
redirect_maps:
branches.md: bookmarks.md
+ - print-site
# Turns out the `offline` plugin forces the following
# option no matter what, and therefore shouldn't be
# used in the main config file.
|
This works perfectly! Yes, may be a good idea to include it in your regular documentation builds. |
For various health reasons, I often cannot stare at screens for too long.
It would be great if the jj docs also had an option of seeing the whole docs on one page so I can print it out. I'd prefer HTML but PDF will do as well.
If mkdocs has a means to do it (plugin, etc), you can point me to it and I can try building it on my machine myself - but I do think you should consider it for your official docs. I can't be the only one who wants this.
The text was updated successfully, but these errors were encountered: