#130
gdtest_rst_caution
OK
CONFIG
Tests caution RST directives in docstrings
Docstrings contain '.. caution::' directives. The built-in handler should produce Quarto caution callouts. Two functions exercise them.
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
L6
L6.. caution::docstring
Source Files
gdtest_rst_caution/
__init__.py
"""Package testing caution RST directives."""
__version__ = "0.1.0"
__all__ = ["modify_schema", "migrate"]
def modify_schema(changes: dict) -> None:
"""
Apply schema modifications.
Parameters
----------
changes
A dictionary describing the schema changes.
Returns
-------
None
.. caution::
Schema changes may break existing data.
"""
pass
def migrate(version: str) -> bool:
"""
Migrate the database to the specified version.
Parameters
----------
version
The target version to migrate to.
Returns
-------
bool
True if migration was successful.
.. caution::
Always back up before migrating.
"""
return TrueREADME.md
# gdtest-rst-caution Tests caution RST directives in docstrings.
great-docs.yml
parser: sphinx