← GDG /

#110 gdtest_jupyter_kernel

#110 gdtest_jupyter_kernel OK CONFIG
Tests jupyter: python3 config
Tests jupyter: 'python3' explicit kernel config. Doesn't change behavior for non-notebook builds but exercises the config path. Two functions (compute, evaluate).
View Site → Build Log ๐Ÿงช Test Coverage

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

K17
K17jupyter kernelconfig

Source Files

๐Ÿ“ gdtest_jupyter_kernel/
๐Ÿ“„ __init__.py
"""Package testing jupyter python3 config."""

__version__ = "0.1.0"
__all__ = ["compute", "evaluate"]


def compute(x: float, y: float) -> float:
    """
    Compute the sum of two numbers.

    Parameters
    ----------
    x
        The first number.
    y
        The second number.

    Returns
    -------
    float
        The sum of x and y.
    """
    return x + y


def evaluate(expr: str) -> float:
    """
    Evaluate a mathematical expression string.

    Parameters
    ----------
    expr
        The expression to evaluate.

    Returns
    -------
    float
        The result of the evaluation.
    """
    return 0.0
๐Ÿ“„ README.md
# gdtest-jupyter-kernel

Tests jupyter: python3 config.
๐Ÿ“„ great-docs.yml
jupyter: python3