Skip to content

Commit

Permalink
Update how to guide on PDF button, see #119
Browse files Browse the repository at this point in the history
  • Loading branch information
timvink authored Sep 12, 2024
1 parent 319398b commit 3002881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/how-to/pdf_button.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ MkDocs supports [theme extension](https://www.mkdocs.org/user-guide/styling-your

This plugin adds to the context a `page.url_to_print_page` which contains the relative link from a page to the print page. You can use `page.url_to_print_page` when customizing a theme:

!!! info
While it might be easier for your users, using this option means you need to re-create the PDF everytime you make a change to your website.
!!! info "Exporting to PDF is a separate step"
While it might be easier for your users, using this option means you need to re-create the PDF everytime you make a change to your website. See [how to export to PDF](pdf_button.md).

If you use this option and you are using version control like git, you might want to also [gitignore](https://git-scm.com/docs/gitignore) the PDF file.

Expand Down

0 comments on commit 3002881

Please sign in to comment.