GithubHelp home page GithubHelp logo

mere / kitsune-jsdoc-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nijikokun/minami

0.0 2.0 0.0 610 KB

Fully customisable JSDoc 3 Template, based on nijikokun/minami

License: Other

JavaScript 70.77% CSS 29.23%
jsdoc jsdoc3 template js

kitsune-jsdoc-template's Introduction

kitsune-jsdoc-template

CircleCI npm version

Fully customisable jsdoc3 template, based on nijikokun/minami

Dependencies

How to use

$ npm install --save-dev kitsune-jsdoc-template

Example JSDoc Config

Note: properties prefixed with _ (underscore) are automatically ignored

{
  "tags": {
    "allowUnknownTags": true,
    "dictionaries": ["jsdoc"]
  },
  "source": {
    "include": ["src", "README.md"],
    "includePattern": ".+\\.(js|jsx)?$",
    "excludePattern": "(^|\\/|\\\\)_"
  },
  "plugins": [
    "plugins/markdown"
  ],
  "markdown": {
		"parser": "gfm",
		"hardwrap": true,
		"excludeTags": []
	},
  "templates": {
    "cleverLinks": true,
    "monospaceLinks": true,
    "useLongnameInNav": true,
    "applicationName": "nflow",
    "openGraph": {
      "title": "XYZ Documentation",
      "type": "website",
      "image": "logo.svg",
      "site_name": "XYZ API Docs",
      "url": ""
    },
    "meta": {
      "title": "",
      "description": "",
      "keyword": ""
    },
    "linenums": true,
    "default":{
      "outputSourceFiles" : true,
      "cssFiles":{
        "include":[
          "my-custom-styles.css"
        ],
        "_exclude":[
          "styles/jsdoc-default.css"
        ]
      },
      "_jsFiles":{
        "include":[
          "my-library.js"
        ],
        "_exclude":["scripts/prettify/lang-css.js"]
      },
      "_templateFiles":{
        "example":"src-docs/tmpl/my-custom-example.tmpl"
      },
      "staticFiles":{
        "_include": [
          "./src-docs/assets",
          "./node_modules/some-library"
        ]
      },
      "_i18nFile": "src-docs/tmpl/i18n.json",
      "theme":"github",
      "paramsDisplay":"compact"
    }
  },
  "opts": {
    "_template": "./node_modules/kitsune-jsdoc-template",
    "template": "../kitsune-jsdoc-template",
    "encoding": "utf8",
    "destination": "./docs/",
    "private": true,
    "recurse": true,
    "tutorials": "./src-docs/tutorials"
  }
}

License

Licensed under the Apache2 license.

kitsune-jsdoc-template's People

Contributors

nijikokun avatar zoltan-bourne avatar mere avatar dryajov avatar mjhost avatar brianpeiris avatar d2s avatar harrysarson avatar kribblo avatar seapunk avatar stfsy avatar

Watchers

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