← GDG /

#180 gdtest_custom_nested_combo

#180 gdtest_custom_nested_combo OK CONFIG
Nested custom page with user guide and section navbar ordering.
Nested configured custom pages combined with a user guide and a custom section. Navbar ordering and nested deployed paths should all coexist cleanly.
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/
๐Ÿ“ tools/
๐Ÿ“„ lab.html
---
title: API Lab
layout: passthrough
navbar:
  text: API Lab
  after: Tutorials
---
<section class="api-lab">
  <h1>API Lab</h1>
  <p>Nested custom passthrough page.</p>
</section>
๐Ÿ“ gdtest_custom_nested_combo/
๐Ÿ“„ __init__.py
"""Test package for nested custom page combinations."""

from .core import render

__all__ = ["render"]
๐Ÿ“„ core.py
"""Core module for nested custom combination tests."""


def render(topic: str = "lab") -> str:
    """Return a simple label for API generation.

    Parameters
    ----------
    topic : str
        A topic label.

    Returns
    -------
    str
        The rendered topic.
    """
    return f"rendered: {topic}"
๐Ÿ“ tutorials/
๐Ÿ“„ first.qmd
---
title: First Tutorial
---

# First Tutorial

Tutorial page.
๐Ÿ“ user_guide/
๐Ÿ“„ start.qmd
---
title: Start
---

# Start

Guide start.
๐Ÿ“„ README.md
# gdtest-custom-nested-combo

Synthetic package for nested custom page combination coverage.
๐Ÿ“„ great-docs.yml
sections:
  - title: Tutorials
    dir: tutorials
    navbar_after: User Guide
custom_pages:
  dir: apps
  output: py