#228
gdtest_md_no_widget
OK
CONFIG
Tests markdown_pages widget: false config
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
K24
K24markdown_pages widget: falseconfig
Source Files
gdtest_md_no_widget/
__init__.py
"""Package testing markdown_pages widget false config."""
__version__ = "0.1.0"
__all__ = ["encode", "decode"]
def encode(data: str) -> bytes:
"""
Encode a string to bytes.
Parameters
----------
data
The string to encode.
Returns
-------
bytes
The encoded bytes.
"""
return data.encode("utf-8")
def decode(data: bytes) -> str:
"""
Decode bytes to a string.
Parameters
----------
data
The bytes to decode.
Returns
-------
str
The decoded string.
"""
return data.decode("utf-8")README.md
# gdtest-md-no-widget Tests markdown_pages with widget: false. The .md companion files should be generated but the copy-page widget should not appear.
great-docs.yml
markdown_pages: widget: false