Skip to main content

PyPI PyPI - License

mkdocs-title-casing-plugin

A lightweight mkdocs plugin to add title casing to all mkdocs pages and sections. Uses python-titlecase for formatting.

Setup

Install the plugin using pip:

pip install mkdocs-title-casing-plugin

Include the plugin in mkdocs.yml. For example:

plugins:
  - search
  - title-casing

If this is the first plugins entry that you are adding, you should probably also add search as this is enabled by default.

Usage

When the plugin is enabled, all section and page titles will be converted to use Title Case. For example, War and peace becomes War and Peace.

Configuration

  • capitalization_type (string)
    • title - default - gives War and Peace.
    • first_letter - gives War And Peace.
  • default_page_name (string). The page name to use when it cannot be determined automatically. Default is Home.

Example mkdocs.yml

plugins:
  - search
  - title-casing:
      capitalization_type: first_letter
      default_page_name: Index

Metadata

Release files for mkdocs-title-casing-plugin 0.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-title-casing-plugin 0.2.0
File Size Uploaded
mkdocs-title-casing-plugin-0.2.0.tar.gz 14.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mkdocs-title-casing-plugin 0.2.0
File Interpreter ABI Platform
mkdocs_title_casing_plugin-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 30.4 kB

Release files / mkdocs-title-casing-plugin-0.2.0.tar.gz

Download URL mkdocs-title-casing-plugin-0.2.0.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
25a36570119293226ae993fdfea9e1c54e1c683c5b3d0be383bb1e1e2d76833a
BLAKE2b-256 checksum
How to use checksums
4e8232ce0258cc9ccfc6673de376d3c8b1e90fdbf93d5c8d553314ee96c8ad5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

Release files / mkdocs_title_casing_plugin-0.2.0-py3-none-any.whl

Download URL mkdocs_title_casing_plugin-0.2.0-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57d19a93304d03bc02940514236409260d3a36f09f7a00c26de9026730350312
BLAKE2b-256 checksum
How to use checksums
d93523a371a86b8e32f9ad8f1906baca8c7284f454a73e8cbe99e9ff686abb56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

1 release file

0.1.0

1 release file

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