From 161634beef15035b097a35bfce3d33748e30059c Mon Sep 17 00:00:00 2001 From: Debbie Matthews Date: Sat, 16 Aug 2025 11:47:00 -0700 Subject: [PATCH 1/3] Add llm-full.txt to homepage --- pages/index.js | 18 +++++++++--------- styles/globals.css | 13 +++++++++++++ 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/pages/index.js b/pages/index.js index 3daf8d355..90683b79c 100644 --- a/pages/index.js +++ b/pages/index.js @@ -24,6 +24,7 @@ import NewsContainer from "../components/layouts/newsContainer"; import InlineCalloutContainer from "../components/layouts/inlineCalloutContainer"; import TileContainer from "../components/layouts/tileContainer"; import RefCard from "../components/blocks/refCard"; +import Tip from "../components/blocks/tip"; import { H1, H2 } from "../components/blocks/headers"; import NewsFeed from "../components/blocks/newsFeed"; @@ -114,7 +115,7 @@ export default function Home({ window, menu }) {
-
+

Streamlit documentation

Streamlit is an open-source @@ -127,14 +128,13 @@ export default function Home({ window, menu }) { - {/*

What's new

- - - - - - - */} + +

+ Point your coding assistant to{" "} + llms-full.txt to include the + Streamlit docs in your context! +

+

How to use our docs

diff --git a/styles/globals.css b/styles/globals.css index a92f8dc07..42432e0cb 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -20,3 +20,16 @@ body { @apply absolute top-px h-px p-0 -m-px overflow-hidden whitespace-nowrap border-none; clip: rect(0, 0, 0, 0); } + +/* Links on the homepage */ +.homepage p a, +.homepage ol li a, +.homepage ul li a { + @apply border-b border-b-gray-90 hover:border-red-60 hover:opacity-80; +} + +:global(.dark) .homepage p a, +:global(.dark) .homepage ol li a, +:global(.dark) .homepage ul li a { + @apply border-b-white !important; +} From b0754691eb4584c9f01137670e949d0ce7658e68 Mon Sep 17 00:00:00 2001 From: Debbie Matthews Date: Sat, 16 Aug 2025 11:58:26 -0700 Subject: [PATCH 2/3] Fix darkmode color --- styles/globals.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/styles/globals.css b/styles/globals.css index 42432e0cb..e5b7bf56d 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -28,8 +28,8 @@ body { @apply border-b border-b-gray-90 hover:border-red-60 hover:opacity-80; } -:global(.dark) .homepage p a, -:global(.dark) .homepage ol li a, -:global(.dark) .homepage ul li a { +.dark .homepage p a, +.dark .homepage ol li a, +.dark .homepage ul li a { @apply border-b-white !important; } From eb501f3b94f0aa7a22980d5cadcb10bf467f1b3f Mon Sep 17 00:00:00 2001 From: Debbie Matthews Date: Sat, 16 Aug 2025 12:17:16 -0700 Subject: [PATCH 3/3] Movee CSS to text.scss --- styles/globals.css | 13 ------------- styles/text.scss | 13 +++++++++++++ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/styles/globals.css b/styles/globals.css index e5b7bf56d..a92f8dc07 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -20,16 +20,3 @@ body { @apply absolute top-px h-px p-0 -m-px overflow-hidden whitespace-nowrap border-none; clip: rect(0, 0, 0, 0); } - -/* Links on the homepage */ -.homepage p a, -.homepage ol li a, -.homepage ul li a { - @apply border-b border-b-gray-90 hover:border-red-60 hover:opacity-80; -} - -.dark .homepage p a, -.dark .homepage ol li a, -.dark .homepage ul li a { - @apply border-b-white !important; -} diff --git a/styles/text.scss b/styles/text.scss index 8bdd37f0d..3451378f2 100644 --- a/styles/text.scss +++ b/styles/text.scss @@ -121,3 +121,16 @@ tt.docutils.literal { div.code-desc { @apply mb-4 text-gray-90 dark:text-gray-40; } + +/* Links on the homepage */ +.homepage p a, +.homepage ol li a, +.homepage ul li a { + @apply border-b border-b-gray-90 hover:border-red-60 hover:opacity-80; +} + +.dark .homepage p a, +.dark .homepage ol li a, +.dark .homepage ul li a { + @apply border-b-white !important; +}