Skip to content

Commit

Permalink
foodocs
Browse files Browse the repository at this point in the history
  • Loading branch information
chaos358 committed Apr 23, 2018
1 parent 95e5109 commit 8035aee
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 14 deletions.
36 changes: 30 additions & 6 deletions config/docs.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
]
},
"source": {
"include": [
"include": [
"README.md",
"src"
],
"includePattern": ".js$",
Expand All @@ -16,15 +17,38 @@
"plugins/markdown"
],
"templates": {
"cleverLinks": false,
"monospaceLinks": true,
"useLongnameInNav": false
"systemName": "Sitemap Generator",
"systemSummary": "<img src='http://inch-ci.org/github/pikkumyy/sitemap-generator.svg?branch=master' alt='badge' /> You are viewing application source code documentation. <br/>To view details about this projects please see <a href='http://www.sneeak.com/sitemap-generator' style='color:#fff'>sneeak.com/sitemap-generator</a>",
"systemColor": "#009688",
"footer": "",
"copyright": "",
"includeDate": "true",
"dateFormat": "MMM YYYY",
"inlineNav": "true",
"inverseNav": "false",
"linenums": "true",
"showTableOfContents": "true",
"showAccessFilter": "true",
"analytics": {
"ua": "UA-81731558-12",
"domain": "http://www.sneeak.com/sitemap-generator/docs/documentation"
},
"collapseSymbols": "true",
"methodHeadingReturns": "false",
"outputSourceFiles": "true",
"outputSourcePath": "true",
"search": "true",
"favicon": "./assets/img/128x128.png",
"stylesheets": [
"data:text/css;base64,Zm9vdGVyewogICAgZGlzcGxheTpub25lIWltcG9ydGFudDsKfQ=="
],
"scripts": []
},
"opts": {
"destination": "./docs/docs.json",
"destination": "./docs/documentation",
"encoding": "utf8",
"private": true,
"recurse": true,
"template": "./node_modules/jsdoc-json"
"template": "./node_modules/foodoc/template"
}
}
6 changes: 0 additions & 6 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ gulp.task('default', [
'watch'
]);

gulp.task('doc-dir', function () {
if (!fs.existsSync('docs')){
fs.mkdirSync('docs');
}
});

gulp.task('release', ['default'], function () {
return gulp.src(paths.dist + '/**/*')
.pipe($.zip('release.zip'))
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"dev": "gulp --progress --watch --colors --env dev",
"build": "npm run test && gulp --env build -- release",
"docs": "gulp doc-dir && ./node_modules/.bin/jsdoc --configure ./config/docs.config.json",
"docs": "./node_modules/.bin/jsdoc --configure ./config/docs.config.json",
"test": "mocha --require babel-core/register --colors ./test/*.spec.js",
"test:watch": "mocha --require babel-core/register --colors -w ./test/*.spec.js",
"test:coverage": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha --require babel-core/register test/*.spec.js",
Expand All @@ -30,9 +30,9 @@
"coveralls": "^3.0.0",
"cross-env": "^5.1.4",
"del": "^3.0.0",
"jsdoc-json": "2.0.2",
"eslint": "^4.19.1",
"eslint-loader": "^2.0.0",
"foodoc": "^0.0.8",
"gulp": "latest",
"gulp-clean-css": "^3.9.3",
"gulp-concat": "^2.6.1",
Expand Down

0 comments on commit 8035aee

Please sign in to comment.