Skip to main content

Documentation that simply works

Project description

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 will adopt the following brand-new vision and positioning.


Update Highlights

  • Added Markdown source support for AI agents to provide structured content, reducing token consumption by over 80%
  • 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
    • Displays recently updated documents in descending order of update time, with dynamically refreshed list items
    • Supports multiple flexible layout styles (list, detail, grid)
    • Automatically generates document summaries (no manual configuration needed)
    • Intelligently estimates reading time, supporting all languages (CJK + space-separated 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
  • Added code block download & auto-collapse/expand long code blocks features
  • 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

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_materialx-10.1.7.tar.gz (4.3 MB view details)

Uploaded Source

Built Distribution

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

mkdocs_materialx-10.1.7-py3-none-any.whl (10.2 MB view details)

Uploaded Python 3

File details

Details for the file mkdocs_materialx-10.1.7.tar.gz.

File metadata

  • Download URL: mkdocs_materialx-10.1.7.tar.gz
  • Upload date:
  • Size: 4.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mkdocs_materialx-10.1.7.tar.gz
Algorithm Hash digest
SHA256 ebf6241ea9d21245e5353f28c9df40c02299e2020a10030412d648f338848ff0
MD5 742a5300c6b7934a244016087e7d03be
BLAKE2b-256 6d56472acb798222c21e5911d3293bc0e09789acf0bf7ca565154c1c7b6e0f4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkdocs_materialx-10.1.7.tar.gz:

Publisher: build.yml on jaywhj/mkdocs-materialx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mkdocs_materialx-10.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_materialx-10.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 cfefd1968a4a4977c48fad2bb622a39f6218c3c51abb4de5269f2b5df9b7352b
MD5 1086de82da9ce633391d728a42d3af87
BLAKE2b-256 e6255c1160683d6e2f7caab284961846906e910307c61ba956964239da70f0ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkdocs_materialx-10.1.7-py3-none-any.whl:

Publisher: build.yml on jaywhj/mkdocs-materialx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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