Skip to content

Commit 2ef6518

Browse files
committed
Deployed df4e7c8 with MkDocs version: 1.6.1
1 parent d1394c4 commit 2ef6518

File tree

27 files changed

+139
-74
lines changed

27 files changed

+139
-74
lines changed

404.html

+1-1
Large diffs are not rendered by default.

assets/_markdown_exec_pyodide.css

+6-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,9 @@ html[data-theme="dark"] {
4747
.pyodide-clickable {
4848
cursor: pointer;
4949
text-align: right;
50-
}
50+
}
51+
52+
/* For themes other than Material. */
53+
.pyodide .twemoji svg {
54+
width: 1rem;
55+
}

assets/_markdown_exec_pyodide.js

+15-7
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ function clearOutput(element) {
1616
}
1717

1818
async function evaluatePython(pyodide, editor, output, session) {
19-
pyodide.setStdout({ batched: (string) => { writeOutput(output, string); } });
19+
pyodide.setStdout({ batched: (string) => { writeOutput(output, new Option(string).innerHTML); } });
2020
let result, code = editor.getValue();
2121
clearOutput(output);
2222
try {
2323
result = await pyodide.runPythonAsync(code, { globals: getSession(session, pyodide) });
2424
} catch (error) {
25-
writeOutput(output, error);
25+
writeOutput(output, new Option(error.toString()).innerHTML);
2626
}
27-
if (result) writeOutput(output, result);
27+
if (result) writeOutput(output, new Option(result).innerHTML);
2828
hljs.highlightElement(output);
2929
}
3030

