Skip to content
This repository has been archived by the owner on Jun 21, 2021. It is now read-only.

mateusnroll/grunt-docdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-docdown

Generate documentation from markdown files

Getting Started

This plugin requires Grunt ~0.4.5

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-docdown --save

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-docdown');

The "docdown" task

Overview

In your project's Gruntfile, add a section named docdown to the data object passed into grunt.initConfig(). Use the files object to point to your documentation folder. You can see a sample folder at test/fixtures/content.

grunt.initConfig({
  docdown: {
      default_options: {
        options: {
          assets: 'test/fixtures/assets'
        },
        files: [{
          expand: true,
          cwd: 'test/fixtures/content',
          src: '**/*.*',
          dest: 'tmp/'
        }]
      }
    },
});

Options

options.assets

Type: String Required: Yes

The folder that holds you asset files. You can use the files in test/fixtures/assets as a base and build your own theme.

Release History

(Nothing yet)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published