gdtest-custom-passthrough-navbar
Synthetic package for passthrough custom page navbar coverage.
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.
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