Procedural Steps
The <Steps> component is used to guide users through sequential tasks. It visually elevates standard numbered lists with styled circular indicators and a connecting vertical timeline line, making complex workflows easier to track.
How to Write Procedural Steps
Section titled “How to Write Procedural Steps”When guiding users through sequential workflows, break actions down into numbered steps:
- Import the Component: Add
import { Steps } from '@astrojs/starlight/components';to your frontmatter imports. - Wrap Your List: Enclose a standard numbered markdown list inside the
<Steps>component tags. - Highlight Key Actions: Bold the first few words of each step to anchor the reader’s eye.
Behind the Curtain
Section titled “Behind the Curtain”Explore the live specimen, the raw markup required to build it, and instructions for authoring this component inside Sveltia CMS.
This is exactly how the component renders to the end user reading the documentation.
How to configure GitHub OAuth
Section titled “How to configure GitHub OAuth”-
Fork the repository on GitHub to your organization or personal account.
- Ensure you include all branches if you plan to use GitHub Pages.
-
Configure your OAuth provider in GitHub Developer Settings.
- Set the Homepage URL to your production domain.
- Set the Authorization callback URL to include
/auth/callback.
-
Launch Sveltia CMS by navigating to
https://yoursite.com/admin/in your browser. -
Submit your pull request to trigger automated CI/CD validation.
This is the raw Markdown/MDX that generates the live specimen. Notice how it wraps a standard Markdown numbered list.
### How to configure GitHub OAuth
<Steps>1. **Fork the repository** on GitHub to your organization or personal account. * *Ensure you include all branches if you plan to use GitHub Pages.*
2. **Configure your OAuth provider** in GitHub Developer Settings. * Set the Homepage URL to your production domain. * Set the Authorization callback URL to include `/auth/callback`.
3. **Launch Sveltia CMS** by navigating to `[https://yoursite.com/admin/](https://yoursite.com/admin/)` in your browser.
4. **Submit your pull request** to trigger automated CI/CD validation.</Steps>How writers add this component using the Sveltia CMS visual interface.
Because this site is configured with custom editor components in public/admin/index.html and utilizes astro-auto-import, writers do not need to write import statements or raw HTML tags.
In Rich Text Mode:
- Click the + (Add Block) button in the editor toolbar.
- Select Starlight Steps from the dropdown menu.
- Type your procedure using standard numbers (
1.,2.,3.) inside the block. The CMS will automatically wrap it in the required tags upon saving.
In Raw Markdown Mode:
Simply type <Steps>, create a standard Markdown numbered list, and close it with </Steps>.
For a complete step-by-step walkthrough of visual component insertion, see Inserting Custom Components (CMS Magic).
Technical Writing Guidelines
Section titled “Technical Writing Guidelines”When drafting procedures for this knowledge base, adhere to the following stylistic rules:
- Start with an imperative verb: Each step should begin with an action word (e.g., Click, Enter, Select).
- Bold UI elements: If a user needs to interact with a specific button, menu, or text field, bold its name (e.g., Click Save Settings).
- Keep steps atomic: A single step should ideally represent a single user action. If a step contains more than two actions, break it down.
- Format sub-steps as bullets: If a step requires minor sub-actions or context (like Step 1 and 2 in the specimen above), use an indented unordered list.
