Giter Site home page Giter Site logo

Comments (9)

stephencarr avatar stephencarr commented on July 29, 2024

I am seeing the same issue.

from beautiful-docs.

craigjennings11 avatar craigjennings11 commented on July 29, 2024

I am also seeing this. It appears that the version of less used affects this.

from beautiful-docs.

craigjennings11 avatar craigjennings11 commented on July 29, 2024

It seems like [email protected] is the first version where this occurs. [email protected] correctly compiles the less files

from beautiful-docs.

craigjennings11 avatar craigjennings11 commented on July 29, 2024

Actually I think 82be58e may have fixed the issue. I was using a stale version of this repo but once I updated this problem went away.

from beautiful-docs.

Donnerbart avatar Donnerbart commented on July 29, 2024

When is the next release planned?

from beautiful-docs.

versedi avatar versedi commented on July 29, 2024

+1 looking forward to use it without problems!

from beautiful-docs.

tkgreg avatar tkgreg commented on July 29, 2024

Still not working out of the box

from beautiful-docs.

tkgreg avatar tkgreg commented on July 29, 2024

How to workaround this issue?

from beautiful-docs.

racoco avatar racoco commented on July 29, 2024

I has the same issue with less (2.5.3) and beautiful-docs (1.0.3).

In node_modules/beautiful-docs/lib/generator.js. I modified the callback to pass not the css json object, but the value of the internal css property instead.

See line 312 of generator.js. Here is the change I made...

return less.render(data.toString(), function(err, css) {
//console.log("\n**** CSS OUTPUT: ", css ); console.log("\n"); // racoco
//return cb(err, target, css); // original code. BROKEN!
return cb(err, target, css.css); // racoco FIXES css output
});

from beautiful-docs.

Related Issues (20)

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.