Source files
📁 docs/
📁 examples/
📄 advanced-patterns.qmd
---
title: Advanced Patterns
tags: [Python/Advanced, Tutorial]
---
## Advanced Usage
This example demonstrates advanced patterns and a hierarchical tag.
📄 basic-usage.qmd
---
title: Basic Usage
tags: [Tutorial, Python]
---
## Getting Started
This example shows basic usage of the library and carries tags.
📄 no-tags.qmd
---
title: Untagged Example
---
This page has no tags and should not appear in the tag index.
📁 gdtest_sec_nested_tags/
📄 __init__.py
"""A test package for tags in a nested custom section."""
__version__ = "0.1.0"
__all__ = ["transform", "validate"]
def transform(data: list) -> list:
"""
Transform a list of data items.
Parameters
----------
data
The input data to transform.
Returns
-------
list
The transformed data.
"""
return data
def validate(data: list) -> bool:
"""
Validate a list of data items.
Parameters
----------
data
The input data to validate.
Returns
-------
bool
True if the data is valid.
"""
return True
📄 README.md
# gdtest-sec-nested-tags
A test package demonstrating page tags inside a custom section
published from a nested directory (`docs/examples`).
📄 great-docs.yml
display_name: Nested Section Tags Demo
sections:
- title: Examples
dir: docs/examples
tags:
enabled: true
index_page: true
show_on_pages: true
hierarchical: true
icons:
Python: code
Tutorial: book-open