Skip to content

Commit 864901f

Browse files
authored
Merge pull request #282 from JuliaDiff/ox/primalchange
"Changing the Primal" Design Notes
2 parents f054f16 + feb79f0 commit 864901f

File tree

3 files changed

+524
-2
lines changed

3 files changed

+524
-2
lines changed

docs/make.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ makedocs(
4040
"Gradient Accumulation" => "gradient_accumulation.md",
4141
"Usage in AD" => [
4242
"Overview" => "autodiff/overview.md",
43-
"Operator Overloading" => "autodiff/operator_overloading.md"
43+
"Operator Overloading" => "autodiff/operator_overloading.md",
4444
],
4545
"Design" => [
46+
"Changing the Primal" => "design/changing_the_primal.md",
4647
"Many Differential Types" => "design/many_differentials.md",
4748
],
4849
"API" => "api.md",

docs/src/assets/chainrules.scss

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Only for light theme
22

33
html:not(.theme--documenter-dark) body #documenter {
4-
54
// Links
65

76
a {
@@ -107,3 +106,16 @@ html:not(.theme--documenter-dark) body #documenter {
107106
html.theme--documenter-dark .admonition.is-category-terminology {
108107
border-color: #FFEC8B;
109108
}
109+
110+
// Details
111+
details {
112+
padding-left: 1rem;
113+
padding-right: 1rem;
114+
padding-bottom: 1rem;
115+
background: aliceblue;
116+
}
117+
118+
html.theme--documenter-dark details {
119+
background: #282f2f;
120+
}
121+

0 commit comments

Comments
 (0)