Skip to main content

MaterialX


MaterialX, the next generation of mkdocs-material, build beautiful sites the way you already know and love, based on mkdocs-material-9.7.1 and named X, it provides ongoing maintenance and updates.

Why MaterialX ?

The MkDocs project is nearing its end due to personal issues involving its original author. He has ceased updates for MkDocs and intends to release a completely new 2.0 version as a replacement. However, this new version is entirely incompatible with the existing ecosystem. It is an entirely separate project that merely carries the MkDocs name, and an accidental upgrade will result in devastating damage.

As a result, to break free from dependency on MkDocs, the team behind the popular mkdocs-material theme framework has discontinued its maintenance and shifted to developing an entirely new alternative project named Zensical. While it adopts a new architecture and eliminates dependency on MkDocs, it still lacks many features. In addition, it is incompatible with the existing MkDocs ecosystem, making many existing plugins unavailable. This imposes certain migration costs on users, and its stability remains unproven.

To ensure the continued stable operation of existing MkDocs projects and ecosystem, a new community-driven successor to MkDocs has emerged: ProperDocs (based on MkDocs 1.6.1). It will provide ongoing updates and maintenance while remaining fully compatible with the original MkDocs ecosystem.

Similarly, mkdocs-material also has a new successor: MaterialX (based on mkdocs-material 9.7.1). It provides ongoing maintenance and updates, with full compatibility with the original ecosystem and zero migration costs.


In short: MaterialX + ProperDocs is an equivalent replacement for mkdocs-material + mkdocs and provides ongoing maintenance and updates.

MaterialX preserves the rich features and stability of the mkdocs-material project, while delivering new features and broad compatibility, and provides ongoing maintenance and updates.


Update Highlights

  • Added Markdown source support for AI agents to provide structured content, reducing token consumption by over 80%
  • Refactored the search functionality with a brand-new architecture design, drastically improving search quality and indexing efficiency. It supports 100,000+ pages, chunked indexing, on-demand loading, index compression, multi-language capability, multiple search providers, and more, see Search
  • Added code block download & auto-collapse/expand long code blocks features, see Code blocks
  • Added the new Steps component for clearer, more intuitive display of procedures and workflows, see Steps
  • Added next-generation date & author plugin, see: Add document dates & authors
    • It's 20-500 times faster than git-revision-date-localized and git-authors, and works in any environment (no-Git, Git environments, Docker, all CI/CD build systems, etc.).
    • Completely resolved date and time infrastructure issues, enabling the project to support automated date processing. Manual date configuration is no longer required for any feature, including: page date display, blog post dates, blog date archives, blog list sorting, sitemap.xml (lastmod - SEO improvements), RSS feeds, recently updated section, search ranking, and more
  • Added Recent Updated module, see: Add recent updates module
    • Automatically generates document summaries (no manual configuration needed)
    • Intelligently estimates reading time, supporting all languages (CJK languages + Space-delimited languages)
  • Refactored the mobile TOC component for seamless NAV and TOC experience on mobile (better interactive experience)
  • Perfectly fixed the issue where swipe gestures would penetrate when the sidebar drawer was active on mobile (prone to accidental operations and poor user experience; unresolved in Zensical and Material)
  • Significantly polished the UX and details on mobile devices
    • Moved the "Back to top" container to the bottom, aligning with natural interaction logic
    • Optimized the show/hide sensitivity of the "Back to top" container
    • Added indent guide lines and active link accent colors for the TOC
  • Added the modern Liquid Glass theme, allows setting the topbar background color in the Liquid Glass theme to support backgrounds with different color schemes, see Topbar style
  • For more details, see Changelog

Quick Start

1 - Installation:

pip install mkdocs-materialx

2 - Configure materialx theme to mkdocs.yml:

theme:
  name: materialx

[!NOTE] The theme name is materialx, not material. Everything else is the same as when using material.

3 - Start a live preview server with the following command for automatic open and reload:

for MkDocs :

mkdocs serve --livereload -o

for ProperDocs :

properdocs serve -o

For detailed installation instructions, configuration options, and a demo, visit jaywhj.github.io/mkdocs-materialx


Chat Group

Discord: https://discord.gg/cvTfge4AUy

Metadata

Release files for mkdocs-materialx 10.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mkdocs-materialx 10.2.0
File Size Uploaded
mkdocs_materialx-10.2.0.tar.gz 4.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for mkdocs-materialx 10.2.0
File Interpreter ABI Platform
mkdocs_materialx-10.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.5 MB

Release files / mkdocs_materialx-10.2.0.tar.gz

Download URL mkdocs_materialx-10.2.0.tar.gz
Size 4.3 MB
Tags Source
SHA-256 checksum
How to use checksums
4ad6009fde5bdb59d2b98cabe1ee5f872aaf23470ed6c2ff29b7541f587a6a31
BLAKE2b-256 checksum
How to use checksums
a42c095a5fe0b7e0fc37d88f13b4cef0ba34e8ecfcdd43f6828ecb6e33eda52f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release files / mkdocs_materialx-10.2.0-py3-none-any.whl

Download URL mkdocs_materialx-10.2.0-py3-none-any.whl
Size 10.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a912eb1ae76b7aa4c912995baa936f4acc17f06078c0f604f87757d18155c14f
BLAKE2b-256 checksum
How to use checksums
06a22959404a107a95c15c4c3d80979a6b2ea3d305ec9924d7b3e2be7e7f0373
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release history Release notifications | RSS feed

This release

10.2.0 This release

2 release files

10.1.8

2 release files

10.1.6

2 release files

10.1.5

2 release files

10.1.4

2 release files

10.1.3

2 release files

10.1.1

2 release files

10.0.9

2 release files

10.0.8

2 release files

10.0.7

2 release files

10.0.6

2 release files

10.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page