nestjs-mailable

NestJS Mailable Core Documentation

This directory contains the comprehensive documentation for NestJS Mailable Core, built with Docusaurus.

📚 Documentation Structure

Core Documentation

Features Covered

🚀 Core Features

🛠️ Development

Prerequisites

Running the Documentation Site

  1. Install dependencies:
    npm install
    
  2. Start development server:
    npm start
    

    This command starts a local development server and opens up a browser window at http://localhost:3000.

  3. Build for production:
    npm run build
    

    This command generates static content into the build directory.

  4. Serve production build:
    npm run serve
    

🚢 Deployment

GitHub Pages Deployment

Using SSH:

USE_SSH=true npm run deploy

Not using SSH:

GIT_USER=<Your GitHub username> npm run deploy

If you are using GitHub pages for hosting, this command builds the website and pushes to the gh-pages branch.

📝 Contributing to Documentation

Adding New Documentation

  1. Create a new markdown file in the docs/ directory
  2. Add frontmatter with sidebar position
  3. Update sidebars.ts to include your new page
  4. Test locally with npm start

Documentation Standards

This creates comprehensive documentation covering all aspects of the NestJS Mailer Core package with practical examples, best practices, and complete API reference.