Skip to main content

A custom Material for MkDocs theme for EKGF documentation websites

Project description

MkDocs Material EKGF Theme

PyPI version Python versions License CI PyPI downloads

A custom Material for MkDocs theme for EKGF (Enterprise Knowledge Graph Forum) documentation websites.

Features

  • Custom Header: Three-row layout with EKGF logo, centered site title, and OMG branding
  • Enhanced Footer: Matches ekgf.org design with comprehensive navigation and social links
  • Advanced Card Components:
    • Process cards with hero images
    • Theme cards with 4-column responsive layout
    • Objective badges for visual hierarchy
  • Integrated Search: Custom search box in navigation tabs
  • Dark/Light Mode: Full theme support with cross-subdomain cookie sync
  • SEO Optimized: Comprehensive meta tags, Open Graph, Twitter Cards, and JSON-LD structured data
  • Responsive Design: Mobile-first approach with optimizations

Installation

uv add mkdocs-material-ekgf

Usage

Basic Configuration

In your mkdocs.yml:

theme:
  name: material
  # No custom_dir needed! The plugin handles it.

  palette:
    - media: "(prefers-color-scheme: light)"
      scheme: default
      primary: indigo
      accent: light-blue
      toggle:
        icon: material/weather-night
        name: Switch to dark mode

    - media: "(prefers-color-scheme: dark)"
      scheme: slate
      primary: indigo
      accent: deep orange
      toggle:
        icon: material/weather-sunny
        name: Switch to light mode

plugins:
  - material-ekgf
  - search

Enhanced Card Layouts

Process Cards

<div class="grid cards process-cards" markdown>

- <div class="process-card-header process-card-plan">
    
    :material-file-document-outline:{ .lg }
    
    <div class="process-card-title">
      <strong>[Plan](plan/)</strong>
      <span class="process-card-subtitle">Design Your EKG</span>
    </div>
    
  </div>
  
  ---
  
  Define your use cases and identify knowledge assets...

</div>

Theme Cards

<div class="grid cards theme-cards" markdown>

- <div class="theme-card-header theme-card-transparency">
    
    :material-eye-outline:{ .lg }
    
    <div class="theme-card-title">
      <strong>[Transparency](theme/transparency/)</strong>
    </div>
    
  </div>
  
  Clear visibility into data, processes, and decisions...
  
  [Learn more](theme/transparency/)

</div>

Design Principles

This theme implements the EKGF design language:

  • Consistent Branding: EKGF and OMG logos across all sites
  • Professional Aesthetics: Clean, modern design matching ekgf.org
  • Enhanced Readability: Optimized typography and spacing
  • Accessibility: WCAG 2.1 AA compliant
  • Performance: Optimized assets and minimal JavaScript

Development

Local Development

git clone https://github.com/EKGF/mkdocs-material-ekgf.git
cd mkdocs-material-ekgf
uv sync

Testing

Test the theme with a sample MkDocs site:

cd examples/sample-site
uv run mkdocs serve

License

Copyright © 2026 EDMCouncil Inc., d/b/a Enterprise Data Management Association ("EDMA")

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Support

For issues, questions, or contributions, please visit:

Acknowledgments

Built on top of Material for MkDocs by Martin Donath.

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_material_ekgf-0.0.25.tar.gz (95.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_material_ekgf-0.0.25-py3-none-any.whl (95.1 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_material_ekgf-0.0.25.tar.gz.

File metadata

  • Download URL: mkdocs_material_ekgf-0.0.25.tar.gz
  • Upload date:
  • Size: 95.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mkdocs_material_ekgf-0.0.25.tar.gz
Algorithm Hash digest
SHA256 b3d4470b7e49e57edbe95d58f67d218c4fb5d9693d135519f8fd312545bb1680
MD5 9df9f47b76781a5e3c19db5b5ec9dd8f
BLAKE2b-256 77bcd0c1c59359f05bd386a0d7eb97bdfad56dba9f6ab56b13751540cf827c74

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkdocs_material_ekgf-0.0.25.tar.gz:

Publisher: publish.yml on EKGF/mkdocs-material-ekgf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mkdocs_material_ekgf-0.0.25-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_material_ekgf-0.0.25-py3-none-any.whl
Algorithm Hash digest
SHA256 d315a58ccb8fc09377314aaf0b81edaeedbd2a878717e25a0d7dec9f1b55b3a9
MD5 1ea7e2e8534db4ed99490e46312e17b4
BLAKE2b-256 604675f0bc1bc2a42bbfb5fd63d08ed4a4cd1b2617e06cfd4491c096f18b5197

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkdocs_material_ekgf-0.0.25-py3-none-any.whl:

Publisher: publish.yml on EKGF/mkdocs-material-ekgf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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