Glazy/docz

✍🏻It has never been so easy to document your things!

★ 0Forks 0TypeScriptGitHub ↗Compare

Project website ↗

README

Open Collective Patreon

Chat

✅️   Migration Guide

This documentation it's about v1. If you need to migrate your project, please read our Migration Guide

🎩   Features

  • 🧘 Zero config and easy. Don't worry about complex configurations steps.
  • ⚡️ Blazing Fast. Full hot reload support with webpack 4 and automatic code splitting.
  • 💅 Easy to customize. Create and use real customizable themes.
  • 📝 MDX Based. Write markdown with all power of components.
  • 🎛 Pluggable. With plugins, you can manipulate a lot of things through the docz flow and data.
  • 🔐 Typescript Support. We have a full support for your type definitions.

🤔   Why?

Libraries that make our life easier coming up every day. Styleguides and design system are growing so fast. Today, tools that allow us to be quick and effective are really necessary. We can't lose time with tasks that should be trivial for us. Thinking about that docz came out.

Documenting our things is one of the most important and heavy processes when you're creating something new. We waste a lot of time with unnecessary setups to build something that can represent and we want with our own style.

👉🏻   More info on our website

🎛   Plugins

🗃   Examples

🌍   Around the world

⚠️   Warning

Since our new v1, you need react and react-dom with >= 16.8.0 installed.

📟   Install and Usage

Getting started with docz is something really easy and quick. First of all, you will need to install docz and some theme on your project using your favorite package manager (we'll asume yarn for this example):

$ yarn add docz@next docz-theme-default@next --dev

Then create some .mdx anywhere inside your project:

---
name: Button
---

import { Playground, Props } from 'docz'
import Button from './'

# Button

<Props of={Button} />

## Basic usage

<Playground>
  <Button>Click me</Button>
  <Button kind="secondary">Click me</Button>
</Playground>

Now, just run your dev server:

$ yarn docz dev

That's it! Now you have a real badass documentation 👊

Any doubt? Check our docs to see more about docz!

🤝   Contributions

Contributions, issues and feature requests are very welcome. Please make sure to read the Contributing Guide before making a pull request.

💪🏻   Contributors

This project exists thanks to all the people who contribute. [Contribute].

💭   Needing Help?

If you need some help you can chat with us on our Spectrum Community, you have a great team to help you:

Pedro Nauck
Pedro Nauck

💻 📖 🐛 👀

Contributors

pedronauckmarceloavfaleen42bpetetotlettertwodiegohazJared-DevmpivaaSwapnullnicholasesssocksrustrenatoribyaodingydamedoraaaronangkachkaevandreasonny83imcuttledrmziodenisborovikovddelbondioeeegorfrederikcreemersganapativsgavin1995guustnieuwenhuisimranismailivan-dalmetjukbenjancassio

Issues