mkdocs-today-plugin


Namemkdocs-today-plugin JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/supcik/mkdocs-today-plugin
SummaryAn MkDocs plugin to define today's date in the context
upload_time2023-06-16 09:12:11
maintainer
docs_urlNone
authorJacques Supcik
requires_python>=3.10,<4.0
licenseApache-2
keywords mkdocs python markdown wiki
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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.

```yaml
copyright: "&copy; {{ today.year }} Snakeoil Corp"

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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/supcik/mkdocs-today-plugin",
    "name": "mkdocs-today-plugin",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "mkdocs,python,markdown,wiki",
    "author": "Jacques Supcik",
    "author_email": "jacques.supcik@hefr.ch",
    "download_url": "https://files.pythonhosted.org/packages/cc/06/61dcced4c58084ea139f6ae039f30d98f06c53ae56f3335c55b6c5a5f928/mkdocs_today_plugin-0.1.0.tar.gz",
    "platform": null,
    "description": "# mkdocs-today-plugin\n\nThis plugin adds a `today` entry (of type datetime.date) to the config object.\nThe plugin can also be used to patch configuration items with a date value. The\nusual use case is to patch the `copyright` entry.\n\n```yaml\ncopyright: \"&copy; {{ today.year }} Snakeoil Corp\"\n\nplugins:\n  - search\n  - today\n      items:\n        - copyright\n  - macros\n```\n",
    "bugtrack_url": null,
    "license": "Apache-2",
    "summary": "An MkDocs plugin to define today's date in the context",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/supcik/mkdocs-today-plugin",
        "Repository": "https://github.com/supcik/mkdocs-today-plugin"
    },
    "split_keywords": [
        "mkdocs",
        "python",
        "markdown",
        "wiki"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6ca2ab51170fe59e513e7b0985bef8ff571e18ae8a768c6511258d0edbdfb24d",
                "md5": "242a3654772a5746dcbffeb5efde9286",
                "sha256": "00f885ceef81ce370be090f012545318b1dcc615e57401a38b4fac39b060e505"
            },
            "downloads": -1,
            "filename": "mkdocs_today_plugin-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "242a3654772a5746dcbffeb5efde9286",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 3044,
            "upload_time": "2023-06-16T09:12:10",
            "upload_time_iso_8601": "2023-06-16T09:12:10.379645Z",
            "url": "https://files.pythonhosted.org/packages/6c/a2/ab51170fe59e513e7b0985bef8ff571e18ae8a768c6511258d0edbdfb24d/mkdocs_today_plugin-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cc0661dcced4c58084ea139f6ae039f30d98f06c53ae56f3335c55b6c5a5f928",
                "md5": "3ca169590c4fb6380cb3f6fa3cfb654b",
                "sha256": "3c12e4ce65b8c9b986de7a58b7fba4b9342cf87f996f8cee35b78efa9efefea6"
            },
            "downloads": -1,
            "filename": "mkdocs_today_plugin-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3ca169590c4fb6380cb3f6fa3cfb654b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 2439,
            "upload_time": "2023-06-16T09:12:11",
            "upload_time_iso_8601": "2023-06-16T09:12:11.862134Z",
            "url": "https://files.pythonhosted.org/packages/cc/06/61dcced4c58084ea139f6ae039f30d98f06c53ae56f3335c55b6c5a5f928/mkdocs_today_plugin-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-16 09:12:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "supcik",
    "github_project": "mkdocs-today-plugin",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "mkdocs-today-plugin"
}
        
Elapsed time: 0.07226s