Skip to main content

A MKDocs plugin which extends the material theme with styles from the VA design system

Project description

Material VA Lighthouse Plugin

This plugin styles a Material for MKDocs site using CSS from the VA Design System.

Installation

Open a terminal and run the following command:

pip install material-va-lighthouse

Or add the following to your requirements.txt file:

material-va-lighthouse

Update your mkdocs.yml to include the plugin:

plugins:
  - material-va-lighthouse

Update the theme section. Set material as your theme (if you're not already) and point the logo to the Lighthouse logo from this plugin:

theme:
  name: material
  logo: 'assets/images/va_lighthouse_logo.png'

Then add an extra_css section to your mkdocs.yml that points to the CSS file from this plugin:

theme:
  name: material
  logo: 'assets/images/va_lighthouse_logo.png'
extra_css:
  - 'assets/stylesheets/va_lighthouse.css'

Run mkdocs build and mkdocs serve to see the changes.

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

material-va-lighthouse-1.2.1.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

material_va_lighthouse-1.2.1-py3-none-any.whl (7.8 kB view hashes)

Uploaded Python 3

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