← GDG /

#177 gdtest_custom_passthrough_navbar

#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.
View Site → Build Log ๐Ÿงช Test Coverage

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