@@ -91,11 +91,19 @@ async function setupPyodide(idPrefix, install = null, themeLight = 'tomorrow', t
9191
writeOutput(output, "Initializing...");
9292
let pyodide = await pyodidePromise;
9393
if (install && install.length) {
94-
micropip = pyodide.pyimport("micropip");
95-
for (const package of install)
96-
await micropip.install(package);
94+
try {
95+
micropip = pyodide.pyimport("micropip");
96+
for (const package of install)
97+
await micropip.install(package);
98+
clearOutput(output);
99+
} catch (error) {
100+
clearOutput(output);
101+
writeOutput(output, `Could not install one or more packages: ${install.join(", ")}\n`);
102+
writeOutput(output, new Option(error.toString()).innerHTML);
103+
}
104+
} else {
105+
clearOutput(output);
97106
}
98-
clearOutput(output);
99107
run.onclick = () => evaluatePython(pyodide, editor, output, session);
100108
clear.onclick = () => clearOutput(output);
101109
output.parentElement.parentElement.addEventListener("keydown", (event) => {

assets/_mkdocstrings.css

+34-6
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,28 @@
4242
font-weight: bold;
4343
}
4444

45+
/* Backlinks crumb separator. */
46+
.doc-backlink-crumb {
47+
display: inline-flex;
48+
gap: .2rem;
49+
white-space: nowrap;
50+
align-items: center;
51+
vertical-align: middle;
52+
}
53+
.doc-backlink-crumb:not(:first-child)::before {
54+
background-color: var(--md-default-fg-color--lighter);
55+
content: "";
56+
display: inline;
57+
height: 1rem;
58+
--md-path-icon: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.59 16.58 13.17 12 8.59 7.41 10 6l6 6-6 6z"/></svg>');
59+
-webkit-mask-image: var(--md-path-icon);
60+
mask-image: var(--md-path-icon);
61+
width: 1rem;
62+
}
63+
.doc-backlink-crumb.last {
64+
font-weight: bold;
65+
}
66+
4567
/* Symbols in Navigation and ToC. */
4668
:root, :host,
4769
[data-md-color-scheme="default"] {
@@ -83,7 +105,8 @@ code.doc-symbol {
83105
font-weight: bold;
84106
}
85107

86-
code.doc-symbol-parameter {
108+
code.doc-symbol-parameter,
109+
a code.doc-symbol-parameter {
87110
color: var(--doc-symbol-parameter-fg-color);
88111
background-color: var(--doc-symbol-parameter-bg-color);
89112
}
@@ -92,7 +115,8 @@ code.doc-symbol-parameter::after {
92115
content: "param";
93116
}
94117

95-
code.doc-symbol-attribute {
118+
code.doc-symbol-attribute,
119+
a code.doc-symbol-attribute {
96120
color: var(--doc-symbol-attribute-fg-color);
97121
background-color: var(--doc-symbol-attribute-bg-color);
98122
}
@@ -101,7 +125,8 @@ code.doc-symbol-attribute::after {
101125
content: "attr";
102126
}
103127

104-
code.doc-symbol-function {
128+
code.doc-symbol-function,
129+
a code.doc-symbol-function {
105130
color: var(--doc-symbol-function-fg-color);
106131
background-color: var(--doc-symbol-function-bg-color);
107132
}
@@ -110,7 +135,8 @@ code.doc-symbol-function::after {
110135
content: "func";
111136
}
112137

113-
code.doc-symbol-method {
138+
code.doc-symbol-method,
139+
a code.doc-symbol-method {
114140
color: var(--doc-symbol-method-fg-color);
115141
background-color: var(--doc-symbol-method-bg-color);
116142
}
@@ -119,7 +145,8 @@ code.doc-symbol-method::after {
119145
content: "meth";
120146
}
121147

122-
code.doc-symbol-class {
148+
code.doc-symbol-class,
149+
a code.doc-symbol-class {
123150
color: var(--doc-symbol-class-fg-color);
124151
background-color: var(--doc-symbol-class-bg-color);
125152
}
@@ -128,7 +155,8 @@ code.doc-symbol-class::after {
128155
content: "class";
129156
}
130157

131-
code.doc-symbol-module {
158+
code.doc-symbol-module,
159+
a code.doc-symbol-module {
132160
color: var(--doc-symbol-module-fg-color);
133161
background-color: var(--doc-symbol-module-bg-color);
134162
}

assets/javascripts/bundle.10a6bb14.min.js assets/javascripts/bundle.f807c082.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/stylesheets/main.ade31302.min.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/stylesheets/main.f15084e1.min.css

-1
This file was deleted.

changelog/index.html

+3-3
Large diffs are not rendered by default.

code_of_conduct/index.html

+2-2
Large diffs are not rendered by default.

contributing/index.html

+2-2
Large diffs are not rendered by default.

coverage/index.html

+3-3
Large diffs are not rendered by default.

credits/index.html

+2-2
Large diffs are not rendered by default.

index.html

+2-2
Large diffs are not rendered by default.

insiders/changelog/index.html

+2-2
Large diffs are not rendered by default.

insiders/index.html

+2-2
Large diffs are not rendered by default.

insiders/installation/index.html

+2-2
Large diffs are not rendered by default.

license/index.html

+2-2
Large diffs are not rendered by default.

llms-full.txt

+17-1
Original file line numberDiff line numberDiff line change
@@ -2872,7 +2872,23 @@ Returns:
28722872
### parse_sphinx
28732873

28742874
```python
2875-
parse_sphinx(line: str) -> InventoryItem
2875+
parse_sphinx(
2876+
line: str, *, return_none: Literal[False]
2877+
) -> InventoryItem
2878+
2879+
```
2880+
2881+
```python
2882+
parse_sphinx(
2883+
line: str, *, return_none: Literal[True]
2884+
) -> InventoryItem | None
2885+
2886+
```
2887+
2888+
```python
2889+
parse_sphinx(
2890+
line: str, *, return_none: bool = False
2891+
) -> InventoryItem | None
28762892

28772893
```
28782894

recipes/index.html

+2-2
Large diffs are not rendered by default.

reference/mkdocstrings/index.html

+15-7
Large diffs are not rendered by default.

search/search_index.json

+1-1
Large diffs are not rendered by default.

sitemap.xml

+16-16
Original file line numberDiff line numberDiff line change
@@ -2,66 +2,66 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>https://mkdocstrings.github.io/</loc>
5-
<lastmod>2025-03-28</lastmod>
5+
<lastmod>2025-03-31</lastmod>
66
</url>
77
<url>
88
<loc>https://mkdocstrings.github.io/changelog/</loc>
9-
<lastmod>2025-03-28</lastmod>
9+
<lastmod>2025-03-31</lastmod>
1010
</url>
1111
<url>
1212
<loc>https://mkdocstrings.github.io/code_of_conduct/</loc>
13-
<lastmod>2025-03-28</lastmod>
13+
<lastmod>2025-03-31</lastmod>
1414
</url>
1515
<url>
1616
<loc>https://mkdocstrings.github.io/contributing/</loc>
17-
<lastmod>2025-03-28</lastmod>
17+
<lastmod>2025-03-31</lastmod>
1818
</url>
1919
<url>
2020
<loc>https://mkdocstrings.github.io/credits/</loc>
21-
<lastmod>2025-03-28</lastmod>
21+
<lastmod>2025-03-31</lastmod>
2222
</url>
2323
<url>
2424
<loc>https://mkdocstrings.github.io/license/</loc>
25-
<lastmod>2025-03-28</lastmod>
25+
<lastmod>2025-03-31</lastmod>
2626
</url>
2727
<url>
2828
<loc>https://mkdocstrings.github.io/recipes/</loc>
29-
<lastmod>2025-03-28</lastmod>
29+
<lastmod>2025-03-31</lastmod>
3030
</url>
3131
<url>
3232
<loc>https://mkdocstrings.github.io/troubleshooting/</loc>
33-
<lastmod>2025-03-28</lastmod>
33+
<lastmod>2025-03-31</lastmod>
3434
</url>
3535
<url>
3636
<loc>https://mkdocstrings.github.io/insiders/</loc>
37-
<lastmod>2025-03-28</lastmod>
37+
<lastmod>2025-03-31</lastmod>
3838
</url>
3939
<url>
4040
<loc>https://mkdocstrings.github.io/insiders/changelog/</loc>
41-
<lastmod>2025-03-28</lastmod>
41+
<lastmod>2025-03-31</lastmod>
4242
</url>
4343
<url>
4444
<loc>https://mkdocstrings.github.io/insiders/installation/</loc>
45-
<lastmod>2025-03-28</lastmod>
45+
<lastmod>2025-03-31</lastmod>
4646
</url>
4747
<url>
4848
<loc>https://mkdocstrings.github.io/reference/mkdocstrings/</loc>
49-
<lastmod>2025-03-28</lastmod>
49+
<lastmod>2025-03-31</lastmod>
5050
</url>
5151
<url>
5252
<loc>https://mkdocstrings.github.io/usage/</loc>
53-
<lastmod>2025-03-28</lastmod>
53+
<lastmod>2025-03-31</lastmod>
5454
</url>
5555
<url>
5656
<loc>https://mkdocstrings.github.io/usage/handlers/</loc>
57-
<lastmod>2025-03-28</lastmod>
57+
<lastmod>2025-03-31</lastmod>
5858
</url>
5959
<url>
6060
<loc>https://mkdocstrings.github.io/usage/theming/</loc>
61-
<lastmod>2025-03-28</lastmod>
61+
<lastmod>2025-03-31</lastmod>
6262
</url>
6363
<url>
6464
<loc>https://mkdocstrings.github.io/coverage/</loc>
65-
<lastmod>2025-03-28</lastmod>
65+
<lastmod>2025-03-31</lastmod>
6666
</url>
6767
</urlset>

sitemap.xml.gz

1 Byte
Binary file not shown.

troubleshooting/index.html

+2-2
Large diffs are not rendered by default.

usage/handlers/index.html

+2-2
Large diffs are not rendered by default.

usage/index.html

+2-2
Large diffs are not rendered by default.

usage/theming/index.html

+2-2
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)