Links
AI / Agents
gdtest-custom-mixed-modes
Synthetic package for mixed custom page coverage.
Multiple configured custom page directories mixing passthrough and raw pages, plus copied assets and a hidden page that should not appear in the navbar.
Source files
gdtest_custom_mixed_modes/
__init__.py
"""Test package for mixed custom page modes.""" from .core import render __all__ = ["render"]
core.py
"""Core module for mixed custom mode tests."""
def render(topic: str = "launchpad") -> str:
"""Return a simple label for API generation.
Parameters
----------
topic : str
A topic label.
Returns
-------
str
The rendered topic.
"""
return f"rendered: {topic}"marketing/
hidden.html
--- title: Hidden Canvas layout: passthrough --- <section><p>This page should not appear in the navbar.</p></section>
launchpad.html
--- title: Launchpad layout: passthrough navbar: true --- <section class="launchpad-hero"> <h1>Launchpad</h1> <p>Custom passthrough content with the Great Docs shell.</p> </section>
playgrounds/
assets/
chart.js
window.GDTEST_CUSTOM_CHART = true;
widget.html
---
layout: raw
navbar: Widget Lab
---
<!DOCTYPE html>
<html>
<head><title>Widget Lab</title></head>
<body>
<script src="assets/chart.js"></script>
<div id="widget-lab">Raw widget lab</div>
</body>
</html>README.md
# gdtest-custom-mixed-modes Synthetic package for mixed custom page coverage.
great-docs.yml
custom_pages:
- dir: marketing
output: py
- dir: playgrounds
output: demos