Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

Make the code example more readable (#2000)

Chen Qianec07b77d07e2
diff --git a/docs/docs/stylesheets/extra.css b/docs/docs/stylesheets/extra.css
index 346bf3d16..537f6d540 100644
--- a/docs/docs/stylesheets/extra.css
+++ b/docs/docs/stylesheets/extra.css
@@ -217,7 +217,7 @@ h2.doc-heading {
/* Ensure code is readable */
.highlight code {
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
- font-size: 0.9em;
+ font-size: 0.75em;
}
/* Copy button styling */
diff --git a/docs/requirements.txt b/docs/requirements.txt
index 08907d387..af1bb54b3 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -5,4 +5,5 @@ mkdocs-redirects>=1.2.1
mkdocstrings>=0.26.1
mkdocstrings-python>=1.12.2
urllib3==1.26.6
+mistune==3.0.2
git+https://github.com/stanfordnlp/dspy.git