From a8d5819f86ef45408b3a3f46cca0427cd2b8846b Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Wed, 10 Apr 2024 23:56:53 -0700 Subject: [PATCH] re-enable code copy button & add doc link about related feature --- docs/conf.py | 1 + docs/customization.rst | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index b49227322..703fce161 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -132,6 +132,7 @@ "toc.follow", "toc.sticky", "content.tabs.link", + "content.code.copy", "announce.dismiss", ], "palette": [ diff --git a/docs/customization.rst b/docs/customization.rst index c6556885a..0656922fc 100644 --- a/docs/customization.rst +++ b/docs/customization.rst @@ -235,6 +235,7 @@ Configuration Options Some features that have been ported from the mkdocs-material theme and can be enabled by specifying the feature's name in a list of strings. The following features are supported: + - `content.code.copy `_ - `content.code.annotate `_ .. seealso:: Refer to the :doc:`code_annotations` document for more detail.