From b083d508ebf54609e3bebf26a1c900dd171ad6c0 Mon Sep 17 00:00:00 2001
From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Date: Fri, 28 Jan 2022 21:00:28 +0100
Subject: [PATCH] docs: add admonition for `deepExtract` deprecation (#13904)

---
 docs/usage/config-presets.md        | 4 +++-
 docs/usage/configuration-options.md | 6 ++++--
 lib/manager/gradle/readme.md        | 6 ++++--
 3 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/docs/usage/config-presets.md b/docs/usage/config-presets.md
index 11a9032bf6..c6539005c3 100644
--- a/docs/usage/config-presets.md
+++ b/docs/usage/config-presets.md
@@ -253,7 +253,9 @@ For example the result may be:
 
 ## npm-hosted presets
 
-Using npm-hosted presets is deprecated, we recommend you do not follow these instructions and instead use a `local` preset.
+<!-- prettier-ignore -->
+!!! warning
+    Using npm-hosted presets is deprecated, we recommend you do not follow these instructions and instead use a `local` preset.
 
 If you manage multiple repositories using Renovate and want the same custom config across all or most of them, then you might want to consider publishing your own preset config so that you can "extend" it in every applicable repository.
 That way when you want to change your Renovate configuration you can make the change in one location rather than having to copy/paste it to every repository individually.
diff --git a/docs/usage/configuration-options.md b/docs/usage/configuration-options.md
index 603f00f20c..176431327c 100644
--- a/docs/usage/configuration-options.md
+++ b/docs/usage/configuration-options.md
@@ -353,8 +353,10 @@ Another example would be if you want to configure a DCO signoff to each commit.
 
 ## commitMessage
 
-Editing of `commitMessage` directly is now deprecated and not recommended.
-Please instead edit the fields such as `commitMessageAction`, `commitMessageExtra`, etc.
+<!-- prettier-ignore -->
+!!! warning
+    Editing of `commitMessage` directly is now deprecated and not recommended.
+    Please instead edit the fields such as `commitMessageAction`, `commitMessageExtra`, etc.
 
 ## commitMessageAction
 
diff --git a/lib/manager/gradle/readme.md b/lib/manager/gradle/readme.md
index b7261fb42e..1eca3d95d6 100644
--- a/lib/manager/gradle/readme.md
+++ b/lib/manager/gradle/readme.md
@@ -1,7 +1,9 @@
 The `gradle` manager's default behavior uses a custom parser written in JavaScript, similar to many others managers.
 It was initially known as `gradle-lite` but is now integrated into the `gradle` manager and used as default.
 
-Note: the `deepExtract` configuration option is deprecated, and will be removed in a future Renovate release.
-
 If `deepExtract` is configured to `true`, Renovate instead extracts Gradle dependencies by calling a custom Gradle script.
 The `gradle` binary is then used to extract Maven-type dependencies.
+
+<!-- prettier-ignore -->
+!!! warning
+    The `deepExtract` configuration option is deprecated, and will be removed in a future Renovate release.
-- 
GitLab