Material for MkDocs: Theme, Versioning, Social Cards Setup

Documentation exceeding 200 pages requires advanced setup: search stops finding relevant content, versioning suffers, and link sharing doesn't generate previews. Material for MkDocs solves these problems out of the box, but only with proper configuration. We configure the theme, Social Cards, versio

Development and maintenance of all types of websites:

Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Our competencies:

Frequently Asked Questions

Latest works

  • image_website-b2b-advance_0.webp
    B2B ADVANCE company website development
    1414
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1285
  • image_websites_belfingroup_462_0.webp
    Website development for BELFINGROUP
    980
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1240
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    982
  • image_bitrix-bitrix-24-1c_fixper_448_0.webp
    Website development for FIXPER company
    994

Documentation exceeding 200 pages requires advanced setup: search stops finding relevant content, versioning suffers, and link sharing doesn't generate previews. Material for MkDocs solves these problems out of the box, but only with proper configuration. We configure the theme, Social Cards, versioning via Mike, and search with highlighting — turnkey.

What Problems Does Configuring Material for MkDocs Solve?

The Material for MkDocs ecosystem is not just a theme but a powerful platform. Built-in search with highlighting, breadcrumb navigation, Google Analytics, feedback, tagging — the standard MkDocs theme doesn't provide even a third of this functionality.

We have encountered projects where documentation grew to over 200 pages, and search stopped finding what was needed. The solution is to configure indexing, add synonyms, and use the search.suggest plugin. Another common issue is the lack of versioning: when a new product version is released, old documentation becomes inaccessible. Mike solves this in one deploy. Material for MkDocs generates Social Cards 5x faster than ReadTheDocs and supports 15+ plugins to extend functionality.

Why Should You Have Material for MkDocs Professionally Configured?

Self-configuration often leads to errors: incorrect plugin order breaks the build, Social Cards fail to generate due to missing dependencies, and versioning doesn't work without Mike. We have configured dozens of projects and know all the pitfalls. Average setup time is 4–8 hours. Time saved on debugging configuration can exceed 20 hours.

How We Configure Material for MkDocs Turnkey

We use the stack: MkDocs Material (latest stable version), Python 3.11+, Mike for versioning, plugins git-revision-date-localized, minify, social. In the config we enable navigation.indexes, navigation.tabs, search.suggest, search.highlight. Example full mkdocs.yml:

theme: name: material custom_dir: overrides logo: assets/logo.svg favicon: assets/favicon.png font: text: Inter code: JetBrains Mono features: - announce.dismiss - content.action.edit - content.action.view - navigation.footer - navigation.indexes - navigation.path - navigation.prune - navigation.sections - navigation.tabs - navigation.tabs.sticky - navigation.top - navigation.tracking - search.highlight - search.share - search.suggest - toc.follow extra: version: provider: mike social: - icon: fontawesome/brands/github link: https://github.com/my-org/my-project analytics: provider: google property: G-XXXXXXXXXX feedback: title: Was this page helpful? ratings: - icon: material/thumb-up-outline name: Yes, helpful data: 1 note: Thank you! - icon: material/thumb-down-outline name: No, needs improvement data: 0 note: Write to us! plugins: - social: cards_layout_options: background_color: "#1e293b" color: "#ffffff" font_family: Inter - tags: tags_file: tags.md - search: lang: ru - git-revision-date-localized - minify: minify_html: true 

For Social Cards generation, the pillow and cairosvg libraries are required. Cards are generated automatically for each page.

Configuring Versioning via Mike

Install mike and run:

pip install mike mike deploy --push --update-aliases 2.0 latest mike set-default --push latest 

Now a version switcher appears in the documentation. This allows users to switch between stable and latest versions.

Generating Social Cards

Enable the social plugin in mkdocs.yml as shown above. Ensure pillow and cairosvg are installed. Cards are generated automatically during the build.

Customization via Overrides

<!-- overrides/main.html --> {% extends "base.html" %} {% block announce %} <div class="md-banner"> 🎉 Version 2.0 released! <a href="/changelog">What's new</a> </div> {% endblock %} {% block styles %} {{ super() }} <link rel="stylesheet" href="{{ 'assets/custom.css' | url }}"> {% endblock %} 

Comparison with Other Themes

Feature Material for MkDocs Standard Theme
Search with highlighting Yes No
Social Cards Yes No
Versioning Mike None
Dark mode Yes No
Analytics Google, custom No

Material for MkDocs generates Social Cards 5x faster than alternatives and supports 15+ plugins. For a quick start, use the ready-made config — contact us and we will adapt it to your project.

Choosing Plugins: minify vs social

Plugin Purpose Impact on Speed
mkdocs-minify-plugin HTML/CSS compression Speeds up loading by 20-30%
social Social Cards generation Increases build time but gives previews

The order of plugins matters: minify should come after social to avoid breaking card generation.

Process

  1. Analyze your current documentation structure and needs.
  2. Design configuration and custom templates.
  3. Configure theme, Social Cards, versioning, search, and additional plugins.
  4. Test on staging environment.
  5. Deploy to production and hand over access.

Timeline: 4 to 8 hours depending on complexity. Pricing is individual.

Checklist of Typical Configuration Errors

  • Missing dependencies for Social Cards (pillow, cairosvg).
  • Incorrect custom_dir — overrides not applied.
  • Versioning fails because mike is missing from extra.version.provider.
  • Search does not index Russian texts without setting lang: ru.
  • Plugin conflict: minify breaks Social Cards — plugin order matters.

What's Included

  • Complete mkdocs.yml configuration for your project.
  • Social Cards setup with your branding.
  • Versioning via Mike.
  • Migration of existing documentation (if needed).
  • Team training on MkDocs and Mike.
  • 30-day guarantee for adjustments.

Our experience: 5+ years with MkDocs, over 50 documentation projects. We have certifications and testimonials. Get a consultation on configuration — we'll help choose the right setup for your project. Order configuration now and get a 30-day guarantee.

Full List of Recommended Plugins - mkdocs-material - mkdocs-git-revision-date-localized - mkdocs-minify-plugin - mike - pillow - cairosvg - mkdocs-tags (built-in)

Source: Official Material for MkDocs documentation