#196
gdtest_theme_cerulean
OK
CONFIG
Tests site.theme: 'cerulean' config.
Tests site.theme: 'cerulean'. Site renders with the Cerulean theme.
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
Q3
Q3Cerulean themetheme
Source Files
gdtest_theme_cerulean/
__init__.py
"""Package testing site theme cerulean config."""
__all__ = ["paint", "blend"]
def paint(color: str) -> str:
"""Paint with the given color.
Parameters
----------
color : str
The color to paint with.
Returns
-------
str
A description of the painted result.
Examples
--------
>>> paint("blue")
'painted blue'
"""
return f"painted {color}"
def blend(c1: str, c2: str) -> str:
"""Blend two colors together.
Parameters
----------
c1 : str
The first color.
c2 : str
The second color.
Returns
-------
str
The blended color description.
Examples
--------
>>> blend("red", "blue")
'red-blue'
"""
return f"{c1}-{c2}"README.md
# gdtest-theme-cerulean Test site theme cerulean config.
great-docs.yml
site: theme: cerulean