gdtest-no-breadcrumbs
Exercise reference pages with breadcrumbs disabled site-wide.
Installation
pip install gdtest-no-breadcrumbs
Usage
from gdtest_no_breadcrumbs import greet, add
greet("World")
add(1, 2)
Mirror gdtest_minimal with two functions and NumPy docstrings. Disable breadcrumbs site-wide through the site passthrough. Reference object pages and the index must still show the API title bar and exactly one h1.
Source files
📁 gdtest_no_breadcrumbs/
📄 __init__.py
"""Synthetic package with breadcrumbs disabled site-wide"""
__version__ = "0.1.0"
__all__ = ["greet", "add"]
def greet(name: str) -> str:
"""
Return a greeting for a name
Parameters
----------
name
Name to greet.
Returns
-------
Greeting string.
"""
return f"Hello, {name}!"
def add(a: int, b: int) -> int:
"""
Add two numbers
Parameters
----------
a
First number.
b
Second number.
Returns
-------
Sum of `a` and `b`.
"""
return a + b
📄 README.md
# gdtest-no-breadcrumbs
Exercise reference pages with breadcrumbs disabled site-wide.
## Installation
```bash
pip install gdtest-no-breadcrumbs
```
## Usage
```python
from gdtest_no_breadcrumbs import greet, add
greet("World")
add(1, 2)
```
📄 great-docs.yml
site:
bread-crumbs: false