From 79c420b59af14d7b6411df12c6b07aa680833966 Mon Sep 17 00:00:00 2001 From: Artem Sorokin Date: Wed, 20 Nov 2024 14:03:16 +0300 Subject: [PATCH] docs: Add glightbox plugin (#504) --- mkdocs.yml | 2 ++ poetry.lock | 13 ++++++++++++- pyproject.toml | 1 + 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index d88e2bae..9940f863 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -77,6 +77,8 @@ extra_css: - assets/extra.css plugins: + - glightbox: + background: none - search: lang: - en diff --git a/poetry.lock b/poetry.lock index cf8a599b..0016b4ec 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2138,6 +2138,17 @@ mergedeep = ">=1.3.4" platformdirs = ">=2.2.0" pyyaml = ">=5.1" +[[package]] +name = "mkdocs-glightbox" +version = "0.4.0" +description = "MkDocs plugin supports image lightbox with GLightbox." +optional = false +python-versions = "*" +files = [ + {file = "mkdocs-glightbox-0.4.0.tar.gz", hash = "sha256:392b34207bf95991071a16d5f8916d1d2f2cd5d5bb59ae2997485ccd778c70d9"}, + {file = "mkdocs_glightbox-0.4.0-py3-none-any.whl", hash = "sha256:e0107beee75d3eb7380ac06ea2d6eac94c999eaa49f8c3cbab0e7be2ac006ccf"}, +] + [[package]] name = "mkdocs-material" version = "9.5.44" @@ -4683,4 +4694,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.0" python-versions = ">=3.12,<3.13" -content-hash = "42fd1de2c028ad734841a281c287ca0fb96b7aa77911fe5c6c04750352d065ec" +content-hash = "65e1812ae748d00475b7bfed7b0ba921ce796c514588a25ee26b860800f63b89" diff --git a/pyproject.toml b/pyproject.toml index a789d8ad..67b98853 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,6 +30,7 @@ tox-uv = "1.16.0" mkdocs = "1.6.1" mkdocs-material = "9.5.44" mkdocs-material-extensions = "1.3.1" +mkdocs-glightbox = "0.4.0" mike = "2.1.3" [tool.poetry.group.homeassistant.dependencies]