Skip to content

Guide to Adding Content & Formatting

To ensure OpenStick.org remains clean, consistent, and easy to read, follow these formatting guidelines when writing new documentation.


Place your .md or .mdx file in the appropriate directory inside src/content/docs/:

  • about/ — History, architecture, comparisons
  • getting-started/ — Beginner tutorials, safety, prerequisites
  • flashing/ — Operating system installation guides
  • hardware/ — Board breakdowns, pinouts, schematics
  • projects/ — Practical use cases and setups
  • videos/ — Video libraries and media

Every article must start with:

---
title: Descriptive Title of Your Guide
description: A 1-2 sentence summary explaining what the reader will accomplish.
---

Emphasize critical steps, hardware risks, and pro tips using Starlight callout blocks:

:::danger[Permanent Data Loss Risk!]
Erasing modemst1 and modemst2 without a backup will erase your IMEI and modem calibration!
:::
:::caution[1.8V Logic Level Only!]
Connecting 3.3V or 5V serial adapters will destroy the SoC's UART pins.
:::
:::tip[Speed Optimization]
Enable zram compressed swap to prevent out-of-memory errors on 512MB RAM boards.
:::

If your file has the .mdx extension, you can import custom components:

import VideoEmbed from '../../components/VideoEmbed.astro';
<VideoEmbed platform="youtube" id="YOUR_VIDEO_ID" title="Tutorial Title" />
import DeviceCard from '../../components/DeviceCard.astro';
<DeviceCard
name="Board Name"
codename="board-code"
ram="512 MB"
storage="4 GB"
wifi="WCN3620"
flashType="eMMC"
testPoint="Pads under SIM slot"
status="Supported"
>
Detailed notes about this board revision.
</DeviceCard>

Always specify the language for syntax highlighting (bash, python, ini, json):

Terminal window
# Good: clearly annotated command
fastboot flash boot lk2nd.img

Include comments in code snippets explaining what each line does, especially for non-obvious flags.