Skip to content

Commit 97cfa3e

Browse files
committed
update documentation/reference
1 parent 2bd52ce commit 97cfa3e

File tree

7 files changed

+375
-218
lines changed

7 files changed

+375
-218
lines changed

blendmodes/blend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ def reflect(background: np.ndarray, foreground: np.ndarray) -> np.ndarray:
6161
"""BlendType.REFLECT."""
6262
with np.errstate(divide="ignore"):
6363
return np.where(
64-
foreground != 1.0, np.minimum((background ** 2) / (1.0 - foreground), 1.0), 1.0
64+
foreground != 1.0, np.minimum((background**2) / (1.0 - foreground), 1.0), 1.0
6565
)
6666

6767

6868
def glow(background: np.ndarray, foreground: np.ndarray) -> np.ndarray:
6969
"""BlendType.GLOW."""
7070
with np.errstate(divide="ignore"):
7171
return np.where(
72-
background != 1.0, np.minimum((foreground ** 2) / (1.0 - background), 1.0), 1.0
72+
background != 1.0, np.minimum((foreground**2) / (1.0 - background), 1.0), 1.0
7373
)
7474

7575

documentation/reference/MODULES.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

documentation/reference/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
# Blendmodes Modules
1+
# Blendmodes Index
22

3-
> Auto-generated documentation modules index.
3+
> Auto-generated documentation index.
44
5-
Full list of [Blendmodes](README.md#blendmodes-index) project modules.
5+
A full list of `Blendmodes` project modules.
66

7-
- [Blendmodes Index](README.md#blendmodes-index)
87
- [Blendmodes](blendmodes/index.md#blendmodes)
98
- [Blend](blendmodes/blend.md#blend)
109
- [BlendType](blendmodes/blendtype.md#blendtype)

0 commit comments

Comments
 (0)