Giter Site home page Giter Site logo

vitdocjs / vitdoc Goto Github PK

View Code? Open in Web Editor NEW
83.0 1.0 8.0 3.09 MB

Use markdown to write documentation, and automatically extract interface definitions.

Home Page: https://vitdocjs.github.io

JavaScript 0.57% HTML 0.68% TypeScript 67.26% SCSS 12.10% CSS 19.39%
markdown react typescript

vitdoc's Introduction

Logo for project

npm package node compatibility TypeScript NPM Downloads

Based on Vite, use markdown to write React component documentation, and automatically extract component interface definitions.

Inspired by dumiHistoire

English | 简体中文

Features

  • Vite kernel, efficient and fast development experience.
  • Using the Markdown writing, you can quickly write documentation for the project, automatically generate a preview, and generate documents while debugging.
  • Automatically analyze TypeScript type definitions and generate API documentation.
  • Automatically generate menu navigation based on .md file directory.
Write documentation by markdown

Markdown

Extract ts interface

TypeScript Types

Usage & Guide

You can check out the projects in the examples directory for a quick start.

$ npm install -g vitdoc
$ cd ../examples/demo
$ vitdoc

More Details

vitdoc's People

Contributors

yee94 avatar awesomedevin avatar

Stargazers

jerrychane avatar Madinah avatar  avatar  avatar 吴飞 avatar  avatar LeoStar avatar  avatar _Derya_ avatar  avatar ferrinweb avatar Aurora avatar Pithy avatar Lyn avatar zhaocai avatar Jooel avatar  avatar Gengar Neko (梗詭貓) avatar L avatar  avatar BiuBiu_Hu avatar  avatar  avatar Banday Catala avatar kevin avatar Bias avatar  avatar PinghuaZhuang avatar  avatar Ari Perkkiö avatar Simon avatar Melissa Boutry avatar Jérémie Cyrille avatar Robot. avatar Luke Zhu avatar saki_bcc avatar cj97 avatar HongJie Tao avatar Felix Zhang avatar fadeaway avatar Tom Clancy avatar aric avatar Elvis avatar 迷悟 avatar Qiang avatar zz avatar  avatar  avatar Alfred.Tang avatar ibaoyu丶 avatar  avatar odinlin avatar 鹏歌。 avatar  avatar Step By Step avatar  avatar Tsuki avatar xzf_ avatar JinmingYang avatar Ruanyq avatar 肛肠科冯主任 avatar pbsun avatar leobaixinxin avatar Cowan avatar idler avatar  avatar Aaronphy avatar  avatar  avatar abin avatar  avatar Suel avatar  avatar  avatar  avatar wayshef avatar  avatar Skyler avatar jason avatar Aeo avatar unonu avatar Marc Plouhinec avatar David Bonachera avatar

Watchers

 avatar

vitdoc's Issues

关于Demo无法正常运行的问题

环境: Windows 11
node版本: v16.15.1

按 README 步骤运行, 结果报错如下
image

怀疑可能是 Windows 系统原因吧, 希望大佬看一下, 很想上手体验一下!谢谢!

怎么规避预览区域内的样式污染

vitdoc: v1.8.8
@vitdoc/template-mobile: v2.2.1

目前预览区有 antd 的 reset.css,但实际项目并没有这些样式,会造成预览差异
image

请问有方法剔除或者预览区有纯空白文档提供吗?

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.