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

joerho/docz

Β 
Β 

Repository files navigation

Open Collective Patreon

Chat

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.

πŸš€ Β  Roadmap

We still have a long road to go, this is just the beginning. So to further improve docz we've created a roadmap so that you can see the next features and improvements and give your feedback about:

Docz Roadmap

πŸ€” Β  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. Today, tools that allow us to evolve together are really necessary. We can not 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. Documenting our things is one of the most important and painful processes 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.

πŸ‘‰πŸ» Β  More info on our website

πŸ—ƒ Β  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

🚧   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!

πŸ“Ÿ Β  Install and Usage

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

$ 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

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

Marcelo FormentΓ£o

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

Nicholas Eduardo

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

Renato Ribeiro

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

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 97.1%
  • JavaScript 2.6%
  • HTML 0.3%