Skip to content

a-miyashita/doc-environment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

doc-environment

Document Compilation Environment

This environment is to make easy to convert text documents from a markup format into others.

Requirements

This template environment requires following programs to be installed and to be installed in PATH.

  • gulp
  • pandoc

Installation

$ npm install

By default, this environment assumes source files in src directory is written in reStructuredText format and makes output files in dest/html5 directory with HTML5 format. If you are to change it, overwrite gulpfile.js.

var config = {
	src: {
		dir: 'src',
		type: 'rst'
	},
	dest: {
		dir: 'dest',
		formats: [{
			type: 'html5',
			ext: '.html'
		}]
	}
};

Usage

If you are to convert once, execute build task.

$ gulp build

If you are to watch modifications and then convert, execute watch task.

$ gulp watch

License

MIT License

About

Document Compilation Environment Template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published