Skip to main content

Documentation that also shines

Project description

banner

Testing Downloads Python Package Index

screenshot

[!IMPORTANT]
This is an unofficial port of shadcn/ui to MkDocs, and is not affiliated with @shadcn.

Documentation

Yes, yes, the documentation is built with this theme.

Quick start

mkdocs-shadcn-lwq can be installed with pip

pip install mkdocs-shadcn-lwq

Add the following line to mkdocs.yml:

theme:
  name: shadcn-lwq

Extensions

The theme tries to support the built-in extensions along with some pymdownx ones.

Plugins

  • builtin excalidraw - With this plugin, you can directly edit your excalidraw scene in dev mode (kind of WYSIWYG) while it is rendered as svg at build time.
  • mkdocstrings - a MkDocs plugin for auto-generating API documentation from docstrings. (alpha)

Developers

This project is open to contributions. In general, we need to apply the shadcn/ui style to already existing plugins or extensions.

We recently release the css sources we use to style the theme. It mainly uses tailwindcss.

Setup

First clone the repo:

git clone https://github.com/fastxteam/mkdocs-shadcn-lwq
cd mkdocs-shadcn-lwq

Then you can install python dependencies (uv required):

uv sync --all-extras

Finally, you can install tailwind with your favourite package manager (npm, yarn, bun, etc.):

bun install

Dev mode

We use the project pages to as a test project for this theme. You can run the local server in the pages/ subdirectory.

cd pages/
uv run mkdocs serve --watch-theme -w ..

In parallel, you are likely to run the tailwind watcher to compile the css sources. In the root folder:

bun dev

Testing

Tests are managed by pytest and are located in the tests/ folder.

Currently we only test that there is no browser issue through playwright.

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_shadcn_lwq-0.10.7.tar.gz (3.1 MB view details)

Uploaded Source

Built Distribution

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

mkdocs_shadcn_lwq-0.10.7-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file mkdocs_shadcn_lwq-0.10.7.tar.gz.

File metadata

  • Download URL: mkdocs_shadcn_lwq-0.10.7.tar.gz
  • Upload date:
  • Size: 3.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mkdocs_shadcn_lwq-0.10.7.tar.gz
Algorithm Hash digest
SHA256 d4d5918530d2508ee5d2d8c4c70b7d8fda48a4cbb5d56440f8b3c0c5d62a2c51
MD5 da268c4cae750461dacac67118d38632
BLAKE2b-256 879eb93b021cce5cadf9f4c33f0c4794980ad64081720f4057b0b9958ea125f6

See more details on using hashes here.

File details

Details for the file mkdocs_shadcn_lwq-0.10.7-py3-none-any.whl.

File metadata

  • Download URL: mkdocs_shadcn_lwq-0.10.7-py3-none-any.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mkdocs_shadcn_lwq-0.10.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a565639943fd499a982fefaafa04d375d2ab4db694296e2b075f95d9e0c3f5fd
MD5 4876527f7305d1b251cef70181f3ddd5
BLAKE2b-256 4fa1ef5932df812e599122b55852ff912b22b78749f4faf50c885f369f5f7d61

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