#177
gdtest_custom_passthrough_navbar
OK
CONFIG
Passthrough custom HTML page with navbar integration.
Configured custom pages using a passthrough landing page under a non-default output prefix. The navbar should link to the rendered landing page rather than the conventional custom/ 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
gdtest_custom_passthrough_navbar/
__init__.py
"""Test package for passthrough custom page navbar rendering.""" from .core import render __all__ = ["render"]
core.py
"""Core module for passthrough navbar tests."""
def render(topic: str = "widgets") -> str:
"""Return a simple string for API generation.
Parameters
----------
topic : str
The topic to render.
Returns
-------
str
A rendered label.
"""
return f"rendered: {topic}"marketing/
index.html
--- title: Shiny for Python layout: passthrough navbar: true --- <section class="hero-banner"> <h1>Reactive Python apps</h1> <p>Build interactive apps with a custom landing page.</p> </section>
README.md
# gdtest-custom-passthrough-navbar Synthetic package for passthrough custom page navbar coverage.
great-docs.yml
custom_pages: dir: marketing output: py