Appearance
vitedoc.utils
Classes
Action
vitedoc.utils.Action
Represents an action element.
Arguments
- theme (
str): The name of the theme. Supported themes arebrandandalt. - text (
str): The text to display on the action button. - link (
str): The URL to navigate to when the action button is clicked.
Feature
vitedoc.utils.Feature
Represents a feature element.
Arguments
- icon_emoji (
str): The emoji icon to use. Defaults to None. - icon_path (
str): The path to the icon. Defaults to None. - title (
str): The title of the feature. Defaults to None. - details (
str): The details of the feature. Defaults to None.
Notes
icon_emojiandicon_pathmutually exclusive. If both are provided,icon_emojiwill take precedence.
