Skip to main content

A minimal theme for MkDocs

Project description

mkdocs-walt

🍃 Walt is a minimal documentation theme for MkDocs.

It has the following features:

  • classless styles for semantic HTML based on writ.css
  • light mode and dark mode based on system settings
  • an emoji favicon for browsers that support svg site icons
  • code syntax highlighting using highlight.js
Screenshot of the Walt website

Installation

pip install mkdocs-walt

Usage

Create a new MkDocs project with the mkdocs CLI and add the following your project's mkdocs.yml:

theme:
  name: walt

See the end to end example.

Defaults

Walt sets the following configurations by default:

site_emoji: 🍃
locale: en
theme_color: "hsl(0, 0%, 100%)"
theme_color_dark: "hsl(232, 23%, 18%)"
include_header: true
include_nav: true
highlightjs: true

License

Copyright © 2023 Suzen Fylke. Distributed under the MIT License.

Acknowledgements

Walt uses writ.css for styles and Catppuccin for code block syntax highlighting and dark mode color palettes.

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-walt-0.1.1.tar.gz (44.7 kB view hashes)

Uploaded Source

Built Distribution

mkdocs_walt-0.1.1-py3-none-any.whl (46.0 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