Skip to main content

An MkDocs plugin to define today's date in the context

Project description

mkdocs-today-plugin

This plugin adds a today entry (of type datetime.date) to the config object. The plugin can also be used to patch configuration items with a date value. The usual use case is to patch the copyright entry.

copyright: "© {{ today.year }} Snakeoil Corp"

plugins:
  - search
  - today
      items:
        - copyright
  - macros

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_today_plugin-0.1.0.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

mkdocs_today_plugin-0.1.0-py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 3

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