Links
AI / Agents
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.
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