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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mkdocs_today_plugin-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Darwin/22.5.0

File hashes

Hashes for mkdocs_today_plugin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3c12e4ce65b8c9b986de7a58b7fba4b9342cf87f996f8cee35b78efa9efefea6
MD5 3ca169590c4fb6380cb3f6fa3cfb654b
BLAKE2b-256 cc0661dcced4c58084ea139f6ae039f30d98f06c53ae56f3335c55b6c5a5f928

See more details on using hashes here.

File details

Details for the file mkdocs_today_plugin-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_today_plugin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00f885ceef81ce370be090f012545318b1dcc615e57401a38b4fac39b060e505
MD5 242a3654772a5746dcbffeb5efde9286
BLAKE2b-256 6ca2ab51170fe59e513e7b0985bef8ff571e18ae8a768c6511258d0edbdfb24d

See more details on using hashes here.

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