Skip to content
/ docz Public
forked from doczjs/docz

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

License

Notifications You must be signed in to change notification settings

rnowm/docz

Β 
Β 

Repository files navigation


Home | Introduction | Documentation | Themes | Plugins


Docz video

🎩   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.

🚧   Warning!

Due to performance issues docz uses Babel@7 and Webpack@4. So, if you're using some older version of this packages you'll probably get some errors! If you need to use Babel@6 you can try docz-plugin-babel6, but about Webpack@4 we can't do anything!

πŸ€” Β  Why?

The open source world with tools that make developers life easier and the creation of styleguides and design systems are growing and evolving so fast. New and impressive things are arising every day. Tools that allow us to evolve together are really necessary nowadays. We can't create barriers or lose time with tasks that should be trivial for us.

To break barriers and facilitate the creation of tools was the purpose that Docz arose. Document our things is one of the most important and painful process that exist when you're creating something new. We lose a lot of our precious time with unnecessary setups to be able to build something that can represent and express what we want with our own style.

πŸ“š Β  About

πŸ—ƒ Β  Examples

name description
basic Some basic example
using typescript Using docz with Typescript
using flow Using docz with Flow
using babel@6 Using docz with Babel@6
with sass Using docz parsing css with Sass
with less Using docz parsing css with Less
with postcss Using docz parsing css with PostCSS
with stylus Using docz parsing css with Stylus

πŸŽ› Β  Plugins

πŸ“Ÿ Β  Install and Usage

Simplicity is one of our core principles. So, getting started with docz is something really easy and quick. First of all, you need to install docz on your project using some package manager

$ yarn add docz --dev

Then create some .mdx anywhere inside your project:

---
name: Button
---

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

# Button

<PropsTable 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! You have a real badass documentation now πŸ‘Š

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

Thanks goes to these wonderful people (emoji key):


Pedro Nauck

πŸ’¬ πŸ› πŸ’» πŸ“– πŸ€” πŸ”Œ πŸ‘€ ⚠️

Renato Ribeiro

πŸ’» πŸ“– πŸ›

Marcelo FormentΓ£o

πŸ’» πŸ›

Martyn Rushton

πŸ’»

Joseph Thomas

πŸ’»

About

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

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 95.5%
  • JavaScript 4.1%
  • HTML 0.4%