Skip to content

Commit ec07b77

Browse files
Make the code example more readable (#2000)
* modify the css * ping mistune because the latest version is broken
1 parent 8825040 commit ec07b77

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/docs/stylesheets/extra.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ h2.doc-heading {
217217
/* Ensure code is readable */
218218
.highlight code {
219219
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
220-
font-size: 0.9em;
220+
font-size: 0.75em;
221221
}
222222

223223
/* Copy button styling */

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ mkdocs-redirects>=1.2.1
55
mkdocstrings>=0.26.1
66
mkdocstrings-python>=1.12.2
77
urllib3==1.26.6
8+
mistune==3.0.2
89
git+https://github.com/stanfordnlp/dspy.git

0 commit comments

Comments
 (0)