Skip to main content

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

Project description

MkDocs MPG Theme

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

This plugin uses the "Material for MkDocs" theme and just adds some visual touches.

Requirements

Demo

https://tombreit.github.io/mkdocs-mpgtheme-plugin/

PyPI Package

https://pypi.org/project/mkdocs-mpgtheme-plugin/

Usage

  • Setup MkDocs and Material for MkDocs theme

  • Install this plugin from PyPI:

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

    # file: mkdocs.yml
    
    plugins:
      - search
      - mpgtheme
    theme:
      name: material
      logo: _assets/header-logo.svg
      footer_logo: _assets/footer-logo.svg
    extra:
      # all extras are optional
      support_email: mail@example.org
      support_phone: +49 123 456 789
      privacy_policy_url: https://example.org/privacy
      imprint_url: https://example.org/imprint
      copyright_string: ACME Inc.
    
  • Save and reference your header and footer logo files.

  • That's it.

Notes

  • Installing this plugin will install mkdocs and mkdocs-material as dependencies.
  • For a more complete configuration, see our demo mkdocs.yml.
  • Due to licensing and copyright issues, the MPG 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 theme config (see above).

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-2024.12.8.tar.gz (63.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdocs_mpgtheme_plugin-2024.12.8-py3-none-any.whl (63.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mkdocs_mpgtheme_plugin-2024.12.8.tar.gz
Algorithm Hash digest
SHA256 3319904d6664b86e80a4ce3aabbcc4e25fc88cb9c2e6a6d0d60069e97ec7ecfb
MD5 4a810b31db18f88a4294d17574a56c75
BLAKE2b-256 d2e9ae2b3b51ee3b4265462460876ccaa54bbc76f8a4b32bddf6705e8b7007c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkdocs_mpgtheme_plugin-2024.12.8-py3-none-any.whl
Algorithm Hash digest
SHA256 1fb6c62f1006ed62a41fe5a35e8923abff0469d9c13c8729f10c4bc20a9a14b3
MD5 da2e72fd3578698a5fafb0b25eb2688f
BLAKE2b-256 b46a1e5c2d522b8e8c0508b8799e68fe95697f1ee69f3498c8c626b44fff6099

See more details on using hashes here.

Supported by

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