luat-website Svelte Themes

Luat Website

Documentation website for Luat - Svelte-inspired Lua templating

Luat Documentation Website

The official documentation website for Luat - a Svelte-inspired server-side Lua templating engine for Rust.

Live site: luat.maravillalabs.com

Built With

This website is built using Docusaurus, a modern static website generator by Meta.

Custom Features

  • Interactive WASM Playground - Live code editor with real-time Luat template rendering powered by WebAssembly
  • Multi-file Component Examples - Demonstrate component composition with tabbed file views
  • Custom Theming - Dark/light mode with custom navbar, scrolling effects, and responsive design
  • Integrated Toolchain Demo - Tailwind CSS support in playground previews

Development

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

npm install

Local Development

npm start

Starts a local development server at http://localhost:3000 with hot reload.

Build

npm run build

Generates static content into the build directory.

Deployment

The site automatically deploys to GitHub Pages via GitHub Actions when pushing to main.

Project Structure

luat-website/
├── blog/                    # Blog posts
├── docs/                    # Documentation pages
├── src/
│   ├── components/          # React components
│   │   ├── LuatPlayground/  # WASM-powered interactive playground
│   │   ├── CodeExample/     # Homepage code showcase
│   │   └── ...
│   ├── css/                 # Global styles
│   ├── pages/               # Custom pages
│   └── theme/               # Docusaurus theme overrides
├── static/
│   ├── wasm/                # Luat WASM module
│   └── img/                 # Images and assets
└── docusaurus.config.js     # Site configuration

License

  • Documentation content (blog posts, docs, guides): CC BY 4.0
  • Code (components, themes, configuration): MIT OR Apache-2.0

See LICENSE for details. Copyright Maravilla Labs.

Contributing

Contributions are welcome! Feel free to:

  • Fix typos or improve documentation
  • Report issues or suggest improvements
  • Submit pull requests
  • Luat - The main Luat templating engine repository
  • Docusaurus - Documentation framework

Top categories

Loading Svelte Themes