Skip to content

ayoub3bidi/venus

Repository files navigation

Venus

Venus Logo
A modern documentation website boilerplate powered by Docusaurus and Tailwind CSS

Built With Docusaurus Styled With Tailwind

Overview

Venus is a powerful documentation website boilerplate that combines the robust features of Docusaurus with the utility-first approach of Tailwind CSS. It is designed to help you create beautiful, functional, and multilingual documentation websites with minimal setup.

Features

  • Docusaurus Foundation: Built on top of Docusaurus, providing a stable and feature-rich documentation framework
  • Tailwind CSS Integration: Modern, responsive styling with the utility-first CSS framework
  • Search Functionality: Offline/local search capabilities to help users find content quickly
  • Internationalization: Full i18n support with easy translation management
  • Mobile Responsive: Looks great on devices of all sizes
  • Docker Support: Easy development and deployment with Docker

Quick Start

  1. Clone the repository:
git clone https://github.com/ayoub3bidi/venus.git
cd venus
  1. Install dependencies:
pnpm install
  1. Start the development server:
pnpm start

Your site should now be running at http://localhost:3000

Available Commands

All commands are run from the root of the project:

Command Description
pnpm install Installs project dependencies
pnpm start Starts development server at localhost:3000
pnpm build Builds production site to ./build/
pnpm serve Previews production build locally

Translation Commands

Command Description
pnpm run write-translations --locale fr Generates translation fields in i18n folder for French
pnpm run start --locale fr Runs the French version locally

Docker Commands

Command Description
docker compose -f docker-compose-local.yml up --build -d Runs development environment in Docker

Internationalization

Venus comes with built-in support for multiple languages. To add translations:

  1. Wrap your text in <Translate> tags
  2. Generate translation files using the translation command
  3. Add translations to the generated files
  4. Run the site in your desired language

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Acknowledgments