GithubHelp home page GithubHelp logo

coreybutler / polymer-doc-generator Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 148 KB

Generate JSON representations of custom Polymer-based web components. Also provides an example static HTML doc builder utility.

JavaScript 100.00%

polymer-doc-generator's Introduction

polymer-doc-generator

Generate JSON representations of custom Polymer-based web components. Also provides an example static HTML doc builder utility.

This is an experimental documentation generator

Google Polymer provides a documentation tool, but I wanted more control over the look and feel of my documentation portal. This tool generates JSON files for each web component. At the moment, it is fairly opinionated. It is pretty introspective, but does not cover the complete Polymer spec. However; it is pretty easy to customize.

If you can decipher the code (which is decently organized), I'm open to pull requests with new features. However; I ask that you first post an issue with the goal of the feature. If you just spring a PR on me, I may not accept it.

Installation & Usage

This is a node module. Eventually I'll publish it, but for now, clone the repository.

Edit the config.json to add your own source directories and output location.

node index.js will create the JSON files in the output directory specified in config.json

node build.js is a demo of how static HTML can be generated from the JSON files.

polymer-doc-generator's People

Contributors

coreybutler avatar

Watchers

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