#088
gdtest_config_all_on
OK
CONFIG
Every config toggle set to non-default value
Every possible config toggle set to a non-default value: parser, display_name, source.enabled=true, dark_mode, authors, funding, user_guide, reference sections. Key test: all config options together don't conflict.
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
A1 B1 C1 D1 E6 F6 G1 H7
A1Flat layoutlayout
B1Explicit __all__exports
C1Functions onlyobjects
D1NumPydocstrings
E6No directivesdirectives
F6No user guideuser_guide
G1README.mdlanding
H7No extrasextras
Source Files
gdtest_config_all_on/
__init__.py
"""Package testing all config toggles."""
__version__ = "0.1.0"
__all__ = ["process", "Config"]
def process(data: list) -> list:
"""Process the given data.
Args:
data: Input data list.
Returns:
Processed data list.
"""
return [x * 2 for x in data]
class Config:
"""Configuration holder.
Attributes:
name: Config name.
value: Config value.
"""
def __init__(self, name: str, value: int = 0):
"""Initialize config.
Args:
name: Config name.
value: Config value.
"""
self.name = name
self.value = value
def validate(self) -> bool:
"""Validate this configuration.
Returns:
True if valid.
"""
return bool(self.name)user_guide/
getting-started.qmd
--- title: Getting Started --- # Getting Started Quick start guide for the all-on config package.
README.md
# gdtest-config-all-on Tests every config toggle set to a non-default value.
great-docs.yml
display_name: All Options Enabled
parser: google
source:
enabled: true
branch: develop
dark_mode_toggle: true
authors:
- name: Alpha Author
email: alpha@example.com
role: Lead
github: alpha
- name: Beta Author
email: beta@example.com
role: Contributor
github: beta
funding:
name: Test Grant
roles:
- Funder
homepage: "https://example.com/grant"
reference:
title: API Reference