diff --git a/README.md b/README.md
index 1b5e48cbec..2369d9c6aa 100644
--- a/README.md
+++ b/README.md
@@ -128,17 +128,13 @@ There's a
-
-
-
-
-
-
+
+
+
+
+
+
+
If you are building a CLI app to be used in the terminal instead of a web API, check out **Typer**.
diff --git a/docs/en/docs/css/custom.css b/docs/en/docs/css/custom.css
index dc9c7d63b4..4b8c2b64e9 100644
--- a/docs/en/docs/css/custom.css
+++ b/docs/en/docs/css/custom.css
@@ -212,3 +212,5 @@ Inspired by Termynal's CSS tricks with modifications
border-bottom: .05rem dotted var(--md-default-fg-color--light);
cursor: help;
}
+
+.md-content .only-not-mkdocs { display: none; }
diff --git a/docs/en/docs/index.md b/docs/en/docs/index.md
index 86a5acdd9e..f9b8c972f3 100644
--- a/docs/en/docs/index.md
+++ b/docs/en/docs/index.md
@@ -125,17 +125,18 @@ There's a
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
If you are building a CLI app to be used in the terminal instead of a web API, check out **Typer**.
diff --git a/docs/en/docs/js/custom.js b/docs/en/docs/js/custom.js
index 1be26ddfdd..be326d3029 100644
--- a/docs/en/docs/js/custom.js
+++ b/docs/en/docs/js/custom.js
@@ -174,36 +174,10 @@ function handleSponsorImages() {
});
}
-function setupThemeImages() {
- const updateImages = () => {
- const scheme = document.body.getAttribute("data-md-color-scheme");
- const isDark = scheme === "slate";
- document.querySelectorAll("picture[data-light-src][data-dark-src]").forEach((picture) => {
- const src = (isDark ? picture.dataset.darkSrc : picture.dataset.lightSrc);
- const source = picture.querySelector("source");
- const img = picture.querySelector("img");
- if (source) {
- source.srcset = src;
- }
- if (img) {
- img.src = src;
- }
- });
- }
-
- new MutationObserver(updateImages).observe(document.body, {
- attributes: true,
- attributeFilter: ["data-md-color-scheme"],
- });
-
- updateImages();
-}
-
async function main() {
setupTermynal();
showRandomAnnouncement('announce-left', 5000)
handleSponsorImages();
- setupThemeImages();
}
document$.subscribe(() => {
main()