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

#9383: Re-enable PDF generation #9973

Merged
merged 5 commits into from
Feb 23, 2024

Conversation

mahmoudadel54
Copy link
Collaborator

Description

In this PR, I replaced mkdocs-pdf-export plugin with mkdocs-with-pdf to enable PDF generation with a better layout and in a less build time.

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Issue

#9383

What is the current behavior?
#9383

What is the new behavior?
Enabling PDF generation with a better layout and in a less build time.

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

Other useful information

Description:
- Remove mkdocs-pdf-export-plugin and use mkdocs-with-pdf plugin instead
- Create pdf_event_hook.py to render the export pdf icon into the docs
- Customize the location of  the export pdf icon into the navbar on the right side
Description:
- edit formatting of the mkdocs.yml file
Description:
- replace svg icon with image for the export pdf icon in pdf_event_hook.py file
@tdipisa tdipisa requested review from allyoucanmap and removed request for offtherailz February 23, 2024 11:08
@allyoucanmap allyoucanmap merged commit 273103b into geosolutions-it:master Feb 23, 2024
6 checks passed
@allyoucanmap
Copy link
Contributor

@ElenaGallo please test this fix on dev, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment