Links
AI / Agents
gdtest-custom-missing-dir-combo
Synthetic package for missing custom page directory coverage.
Multi-entry custom_pages config where one source directory is missing. The missing entry should be skipped while the valid one still renders and registers resources correctly.
Source files
gdtest_custom_missing_dir_combo/
__init__.py
"""Test package for missing custom page directory handling.""" from .core import render __all__ = ["render"]
core.py
"""Core module for missing custom page directory tests."""
def render(topic: str = "missing-dir") -> str:
"""Return a simple label for API generation.
Parameters
----------
topic : str
A topic label.
Returns
-------
str
The rendered topic.
"""
return f"rendered: {topic}"playgrounds/
widget.html
---
layout: raw
navbar: Widget Lab
---
<!DOCTYPE html>
<html>
<head><title>Widget Lab</title></head>
<body>
<main id="widget-lab">Only the existing custom dir should render.</main>
</body>
</html>README.md
# gdtest-custom-missing-dir-combo Synthetic package for missing custom page directory coverage.
great-docs.yml
custom_pages:
- dir: ghost-pages
output: ghost
- dir: playgrounds
output: demos