Astro Starlight provides a rich set of built-in components that help make documentation interactive, clean, and easy to read. You can use these components directly in your MDX files.
This guide provides simple, copy-pasteable examples for the most common components used in the OSIRIS JSON documentation.
For the OSIRIS JSON documentation, we primarily use Google’s Material Icons .
Asides are useful for highlighting secondary information, tips, warnings, or critical notes. Starlight supports them natively using the ::: markdown syntax. No imports are required.
Use for general background information or contextual details.
This is a standard note. It helps provide extra context without interrupting the main text flow.
Use for best practices, shortcuts, or optimization recommendations.
Always run `osiris-validator` in your CI/CD pipeline to verify JSON outputs before deployment.
Use for warnings about data security, potential mistakes, or sanitization rules.
Never share unredacted production JSON files. Always run the redaction script before uploading logs.
Use only for critical warnings, breaking changes, or actions that could cause data loss.
Modifying the core schema version without updating the validation rules will break compatibility with all consumers.
The Steps component is perfect for wrapping ordered lists to make instruction sequences easier to follow.
Initialize the Repository : Fork and clone the documentation repository.
Create a New Branch : Use a descriptive branch name (e.g., git checkout -b style-improvements).
Submit the PR : Open a pull request against the main branch.
import { Steps } from ' @astrojs/starlight/components ' ;
1 . ** Initialize the Repository ** : Fork and clone the documentation repository.
2 . ** Create a New Branch ** : Use a descriptive branch name (e.g., ` git checkout -b style-improvements ` ).
3 . ** Submit the PR ** : Open a pull request against the main branch.
Use tabs to group alternative options or platform-specific instructions (such as OS commands, Go vs. Python code, or AWS vs. Azure configurations).
osirisjson-producer cisco apic -h 10.0.0.1 -u admin -p secret
osirisjson-producer cisco nxos -h switch01.example.com -u admin -p secret
osirisjson-producer cisco iosxe -h router01.example.com -u admin --insecure
import { Tabs, TabItem } from ' @astrojs/starlight/components ' ;
< TabItem label = " Cisco APIC " >
osirisjson-producer cisco apic -h 10.0.0.1 -u admin -p secret
< TabItem label = " Cisco NX-OS " >
osirisjson-producer cisco nxos -h switch01.example.com -u admin -p secret
< TabItem label = " Cisco IOS-XE " >
osirisjson-producer cisco iosxe -h router01.example.com -u admin --insecure
Cards are ideal for homepage navigation, landing pages, or visually highlighting key concepts. Always wrap multiple cards in a <CardGrid> to ensure they lay out responsively.
OSIRIS JSON Producers
generate a private portable and normalized snapshot of your IT/OT on-premise, hybrid or cloud infrastructure at a point in time without need of extra dependencies like third-party services or SaaS solutions, AI Platforms and MCP Servers.
Getting started
extension Developer guideline
build and extend OSIRIS JSON producers.
Read the developer guide
import { Card, CardGrid } from ' @astrojs/starlight/components ' ;
< Card title = ' OSIRIS JSON Producers ' >
generate a private portable and normalized snapshot of your IT/OT on-premise, hybrid or cloud infrastructure at a point in time without need of extra dependencies like third-party services or SaaS solutions, AI Platforms and MCP Servers.
[ Getting started ](/osiris-producers/getting-started/)
< Card title = ' <span class="material-symbols-outlined card-icon" aria-hidden="true">extension</span> Developer guideline ' >
build and extend OSIRIS JSON producers.
[ Read the developer guide ](/developer-guidelines/welcome/)
</ Card > snapshots to detect drift and build topology.
Badges are used to display short inline metadata, such as version tags, release status, or compliance levels.
Info This look as a new feature to try.Success Release for AWS is now stable.Tip The validator command is currently under test.Caution The OT producer is currently in Beta.Warning The compliance exporter is Experimental.
import { Badge } from ' @astrojs/starlight/components ' ;
* < Badge text = " Info " variant = " note " /> This look as a new feature to try.
* < Badge text = " Success " variant = " success " /> Release for AWS is now stable.
* < Badge text = " Tip " variant = " tip " /> The validator command is currently under test.
* < Badge text = " Caution " variant = " caution " /> The OT producer is currently in Beta.
* < Badge text = " Warning " variant = " danger " /> The compliance exporter is Experimental.
Link Cards provide a clear, stylized block link to direct readers to other sections or external websites.
import { LinkCard } from ' @astrojs/starlight/components ' ;
title = " Go Producer SDK Reference "
description = " Explore the official Go SDK packages and validation rules. "
href = " /developer-guidelines/producers/producer-sdk/ "