← GDG /

#207 gdtest_stress_all_sections

#207 gdtest_stress_all_sections OK CONFIG
Maximum navigation with multiple sections, reference groups, and user guide.
Five custom sections (Examples, Tutorials, Recipes, FAQ, Blog) combined with user guide and explicit reference. Maximum navigation complexity.
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

N1 N2 N3 N5 N6 M1 P1
N1Examples sectionsections
N2Tutorials sectionsections
N3Recipes sectionsections
N5FAQ sectionsections
N6Multiple sectionssections
M1Auto-discover UGuser_guide
P1Explicit referencereference

Source Files

๐Ÿ“ blog/
๐Ÿ“„ latest.qmd
---
title: Latest Updates
---

# Latest Updates

The latest news and updates.
๐Ÿ“ examples/
๐Ÿ“„ demo.qmd
---
title: Demo Example
---

# Demo Example

A demonstration of the package in action.
๐Ÿ“ faq/
๐Ÿ“„ common.qmd
---
title: Common Questions
---

# Common Questions

Answers to frequently asked questions.
๐Ÿ“ gdtest_stress_all_sections/
๐Ÿ“„ __init__.py
"""Test package for maximum navigation complexity."""

from .core import create, delete, read, update

__all__ = ["create", "delete", "read", "update"]
๐Ÿ“„ core.py
"""Core CRUD functions."""


def create(name: str) -> dict:
    """Create a new resource.

    Parameters
    ----------
    name : str
        The name of the resource to create.

    Returns
    -------
    dict
        A dictionary with the created resource.

    Examples
    --------
    >>> create("item")
    {'name': 'item', 'id': 1}
    """
    return {"name": name, "id": 1}


def read(id: int) -> dict:
    """Read a resource by its ID.

    Parameters
    ----------
    id : int
        The identifier of the resource.

    Returns
    -------
    dict
        A dictionary with the resource data.

    Examples
    --------
    >>> read(1)
    {'id': 1, 'data': 'loaded'}
    """
    return {"id": id, "data": "loaded"}


def update(id: int, data: dict) -> dict:
    """Update a resource by its ID.

    Parameters
    ----------
    id : int
        The identifier of the resource to update.
    data : dict
        The new data to apply.

    Returns
    -------
    dict
        The updated resource.

    Examples
    --------
    >>> update(1, {"status": "active"})
    {'id': 1, 'status': 'active'}
    """
    return {"id": id, **data}


def delete(id: int) -> bool:
    """Delete a resource by its ID.

    Parameters
    ----------
    id : int
        The identifier of the resource to delete.

    Returns
    -------
    bool
        True if the resource was deleted.

    Examples
    --------
    >>> delete(1)
    True
    """
    return True
๐Ÿ“ recipes/
๐Ÿ“„ quick.qmd
---
title: Quick Recipe
---

# Quick Recipe

A quick recipe for common tasks.
๐Ÿ“ tutorials/
๐Ÿ“„ start.qmd
---
title: Getting Started
---

# Getting Started

A step-by-step tutorial for new users.
๐Ÿ“ user_guide/
๐Ÿ“„ intro.qmd
---
title: Introduction
---

# Introduction

An introduction to the package and its capabilities.
๐Ÿ“„ README.md
# gdtest-stress-all-sections

Stress test with maximum navigation complexity.
๐Ÿ“„ great-docs.yml
sections:
  - title: Examples
    dir: examples
  - title: Tutorials
    dir: tutorials
  - title: Recipes
    dir: recipes
  - title: FAQ
    dir: faq
  - title: Blog
    dir: blog
reference:
  - title: Core
    desc: Primary API
    contents:
      - name: create
      - name: read
  - title: Admin
    desc: Admin API
    contents:
      - name: update
      - name: delete