Skip to content

Commit 9860b27

Browse files
committed
Added SurfaceEdge documentation
1 parent e919014 commit 9860b27

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

aerocaps/geom/surfaces.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@
3232

3333

3434
class SurfaceEdge(Enum):
35+
"""
36+
Enum describing the name of each edge of a four-sided surface. The names are defined by the name and value of the
37+
parameter that is constant along the edge.
38+
39+
.. figure:: ../images/cardinal_transparent.*
40+
:width: 300
41+
:align: center
42+
43+
Surface edge nomenclature
44+
"""
3545
v1 = 0
3646
v0 = 1
3747
u1 = 2

docs/source/_static/css/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,9 @@ table.max-width-table {
1010
width: 500px;
1111
max-width: 100%;
1212
}
13+
14+
/* Prevent Sphinx from converting transparent backgrounds to white in dark mode */
15+
html[data-theme="dark"] .bd-content img:not(.only-dark,.only-light) {
16+
background-color: var(--bs-body-bg);
17+
border-radius: 0.25rem;
18+
}
99.4 KB
Loading

0 commit comments

Comments
 (0)