All Projects β†’ remorses β†’ Dokz

remorses / Dokz

Effortless documentation with Next.js and MDX

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Dokz

Compodoc
πŸ“” The missing documentation tool for your Angular, Nest & Stencil application
Stars: ✭ 3,567 (+910.48%)
Mutual labels:  documentation, generator
X0
Document & develop React components without breaking a sweat
Stars: ✭ 1,706 (+383.29%)
Mutual labels:  documentation, mdx
Gatsby Documentation Starter
Automatically generate docs for React components using MDX, react-docgen, and GatsbyJS
Stars: ✭ 91 (-74.22%)
Mutual labels:  documentation, mdx
Mdx Go
⚑️ Lightning fast MDX-based dev server for progressive documentation
Stars: ✭ 340 (-3.68%)
Mutual labels:  documentation, mdx
Cgx
πŸ’»πŸ”₯CLI to generate the recommended documentation/files to improve contribution (Github, Gitlab, CodeCommit and Bitbucket)
Stars: ✭ 190 (-46.18%)
Mutual labels:  documentation, generator
Jsdoc To Markdown
Generate markdown documentation from jsdoc-annotated javascript
Stars: ✭ 1,199 (+239.66%)
Mutual labels:  documentation, generator
Component Docs
πŸ“ Simple documentation for your React components
Stars: ✭ 116 (-67.14%)
Mutual labels:  documentation, mdx
Easybook
Book publishing as easy as it should be (built with Symfony components)
Stars: ✭ 744 (+110.76%)
Mutual labels:  documentation, generator
Apigen
PHP 7.1 ready Smart and Simple Documentation for your PHP project
Stars: ✭ 2,068 (+485.84%)
Mutual labels:  documentation, generator
Terraform Docs
Generate documentation from Terraform modules in various output formats
Stars: ✭ 2,483 (+603.4%)
Mutual labels:  documentation, generator
Docsify Tabs
A docsify.js plugin for rendering tabbed content from markdown
Stars: ✭ 65 (-81.59%)
Mutual labels:  documentation, generator
Generator
Use your AsyncAPI definition to generate literally anything. Markdown documentation, Node.js code, HTML documentation, anything!
Stars: ✭ 237 (-32.86%)
Mutual labels:  documentation, generator
React Display Window
A simple tool to showcase react components
Stars: ✭ 57 (-83.85%)
Mutual labels:  documentation, mdx
Kit
Tools for developing, documenting, and testing React component libraries
Stars: ✭ 1,201 (+240.23%)
Mutual labels:  documentation, mdx
Papogen
Use Sass/CSS + Pug + Node.js to generate beautiful static website.
Stars: ✭ 37 (-89.52%)
Mutual labels:  documentation, generator
Easy Doc Bundle
Symfony application documentation generator
Stars: ✭ 99 (-71.95%)
Mutual labels:  documentation, generator
Pdoc
🐍 ➑️ πŸ“œ Auto-generate API documentation for Python projects
Stars: ✭ 604 (+71.1%)
Mutual labels:  documentation, generator
Docs
Documentation of Vercel and other services
Stars: ✭ 663 (+87.82%)
Mutual labels:  documentation, mdx
Generator Standard Readme
Scaffold out a Standard Readme
Stars: ✭ 150 (-57.51%)
Mutual labels:  documentation, generator
Yii2 Apidoc
Yii 2 apidoc extension.
Stars: ✭ 236 (-33.14%)
Mutual labels:  documentation, generator




Effortless documentation with Next.js and MDX



πŸ”₯ Features

  • File based routing
  • SideBar automatically generated from mdx paths
  • Table of contents generated from headings
  • Dark Mode
  • Preview React Components inside jsx code blocks
  • Can be integrated with existing Nextjs app

Quick Start

We recommend creating a new Dokz app using create-dokz-app, which sets up everything automatically for you. To create a project, run:

npm init dokz-app
# or
yarn create dokz-app

After the installation is complete run npm run dev to start the development server. Try editing pages/index.mdx and see the result on your browser.

Manual Setup

warning: you should use npm init dokz-app if you don't have an existing next application

You can also install dokz in an existing nextjs application:

npm install dokz @emotion/react @chakra-ui/react @emotion/styled framer-motion

Add the dokz provider to the main nextjs entrypoint

// _app.jsx
import { DokzProvider } from 'dokz'
import { ChakraProvider } from '@chakra-ui/react'
import React from 'react'

export default function App(props) {
    const { Component, pageProps } = props
    return (
        <ChakraProvider>
            <DokzProvider headerLogo={<img src='/logo.svg' width='100px' />}>
                <Component {...pageProps} />
            </DokzProvider>
        </ChakraProvider>
    )
}

Add withDokz in the next.config.js file

const { withDokz } = require('dokz/dist/plugin')

module.exports = withDokz()

Create a new mdx document inside tha pages folder

# Heading

Ullamco ipsum id irure do occaecat minim. Cupidatat exercitation magna sit sunt aliqua voluptate excepteur amet dolor ea do. Consectetur veniam deserunt ullamco irure ullamco. Voluptate magna tempor elit voluptate velit enim dolor nulla sit fugiat exercitation. Anim deserunt Lorem aliquip cillum duis deserunt consequat sit culpa commodo.

> Node this is important

## Subjeading

Quis anim minim ullamco aliquip excepteur do pariatur eiusmod duis eu non. Duis deserunt Lorem nulla non duis voluptate dolore et. Do veniam mollit in do ad id enim anim dolore sint labore quis consequat.

To start developing your application run npm run dev. This starts the development server on http://localhost:3000.

Visit http://localhost:3000 to view your application.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].