Giter Site home page Giter Site logo

csacx / firedoc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cocos-creator/firedoc-2.x

0.0 2.0 0.0 6 MB

API Doc generator based on YUIDoc

License: Other

Makefile 0.05% JavaScript 87.51% Shell 0.12% CoffeeScript 0.04% CSS 2.45% HTML 0.07% Handlebars 9.77%

firedoc's Introduction

FireDoc

API Doc generator based on YUIDoc. We use this tool to document a large JavaScript game engine Fireball at docs-zh.fireball-x.com/api and self-document firedoc itself at:

NPM NPM

npm Version Dependency Status

Overview

FireDoc is forked from YUIDoc and added some powerful enhanced features at Syntax Guide.

YUIDoc is a Node.js application used at build time to generate API documentation for JavaScript code. YUIDoc is comment-driven and supports a wide range of JavaScript coding styles. The output of YUIDoc is API documentation formatted as a set of HTML pages including information about methods, properties, custom events and inheritance for JavaScript objects.

YUIDoc was originally written for the YUI Project; it uses YUI JavaScript and CSS in the generated files and it supports common YUI conventions like Custom Events. That said, it can be used easily and productively on non-YUI code.

Installation

$ npm install -g firedoc

Usage

$ firedoc source-path --lang

--lang option is required for multi-language description. Currently firedoc supports --en and --zh language option. Adding those option will generate docs for that specific language.

--markdown or --md is optional flag, which lets you get the markdown-based documentation to directly host at Github or Bitbucket. Firedoc's github hosted documentation is generated by itself.

Test

To run test

$ npm test

Documentation

Contributing

Please see the CONTRIBUTING.md.

License

This software is free to use under the Yahoo Inc. BSD license. See the LICENSE file for license text and copyright information.

firedoc's People

Contributors

andrewnicols avatar bakfr avatar caridy avatar codelulu avatar davglass avatar derek avatar dtan avatar ericf avatar erikabele avatar evangoer avatar hokaccha avatar isaachier avatar lexander avatar limikael avatar mikepmunroe avatar mmpestorich avatar nantas avatar okuryu avatar onlywei avatar prodaea avatar reid avatar rgrove avatar sdesai avatar spartanp avatar spocke avatar thomasboyt avatar timdp avatar tivac avatar yorkie avatar yyjdelete avatar

Watchers

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