Skip to main content

Docs Hub - a dashboard-inspired custom MkDocs theme

Project description

Quick start

This guide shows how to install Docs Hub and run a local MkDocs project with the theme enabled.

Install dependencies

pip install mkdocs pymdown-extensions

If the theme is published as a package, install it as well:

pip install mkdocs-docs-hub

Create a project

Create a new MkDocs project:

mkdocs new my-docs
cd my-docs

Configure mkdocs.yml

Use Docs Hub as the active theme:

site_name: My Docs
site_description: Example project using Docs Hub

theme:
  name: docs-hub

plugins:
  - search:
      min_search_length: 2

markdown_extensions:
  - admonition
  - attr_list
  - md_in_html
  - pymdownx.details
  - pymdownx.superfences
  - pymdownx.tabbed:
      alternate_style: true

Add some pages

A minimal project might look like this:

docs/
  index.md
  guides/
    quick-start.md
  reference/
    theme-anatomy.md
    styling-tokens.md

Run locally

mkdocs serve

Then open the local development URL in your browser.

Recommended workflow

  1. Start with a small navigation tree
  2. Add a components page for testing UI patterns
  3. Verify search, tabs, admonitions, and code blocks
  4. Build once before publishing

Example callout

!!! tip "Recommendation" Keep a dedicated components.md page in your project while developing the theme.

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_docs_hub-0.1.0.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

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

mkdocs_docs_hub-0.1.0-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_docs_hub-0.1.0.tar.gz.

File metadata

  • Download URL: mkdocs_docs_hub-0.1.0.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mkdocs_docs_hub-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6e9807c1c4c5429acdd8a76d19e2b74a220def9125b1e576b1ca4494dee6aa5c
MD5 64fa702a4723ef98a9006c1d3dffb07b
BLAKE2b-256 9dec9d2c49795f230a0a3505f79ec372dcbf978f9d857447e0a9f215e2fedc40

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkdocs_docs_hub-0.1.0.tar.gz:

Publisher: release.yml on lodgev/mkdocs-docs-hub

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_docs_hub-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mkdocs_docs_hub-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mkdocs_docs_hub-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6a2f7df0f1d83ed94b62be8c7d6dd235256f31022065a8ffaddc5534b7050fb
MD5 9d09111ba34c9e8ac2cdf949402b4e69
BLAKE2b-256 08c2713038d09c1f7566b4663a6e650a38855af4202489ac2c68acfe99147ced

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkdocs_docs_hub-0.1.0-py3-none-any.whl:

Publisher: release.yml on lodgev/mkdocs-docs-hub

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