Giter Site home page Giter Site logo

typedoc-plugin-folder-modules's Introduction

typedoc-plugin-folder-modules

What

A plugin for Typedoc

This plugin allows you to document your modules by the name of the 'modulefolders'.

The modules are discovered by the tag '.module' of the foldername.

This plugin is thankfully inspired by, and based on, https://github.com/asgerjensen/typedoc-plugin-external-module-map , but does not require a regex. And it runs recursively through all your folders and finds every module specified by the 'foldername.module'

Suppose you have

module1.module/index.ts
module1.module/otherfiles.ts
module1.module/module2.module/index.ts
module1.module/module2.module/otherfiles.ts

Typedoc will create a tree structure of the modules. The index.ts files are used to document the module of the folder

  • module1
    • otherfiles
    • module2
      • otherfiles

Installing

Typedoc 0.4 has the ability to discover and load typedoc plugins found in node_modules. Simply install the plugin and run typedoc.

npm install --save -dev typedoc-plugin-folder-modules
./node_modules/typedoc/bin/typedoc

Using

The Plugin will automaticly be attached to typedoc if you install it the way described above

./node_modules/typedoc/bin/typedoc --out ./docs  ./src  --mode modules --theme default

typedoc-plugin-folder-modules's People

Contributors

bort2012 avatar

Watchers

 avatar

Forkers

b4nan tomdyqin

typedoc-plugin-folder-modules's Issues

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.