← GDG /

#182 gdtest_custom_nested_output

#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.
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

๐Ÿ“ 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