Giter Site home page Giter Site logo

Comments (4)

75lb avatar 75lb commented on May 13, 2024

jeez, what an inconvenient rule for jsdoc to have!

  1. This might be my only option (to override the built-in jsdoc excludePattern).
  2. It's the system tempdir, I have no control
  3. Pfft, I'm not posting any more issues or PRs to jsdoc. Maintenance is minimal.

Can you workaround the issue temporarily by passing a custom excludePattern to options.configure?

from jsdoc-api.

75lb avatar 75lb commented on May 13, 2024

Also, gulp-jsdoc-to-markdown is deprecated and uses an old version of jsdoc-api internally - I don't intend to patch the old version. The latest jsdoc-api only uses temporary files if source: true was passed. Could you confirm whether using the current recommended gulp method fixes your issue?

from jsdoc-api.

75lb avatar 75lb commented on May 13, 2024

closing until more feedback received.

from jsdoc-api.

pstadler avatar pstadler commented on May 13, 2024

Hi there. Thanks for the fast response.

I was able to get rid of the gulp plugin. In case somebody struggles with the same problem, here's an example:

// gulp task
gulp.src(files)
  .pipe(through.obj(function (file, enc, done) {
    jsdoc2md.render({
      source: file.contents.toString(),
      template: template,
      'no-cache': true,
      configure: __dirname + '/jsdoc-config.json'
    }).then(function (result) {
      file.contents = new Buffer(result);

      done(null, file);
    }).catch(done);
  }));

// jsdoc-config.json
{
  "source": {
    "excludePattern": ""
  }
}

from jsdoc-api.

Related Issues (19)

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.