Links
AI / Agents
gdtest-custom-basename-output
Synthetic package for basename-derived custom page output coverage.
String-form custom_pages config pointing at a nested source dir. The deployed path should default to the source basename, and a source .htm file should still render correctly.
Source files
gdtest_custom_basename_output/
__init__.py
"""Test package for basename-derived custom page output.""" from .core import render __all__ = ["render"]
core.py
"""Core module for basename-derived custom page tests."""
def render(topic: str = "basename") -> str:
"""Return a simple label for API generation.
Parameters
----------
topic : str
A topic label.
Returns
-------
str
The rendered topic.
"""
return f"rendered: {topic}"marketing/
pages/
assets/
site.css
:root { --launch-home: 1; }launch.htm
--- title: Launch Home layout: passthrough navbar: Launch Home --- <section class="launch-home"> <h1>Launch Home</h1> <p>Passthrough page sourced from a nested `.htm` file.</p> </section>
README.md
# gdtest-custom-basename-output Synthetic package for basename-derived custom page output coverage.
great-docs.yml
custom_pages: marketing/pages