Links
AI / Agents
gdtest-site-combo
Test site setting combo with display_name.
Combination: cosmo theme + toc-depth:3 + custom toc-title + display_name. All site settings together.
Source files
gdtest_site_combo/
__init__.py
"""Package testing site setting combo with display_name."""
__all__ = ["setup", "render", "publish"]
def setup(config: dict) -> None:
"""Set up the site with the given configuration.
Parameters
----------
config : dict
A dictionary of site configuration options.
Returns
-------
None
Examples
--------
>>> setup({"theme": "cosmo"})
"""
pass
def render(template: str) -> str:
"""Render a template into HTML.
Parameters
----------
template : str
The template string to render.
Returns
-------
str
The rendered HTML output.
Examples
--------
>>> render("<h1>Title</h1>")
'<h1>Title</h1>'
"""
return template
def publish(site: str) -> bool:
"""Publish the site to the given destination.
Parameters
----------
site : str
The site name or URL to publish to.
Returns
-------
bool
True if publishing was successful.
Examples
--------
>>> publish("my-site")
True
"""
return TrueREADME.md
# gdtest-site-combo Test site setting combo with display_name.
great-docs.yml
display_name: Combo Site site: theme: cosmo toc-depth: 3 toc-title: Contents