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 details)

Uploaded Source

Built Distribution

mkdocs_walt-0.1.1-py3-none-any.whl (46.0 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs-walt-0.1.1.tar.gz.

File metadata

  • Download URL: mkdocs-walt-0.1.1.tar.gz
  • Upload date:
  • Size: 44.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for mkdocs-walt-0.1.1.tar.gz
Algorithm Hash digest
SHA256 01e426980d128778ea061bc18f059044766119cf7b3168b4df769218485cb4e3
MD5 1678ae7d00821be31731b90d11cd38da
BLAKE2b-256 e0c6f281b3f8a5b90ac89b7a997a7fb9e7d9c5d1683a00eebe3a3b83c2df36ec

See more details on using hashes here.

File details

Details for the file mkdocs_walt-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mkdocs_walt-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 46.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for mkdocs_walt-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb57fbc96d25a8b5aded17391c39d4c9381ebebced1f8fef8699c340a1c5753d
MD5 b9c1b1a9c5aaef113652de99d286b647
BLAKE2b-256 cb264237a8b2d6daa42d1b0f18a5889f4f3cae32906e8b8877efe1551e7a0951

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