DevDoc Block Examples

Overview

This reference site showcases all available blocks that can be used to create engaging developer documentation. Each block is a modular component designed to present specific types of content, from hero banners and code examples to interactive API documentation and media resources.

These blocks provide a consistent, standardized way to structure and display content across Adobe developer documentation sites. Whether you're building tutorials, API references, or product guides, these blocks enable you to create professional, accessible documentation efficiently.

Categories of Blocks

There are two main categories of blocks available:

Configuration Blocks

Control your site's structure and navigation through config.md.

SideNav

Side navigation menu.

TopNav

Top navigation bar.

Auto-generated navigation trail from your TopNav and SideNav.

Hide Page Actions

Control visibility of Edit in GitHub, Log an issue, and Copy Markdown per page.

Site footer (centrally managed).

Site-Wide Banner

Announcement banner displayed across all pages.

Credential

Get Credential flow for OAuth or API key.

Content Blocks

Build and organize your page content.

Accordion

Collapsible sections.

Announcement

Important notices and announcements.

Cards

Content cards in grid layouts.

Wide Variant - Cards with a wide image

Code

Markdown code snippet with syntax.

CodeBlock

Multiple code block with headings.

Columns

Multi-column layouts.

Details

Expandable/collapsible sections for FAQs and workflows.

Discover Block

Featured content showcase.

Edition

Edition-specific content.

Embed

Integrate videos, social media posts, and other external media.

Fragment

Include reusable content from other markdown files.

Iframe

Embed external content and web pages.

Image

Add and format images.

Inline Alert

Warnings, tips, and notes.

Inline Code

Format inline code with backticks.

Link between pages using relative and absolute paths.

List

Styled lists with icons.

On This Page

Auto-generated table of contents from H2 and H3 headings.

Product Card

Display product information in a card format.

Redocly API Block

Interactive API docs from OpenAPI specs.

Configuration:

Layout:

Advanced:

Resources

Resource links displayed on right sidebar.

Superhero

Hero banners with images and CTAs. 8 variants:

Layouts:

Enhanced:

Tab

Organize content in tabs.

Table

Structured data in rows and columns.