#242
gdtest_gradient_mixed
OK
CONFIG
Tests different gradient presets on banner and navbar
Build Mode
● Has great-docs.yml
This package ships a pre-supplied config.
The great-docs init step is skipped and
great-docs build uses the spec-defined configuration directly.
Tests specific config options and their rendered output.
Dimensions
K38
K38gradient: mixed presetsconfig
Source Files
gdtest_gradient_mixed/
__init__.py
"""Package testing mixed gradient presets."""
__version__ = "0.1.0"
__all__ = ["mix", "separate"]
def mix(a: str, b: str) -> str:
"""
Mix two elements.
Parameters
----------
a
First element.
b
Second element.
Returns
-------
str
Mixture result.
"""
return f"Mixed {a} + {b}"
def separate(compound: str) -> list:
"""
Separate a compound into parts.
Parameters
----------
compound
Compound to separate.
Returns
-------
list
Component parts.
"""
return compound.split("+")great-docs.yml
announcement: content: "Lilac banner, dusk navbar!" style: lilac navbar_style: dusk