Magidoc screenshot

Magidoc

Author Avatar Theme by Magidoc org
Updated: 8 Nov 2024
265 Stars

Autogenerate static GraphQL API documentation

Categories

Overview

Magidoc is a JavaScript library that auto-generates static documentation from any GraphQL schema. It provides an easy and customizable way to document your API, with features such as fast search, live reloading, and advanced markdown support.

Features

  • Simple: Build your first website in a few minutes.
  • Customizable: Use pre-defined customizations or pick a template and make it your own.
  • Searchability: Fast fuzzy search through the documentation & native SEO support.
  • Live hot-reload: Preview your documentation website while you develop.
  • Advanced markdown support: Markdown is supported everywhere, from custom pages to schema comments.

Installation

To install Magidoc, follow these steps:

  1. Make sure you have Node.js installed on your machine.
  2. Open your terminal and navigate to your project directory.
  3. Run the following command to install Magidoc:
npm install magidoc
  1. Once the installation is complete, you can import Magidoc into your project using:
import magidoc from 'magidoc';
  1. Now you can start generating documentation from your GraphQL schema using the Magidoc API.

Summary

Magidoc is a powerful JavaScript library for generating static documentation from any GraphQL schema. With its simple installation process and customizable features, it provides an efficient way to document your API. Its searchability, live reloading, and advanced markdown support make it a convenient tool for developers. Whether you are a beginner or an experienced developer, Magidoc can help you easily create comprehensive documentation for your GraphQL API.