#176
gdtest_sec_sidebar_single
OK
CONFIG
Section sidebar: hidden for single-page sections, visible for multi-page.
Section sidebar for single-page sections. Has a 2-page Guides section (sidebar visible) and a 1-page FAQ section (sidebar should be hidden, content takes full width).
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
N9
N9Single-page sidebar hidesections
Source Files
faq/
questions.qmd
--- title: Frequently Asked Questions --- # Frequently Asked Questions ## How do I install this package? Use pip: `pip install gdtest-sec-sidebar-single` ## What Python versions are supported? Python 3.9 and above. ## Where can I report issues? Open an issue on the GitHub repository.
gdtest_sec_sidebar_single/
__init__.py
"""Test package for section sidebar visibility.""" from .core import hello, goodbye __all__ = ["hello", "goodbye"]
core.py
"""Core functions."""
def hello(name: str) -> str:
"""Say hello.
Parameters
----------
name : str
Who to greet.
Returns
-------
str
A greeting.
"""
return f"Hello, {name}!"
def goodbye(name: str) -> str:
"""Say goodbye.
Parameters
----------
name : str
Who to bid farewell.
Returns
-------
str
A farewell.
"""
return f"Goodbye, {name}!"guides/
advanced.qmd
--- title: Advanced Usage --- # Advanced Usage This guide covers advanced topics and patterns. ## Customization You can customize greetings by subclassing the core functions. ## Integration Integrate with other tools using the standard API.
getting-started.qmd
---
title: Getting Started
---
# Getting Started
This guide walks you through the basics of the package.
## Installation
```bash
pip install gdtest-sec-sidebar-single
```
## Quick Example
```python
from gdtest_sec_sidebar_single import hello
hello("world")
```README.md
# gdtest-sec-sidebar-single Test sidebar visibility for single vs multi-page sections.
great-docs.yml
sections:
- title: Guides
dir: guides
- title: FAQ
dir: faq