Skip to main content

MkDocs plugin to add some MPG branding to the Material for MkDocs theme

Project description

MkDocs Material MPG Theme

A MkDocs plugin that makes the Material for MkDocs theme look a bit like MPG.

Requirements

Usage

  • Setup MkDocs and Material for MkDocs theme

  • Install this plugin:

    pip install mkdocs-mpgtheme-plugin
    
  • Activate this plugin in your MkDocs project:

    plugins:
     - mpgtheme
    theme:
     name: material
     logo: _assets/header-logo.svg
     footer_logo: _assets/footer-logo.svg
    extra:
     # all `extra`s are optional
     support_email: mail@example.org
     support_phone: +49 123 456 789
     privacy_policy_url: https://example.org/privacy-policy/
     imprint_url: https://example.org/imprint/
     copyright_string: ACME Inc.
    
  • Save and reference your header and footer logo files.
    Due to licensing and copyright issues, the logo files are not part of this project, but we ship placeholder files for header-logo.svg and footer-logo.svg. Just set your logos (format: SVG) via logo and footer_logo in the themeconfig (see above).

  • Done

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocs_mpgtheme_plugin-0.0.1.tar.gz (61.9 kB view details)

Uploaded Source

Built Distribution

mkdocs_mpgtheme_plugin-0.0.1-py3-none-any.whl (61.2 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_mpgtheme_plugin-0.0.1.tar.gz.

File metadata

File hashes

Hashes for mkdocs_mpgtheme_plugin-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1ed7094f1db95ddf0ac9950492012f0ad666f0cc94f5dc163eb37b02e9c07cde
MD5 0fbe8b0c7461fffd890d74d85afe6341
BLAKE2b-256 f31d9aa2b9be4c04b12174d4d1ee040300e4f71f70cca3403816bf009bbc6918

See more details on using hashes here.

File details

Details for the file mkdocs_mpgtheme_plugin-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_mpgtheme_plugin-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 37ab8aba89a7315780da3c36860262b49993d2ec5a7cbf443c3f8f2fd2fde0e3
MD5 138f352bdce83c104049a4f4d1ea1448
BLAKE2b-256 f90b3b48dc5cf5f28770e8428cbf1c54f0482d12630b24b41c1f833da08e944a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page