GithubHelp home page GithubHelp logo

ronghang / docz Goto Github PK

View Code? Open in Web Editor NEW

This project forked from doczjs/docz

0.0 1.0 0.0 5.07 MB

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

Home Page: https://docz.site

License: MIT License

JavaScript 10.34% TypeScript 89.48% HTML 0.17%

docz's Introduction

Open Collective Patreon

Chat

βœ…οΈ Β  Migration Guide

This documentation is for Docz v1. Follow our migration guide if you haven't upgraded your project yet.

🎩   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 enhanced by the power of components.
  • πŸŽ› Pluggable. Use plugins to manipulate and customise Docz to suit your needs.
  • πŸ” Typescript Support. Full support for TypeScript. Write your type definitions with no extra setup required.

πŸ€” Β  Why?

Libraries that make development easier are appearing every day. Styleguides and design systems are growing in popularity. Today, tools that allow us to get our best work done and be efficient are necessary. We shouldn't be spending too much time on tasks that should be trivial. This is why we created Docz.

Documenting code is one of the most important and time-heavy processes when you're creating something new. A lot of time is wasted on unnecessarily attempting to build a documentation site that will match the style we want.

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

πŸŽ› Β  Plugins

πŸ—ƒ Β  Examples

🌍   Around the world

⚠️   Warning

Since the release of v1 you need react and react-dom v16.8.0 or later installed.

πŸ“Ÿ Β  Install and Usage

Getting started with Docz is really quick and easy.

Firstly, install docz and a theme of your choosing using your favourite package manager:

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

# or

$ npm install --save-dev docz@next docz-theme-default@next

Next, add some .mdx files 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>

Finally, run the Docz development server:

$ yarn docz dev

That's it! Now you have some 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, we have a great team who would be more than happy to help you:

Pedro Nauck
Pedro Nauck

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

docz's People

Contributors

pedronauck avatar marceloavf avatar aleen42 avatar yaodingyd avatar socksrust avatar nicholasess avatar swapnull avatar mpivaa avatar glazy avatar jared-dev avatar diegohaz avatar lettertwo avatar bpetetot avatar renatorib avatar amedora avatar stephenwf avatar nnecec avatar rfbotto avatar richardtks avatar rakannimer avatar piotrf avatar patricksevat avatar miketdonahue avatar mcamac avatar lucasavila00 avatar aaronang avatar thibautre avatar transitive-bullshit avatar vivek12345 avatar wuweiweiwu avatar

Watchers

springo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.