#182
gdtest_custom_nested_output
OK
CONFIG
Custom page output published under a nested URL prefix.
Custom pages published under a nested output prefix like products/python/. Both the page and copied assets should deploy under that nested path.
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
N7
N7navbar_aftersections
Source Files
apps/
assets/
widget.js
window.GDTEST_NESTED_OUTPUT = true;
start.html
--- title: Python Apps layout: passthrough navbar: true --- <section class="python-apps"> <h1>Python Apps</h1> <p>Custom page published under a nested output prefix.</p> </section>
gdtest_custom_nested_output/
__init__.py
"""Test package for nested custom page output prefixes.""" from .core import render __all__ = ["render"]
core.py
"""Core module for nested output prefix tests."""
def render(topic: str = "nested-output") -> str:
"""Return a simple label for API generation.
Parameters
----------
topic : str
A topic label.
Returns
-------
str
The rendered topic.
"""
return f"rendered: {topic}"README.md
# gdtest-custom-nested-output Synthetic package for nested custom page output prefix coverage.
great-docs.yml
custom_pages: dir: apps output: products/python