Skip to main content

A theme for rendering manuals using mkdocs

Project description

Theme for creating team manuals

This theme is based on top of mkdocs-basic-theme.

https://github.com/mkdocs/mkdocs-basic-theme

Usage

Install the theme

pip install mkdocs-manuals-theme

Use the theme in mkdocs.yml

theme:
    name: manuals-theme

Development

Setting up dev environment:

# create and activate virtual env
python3 -m venv .venv
source .venv/bin/activate

# install requirements
pip install '.[dev]'

Summary of understanding

The documentation around templating is pretty good. It is all on one page :) https://www.mkdocs.org/dev-guide/themes/#navigation-objects

There are 2 global variables on each page: nav and toc

Nav is an iterable of 3 kinds of page: section, page and link

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-manuals-theme-0.10.0.tar.gz (47.9 kB view details)

Uploaded Source

Built Distribution

mkdocs_manuals_theme-0.10.0-py3-none-any.whl (54.1 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs-manuals-theme-0.10.0.tar.gz.

File metadata

  • Download URL: mkdocs-manuals-theme-0.10.0.tar.gz
  • Upload date:
  • Size: 47.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for mkdocs-manuals-theme-0.10.0.tar.gz
Algorithm Hash digest
SHA256 68c1340470ee29564ba30151629710abec08e1241ca5bd83c4e871c8e78589d6
MD5 9f5f89b521cad5fdd2bee0fa8dc6d567
BLAKE2b-256 155c9fe732d49f33d1a3617a9b1b46a0fa11976f9b6909a1da287353d589eacf

See more details on using hashes here.

File details

Details for the file mkdocs_manuals_theme-0.10.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_manuals_theme-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f898a8d409de914cc399032e60887a6ddfc9faf814061e6b2a946fb7ad18d9bc
MD5 2c3d1327c0697b08d7bcbc0adb547ae8
BLAKE2b-256 8ec27b09e657293645e48614c66c37d949bf2ed7a6ba01ba3565592bf6ecf0bc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page