Woodii1998 / redocusaurus

OpenAPI for Docusaurus v2 with Redoc

Home Page:https://rohit-gohri.github.io/redocusaurus/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redocusaurus

npm lerna Typed with TypeScript

Redoc for Docusaurus v2.

Usage

See Redocusaurus Package.

Demo

See: https://rohit-gohri.github.io/redocusaurus/

Packages

A wrapper around RedocStandalone to make it match the Dcousaurus Theme with added Dark Mode.

A content plugin that creates pages from your OpenAPI files or URLs and rendered using the Redoc component from the theme.

A Docusaurus Preset that uses the above 2 plugins to easily add API docs to your docs site.

Example project show casing the preset in action with multiple different OpenAPI specs.

Who is using Redocusaurus?

See Who is using Redocusaurus? section in docs.

Motivation

To have the documentation and API reference in the same site with the same headers/footers. Read more in the blog post, OpenAPI for Docusaurus.

See this issue, https://github.com/facebook/docusaurus/issues/638, and this gist, https://gist.github.com/rohit-gohri/b1a19f37702cfe4a6c5a47933a11785b for more details and history.

About

OpenAPI for Docusaurus v2 with Redoc

https://rohit-gohri.github.io/redocusaurus/

License:MIT License


Languages

Language:TypeScript 47.8%Language:JavaScript 30.0%Language:CSS 21.5%Language:Shell 0.7%