#095
gdtest_source_path
OK
CONFIG
Tests source.path: src/mylib config
Tests source.path: 'src/mylib' override. Source links should include the custom path prefix. Module at top level but source links pretend it's in src/mylib. Two functions (parse, format_output).
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
K3
K3source.path overrideconfig
Source Files
gdtest_source_path/
__init__.py
"""Package testing source.path config."""
__version__ = "0.1.0"
__all__ = ["parse", "format_output"]
def parse(text: str) -> dict:
"""
Parse text into a dictionary.
Parameters
----------
text
The text to parse.
Returns
-------
dict
The parsed result.
"""
return {}
def format_output(data: dict) -> str:
"""
Format a dictionary as output text.
Parameters
----------
data
The data to format.
Returns
-------
str
The formatted output.
"""
return ""README.md
# gdtest-source-path Tests source.path: src/mylib config.
great-docs.yml
source: path: src/mylib