Links
AI / Agents
gdtest-sec-blog
Test blog section using Quarto listing.
Blog section using Quarto’s native listing directive. blog/ dir with posts in subdirectories. Uses type: blog for auto-listing.
Source files
blog/
february-update/
index.qmd
--- title: February Update author: John Doe date: 2024-02-20 categories: [updates] description: An update on the progress made in February 2024. --- An update on the progress made in February 2024. ## Highlights - Improved performance by 30% - Added support for new file formats - Fixed several reported bugs ## Community Contributions Thanks to everyone who contributed this month!
introducing-our-project/
index.qmd
--- title: Introducing Our Project author: Jane Smith date: 2024-01-15 categories: [announcements, getting-started] description: A blog post introducing the project and its goals. --- A blog post introducing the project and its goals. We're excited to announce the launch of this project. Here's what you need to know. ## Why We Built This We saw a need for better tooling in this space and decided to build something that addresses common pain points. ## What's Next Stay tuned for updates as we continue to develop new features.
v0.2-release/
index.qmd
--- title: "Version 0.2 Release Notes" author: Jane Smith date: 2024-03-10 categories: [releases] description: Release notes for version 0.2 with new features. --- We're happy to announce the v0.2 release! ## New Features - Blog support via Quarto's listing directive - Improved dark mode styling - Better section card colors ## Breaking Changes None in this release.
gdtest_sec_blog/
__init__.py
"""Test package for blog section.""" from .core import archive, post __all__ = ["archive", "post"]
core.py
"""Core post/archive functions."""
def post(title: str, content: str) -> dict:
"""Create a new blog post.
Parameters
----------
title : str
The title of the blog post.
content : str
The content of the blog post.
Returns
-------
dict
A dictionary representing the created post.
Examples
--------
>>> post("Hello", "World")
{'title': 'Hello', 'content': 'World'}
"""
return {"title": title, "content": content}
def archive(year: int) -> list:
"""Retrieve archived posts for a given year.
Parameters
----------
year : int
The year to retrieve posts from.
Returns
-------
list
A list of archived posts for the given year.
Examples
--------
>>> archive(2024)
[]
"""
return []README.md
# gdtest-sec-blog Test blog section using Quarto listing.
great-docs.yml
sections:
- title: Blog
dir: blog
type: blog