Skip to content

Seeed-Solution/sensecraft-hmi-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

50 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“š SenseCraft HMI Documentation

Official Documentation for SenseCraft HMI Platform

A no-code UI builder for e-paper and e-ink displays

Built with Astro Powered by Starlight License

๐ŸŒ View Documentation โ€ข ๐Ÿ› Report Bug โ€ข ๐Ÿ’ก Request Feature


๐ŸŽฏ About This Project

This repository contains the official documentation for SenseCraft HMI - an innovative no-code platform that empowers users to design beautiful user interfaces for e-paper and e-ink displays without writing a single line of code.

๐ŸŒŸ What is SenseCraft HMI?

SenseCraft HMI is a comprehensive platform that includes:

  • ๐ŸŽจ Canvas Editor - Drag-and-drop UI design tool
  • ๐Ÿค– AI Generator - AI-powered layout generation
  • ๐Ÿ–ผ๏ธ Gallery - Pre-made templates and designs
  • ๐ŸŒ Web Integration - Real-time data display
  • ๐Ÿ“ก RSS Support - Dynamic content updates
  • ๐Ÿ“ฑ Multi-device Support - Compatible with various e-paper displays

๐Ÿ“– Documentation Features

  • ๐ŸŒ Multi-language Support - Available in English, Chinese (็ฎ€ไฝ“ไธญๆ–‡), Japanese (ๆ—ฅๆœฌ่ชž), and Spanish (Espaรฑol)
  • ๐Ÿ” Full-text Search - Find what you need quickly
  • ๐Ÿ“ฑ Responsive Design - Perfect on desktop, tablet, and mobile
  • ๐ŸŽฏ Easy Navigation - Organized by topics and difficulty levels
  • ๐Ÿ’ก Rich Examples - Code snippets, tutorials, and best practices

๐Ÿš€ Quick Start

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js v18.0 or higher
  • npm v9.0 or higher
  • Git

Installation

  1. Clone the repository

    git clone https://github.com/Seeed-Solution/sensecraft-hmi-docs.git
    cd sensecraft-hmi-docs
  2. Install dependencies

    npm install
  3. Start development server

    npm run dev
  4. Open in your browser

    Navigate to http://localhost:4321

    The site will automatically reload when you make changes! ๐Ÿ”„


๐Ÿค How to Contribute

We welcome contributions from the community! Whether you're fixing a typo, improving documentation, or adding new content, your help is appreciated.

๐Ÿ“ Contributing Documentation

1๏ธโƒฃ Edit Existing Content

Find the file you want to edit:

src/content/docs/
โ”œโ”€โ”€ en/     # English
โ”œโ”€โ”€ zh/     # ็ฎ€ไฝ“ไธญๆ–‡
โ”œโ”€โ”€ ja/     # ๆ—ฅๆœฌ่ชž
โ””โ”€โ”€ es/     # Espaรฑol

Make your changes and submit a pull request!

2๏ธโƒฃ Add New Pages

Create a new .md or .mdx file in the appropriate language folder:

---
title: Your Page Title
description: Brief description that appears in search results
---

# Your Page Title

Write your content here using Markdown...

3๏ธโƒฃ Multi-language Guidelines

When adding new content, please provide translations in all supported languages:

  • โœ… English (en/) - Required
  • โœ… Chinese (zh/) - Required
  • โœ… Japanese (ja/) - Required
  • โœ… Spanish (es/) - Required

Keep the same file structure across all languages:

en/guides/your-guide.md
zh/guides/your-guide.md
ja/guides/your-guide.md
es/guides/your-guide.md

๐ŸŽจ Content Guidelines

Markdown Formatting

# Heading 1
## Heading 2
### Heading 3

**Bold text**
*Italic text*
`Inline code`

- Bullet point 1
- Bullet point 2

1. Numbered list
2. Second item

Code Blocks

```python
# Python example
import sensecraft_hmi

display = sensecraft_hmi.Display()
display.show_text("Hello World")
```

Callouts/Admonitions

:::tip[Pro Tip]
Use AI Generator to quickly create layouts!
:::

:::note
This feature requires firmware v2.0 or higher.
:::

:::caution
Always backup your designs before updating firmware.
:::

:::danger
Incorrect voltage may damage your display!
:::

Images

  1. Place images in src/assets/ or public/
  2. Reference in your markdown:
![Alt text](../../assets/your-image.png)

Tables

| Feature | Support | Status |
|---------|---------|--------|
| E-Paper | 7.5" | โœ… |
| Color | Spectra 6 | โœ… |
| No-Code | Yes | โœ… |

๐Ÿ” Before Submitting

Please ensure:

  • โœ… Content is technically accurate
  • โœ… All code examples are tested
  • โœ… Images are properly displayed
  • โœ… Links are working
  • โœ… No spelling/grammar errors
  • โœ… Follows existing documentation style
  • โœ… Multi-language versions are consistent

๐Ÿ› Reporting Issues

Found a problem? Please open an issue with:

  • ๐Ÿ“ Clear description of the problem
  • ๐Ÿ“ Link to the page (if applicable)
  • ๐Ÿ’ก Suggested solution (if you have one)

๐Ÿ› ๏ธ Development Commands

Command Description
npm install Install dependencies
npm run dev Start development server (port 4321)
npm run build Build for production
npm run preview Preview production build
npm run astro Run Astro CLI commands

๐Ÿ”ง Troubleshooting

Module not found error
rm -rf node_modules package-lock.json
npm install
Port already in use
npm run dev -- --port 3000
Build errors
  • Check for syntax errors in Markdown files
  • Ensure all image paths are correct
  • Verify frontmatter YAML format
  • Check for broken links

๐Ÿ“ Project Structure

sensecraft-hmi-docs/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ content/
โ”‚   โ”‚   โ””โ”€โ”€ docs/           # Documentation content
โ”‚   โ”‚       โ”œโ”€โ”€ en/         # English
โ”‚   โ”‚       โ”œโ”€โ”€ zh/         # Chinese
โ”‚   โ”‚       โ”œโ”€โ”€ ja/         # Japanese
โ”‚   โ”‚       โ””โ”€โ”€ es/         # Spanish
โ”‚   โ”œโ”€โ”€ assets/             # Images and media
โ”‚   โ””โ”€โ”€ styles/             # Custom CSS
โ”œโ”€โ”€ public/                 # Static assets
โ”œโ”€โ”€ dist/                   # Build output
โ”œโ”€โ”€ astro.config.mjs        # Astro configuration
โ””โ”€โ”€ package.json            # Dependencies

๐ŸŒ Supported Languages

Language Code Status Maintainer
English en โœ… Active Core Team
็ฎ€ไฝ“ไธญๆ–‡ zh โœ… Active Core Team
ๆ—ฅๆœฌ่ชž ja โœ… Active Core Team
Espaรฑol es โœ… Active Core Team

Want to add a new language? Open an issue to discuss!


๐Ÿ”— Useful Links


๐Ÿ“„ License

This documentation is open source and available under the MIT License.


๐Ÿ’ฌ Get Help

Questions? Issues? Suggestions?

๐Ÿ’ฌ GitHub Discussions โ€ข ๐Ÿ› Issue Tracker โ€ข โœ‰๏ธ Contact Us


Built with โค๏ธ by Seeed Studio

โญ Star us on GitHub if this documentation helped you!

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •