**Changelog**
- `mkdocs/exporter/extras`:
- The configuration is now passed as argument when resolving button's attributes through a function.
- `mkdocs/exporter/pdf`:
- Prevented the download link from being broken when not using the `use_directory_urls` option.
**Full changelog**: https://github.com/adrienbrignon/mkdocs-exporter/compare/v3.1.1...v4.0.0