Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docdash.private = false doesn't work #71

Closed
A-312 opened this issue Sep 11, 2019 · 0 comments · Fixed by #72
Closed

docdash.private = false doesn't work #71

A-312 opened this issue Sep 11, 2019 · 0 comments · Fixed by #72

Comments

@A-312
Copy link
Contributor

A-312 commented Sep 11, 2019

image

I want to disable private in navigation menu. I try docdash.private or docdash.static but they don't make any change.

jsdoc.json:

{
  "opts": {
    "destination": "./.doc/",
    "private": true,
    "template": "node_modules/docdash",
    "readme": "README.md",
    "tutorials": "doc/",
    "package": "package.json"
  },
  "docdash": {
    "private": false
  }
}

gulpfile.js:

const path = require('path')

const del = require('del')
const gulp = require('gulp')
const jsdoc = require('gulp-jsdoc3')

const normalizeSEP = (str) => str.replace(/\//g, path.sep)

process.chdir(path.resolve(__dirname))

const docFolder = path.resolve(__dirname, '.doc')

const cleanDoc = () => del([
  docFolder
])

const src = [
  './bin/**/*.js'
].map(normalizeSEP)

const generateDoc = () => 
  gulp.src(src, {read: false})
    .pipe(jsdoc(require('./jsdoc.json')))

gulp.task('doc', gulp.series(cleanDoc, generateDoc))

My script :

/**
 * This function load a specific CSS Engine.
 *
 * @private
 * @memberof   AppExpress
 * @param      {string}    engine     Name of engine to add
 */
function registerCSSEngine(engine) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant