#204
gdtest_stress_all_config
OK
CONFIG
ALL config options at once.
ALL config options set to non-default values at once. Every toggle flipped. Build should succeed without conflicts.
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
K1 K4 K5 K6 K9 K10 K12 K13 K14 K15
K1github_style: iconconfig
K4source.placement: titleconfig
K5source.enabled: falseconfig
K6sidebar_filter.enabled: falseconfig
K9dynamic: falseconfig
K10parser: googleconfig
K12display_name overrideconfig
K13funding configconfig
K14multiple authorsconfig
K15dark_mode_toggle: falseconfig
Source Files
gdtest_stress_all_config/
__init__.py
"""Package stress-testing all config options at once."""
__all__ = ["stress_create", "stress_read", "stress_delete"]
def stress_create(name: str) -> dict:
"""Create a new stress test resource.
Args:
name: The name of the resource to create.
Returns:
A dictionary with the created resource details.
Examples:
>>> stress_create("test-item")
{'name': 'test-item', 'created': True}
"""
return {"name": name, "created": True}
def stress_read(id: int) -> dict:
"""Read a stress test resource by ID.
Args:
id: The identifier of the resource to read.
Returns:
A dictionary with the resource data.
Examples:
>>> stress_read(1)
{'id': 1, 'data': 'loaded'}
"""
return {"id": id, "data": "loaded"}
def stress_delete(id: int) -> bool:
"""Delete a stress test resource by ID.
Args:
id: The identifier of the resource to delete.
Returns:
True if the resource was deleted successfully.
Examples:
>>> stress_delete(1)
True
"""
return TrueREADME.md
# gdtest-stress-all-config Stress test with all config options.
great-docs.yml
display_name: Stress Test All Config
parser: google
dynamic: false
github_style: icon
source:
enabled: false
sidebar_filter:
enabled: false
dark_mode_toggle: false
authors:
- name: Test Author
email: test@example.com
role: Tester
github: tester
funding:
name: Test Fund
roles:
- Sponsor
homepage: "https://example.com"
site:
theme: cosmo
toc-depth: 3
toc-title: Navigation