docs: add documentations

This commit is contained in:
Xin
2023-08-17 23:09:49 +01:00
parent 824047c3d0
commit ef92d7d627
14 changed files with 224 additions and 27 deletions

View File

@ -5,19 +5,24 @@ title: Introduction
Welcome to the Hextra documentation!
## What is Hextra?
**Hextra** is a modern, responsive and powerful [Hugo](https://gohugo.io/) theme built with [Tailwind CSS](https://tailwindcss.com/), inspired by Next.js theme [Nextra](https://github.com/shuding/nextra).
**Hextra** is a modern, responsive and powerful [Hugo](https://gohugo.io/) theme built with [Tailwind CSS](https://tailwindcss.com/). It is inspired by Next.js theme [Nextra](https://github.com/shuding/nextra).
It is designed for building websites for documentation, blogs, books and landing pages.
It is elegant and easy to use out of the box, but also highly customizable to fit your needs.
It is easy to use out of the box, and batteries are included to make your site fast and beautiful.
### Features
## Features
- **Fast** - Built with Hugo and Tailwind CSS, Hextra is extremely fast.
- **Fast** - Hextra is built with Hugo, one of the fastest static site generators. Build and preview your site in just milliseconds.
- **Lightweight** - No need to use Node.js, npm, or any other heavy tooling to build your site. Hextra is solely dependent on Hugo, a single binary file.
- **Responsive** - Hextra looks great on mobile, tablet, and desktop. It also supports dark mode.
- **Full-text Search** - Hextra comes with built-in full-text search powered by [FlexSearch](https://github.com/nextapps-de/flexsearch).
- **Battery included** - Hextra supports Markdown, syntax highlighting, LaTeX, diagrams, and comes with Shortcodes components as building blocks for your Markdown content.
- **Muliti-language** - Hextra supports multi-language sites out of the box.
- **SEO friendly** - Hextra is optimized for search engines with support for Open Graph.
- **Customizable** - Hextra can be extended with your own templates and styles.
## Why Hextra?
Hextra is based on [Hugo](https://gohugo.io/), a static site generator written in Go, which means you can build your website once and host it anywhere.
Unlike Next.js, Hugo is **extremely fast**, which enables us to focus on iterating the content and previewing the changes in real time.
{{< cards >}}
{{< card link="/" title="Getting Started" icon="play" >}}
{{< /cards >}}