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