From b4226ecca2da37cf148cb41df51fb373116bdd51 Mon Sep 17 00:00:00 2001 From: TianKai Ma Date: Thu, 18 Jul 2024 14:43:19 +0800 Subject: [PATCH] feat: Add mkdocs-glightbox plugin for image lightbox functionality --- Pipfile | 1 + Pipfile.lock | 10 +++++++++- mkdocs.yml | 5 +++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Pipfile b/Pipfile index 7d700c6..d7c79d1 100644 --- a/Pipfile +++ b/Pipfile @@ -12,6 +12,7 @@ requests = "*" python-markdown-document-offsets-injection-extension = "==0.1.0" markdown = "==3.6" mkdocs-git-revision-date-localized-plugin = "*" +mkdocs-glightbox = "*" [dev-packages] diff --git a/Pipfile.lock b/Pipfile.lock index e09d4af..5ddbea4 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "e0f007010b585c2d6715334929a1c14154e680590a0483fdc9fb9612b5448b7d" + "sha256": "3b93056d30ae967e61eb2f09bea06165748bd1e9d233ef1bfc1bf59bc2c71f1f" }, "pipfile-spec": 6, "requires": { @@ -285,6 +285,14 @@ "markers": "python_version >= '3.8'", "version": "==1.2.6" }, + "mkdocs-glightbox": { + "hashes": [ + "sha256:392b34207bf95991071a16d5f8916d1d2f2cd5d5bb59ae2997485ccd778c70d9", + "sha256:e0107beee75d3eb7380ac06ea2d6eac94c999eaa49f8c3cbab0e7be2ac006ccf" + ], + "index": "pypi", + "version": "==0.4.0" + }, "packaging": { "hashes": [ "sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002", diff --git a/mkdocs.yml b/mkdocs.yml index 2c5d16f..5fefc57 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -23,6 +23,10 @@ nav: - Schoolwork Links: blog/schoolwork-links.md - Typst Tutorial for Latex User: blog/typst-tutorial-for-latex-user.md - USTC Websites: blog/ustc-websites.md + - XZKD New Tokens: blog/xzkd-new-tokens.md + - Math: + - Analysis: + - Calculus: math/analysis/calculus.md # Theme theme: @@ -63,6 +67,7 @@ theme: plugins: - git-revision-date-localized + - glightbox # Customization extra: