Git Product home page Git Product logo

c4builder-demo's People

Contributors

adrianvlupu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

c4builder-demo's Issues

Path to pdf.css is broken

Hello! Thanks for a wonderful tool and a very helpful example that's really good for getting things running.

I've run into some problems on macos and will file tickets here just as documentation, and hopefully I will get around to submitting PRs for them myself. If not, at least they're documented and the next clueless user can get some solace in not being alone.

So, first ticket:

What I did

  • installed C4Builder
  • cloned the repo from Github && cd C4Builder-Demo
  • ran c4builder

Expected result

Among other things, a PDF in ./docs

Actual result

c4builder never exits. This is the output:

building documentation in ./docs
parsed 7 folders
generating images
processed 8/8 images
generating markdown files
processed 7/7 files
generating docsify site
generating complete pdf file
[Error: ENOENT: no such file or directory, open 'C:\Projects\C4-Builder\pdf.css'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: 'C:\\Projects\\C4-Builder\\pdf.css'
}
built in 6.013 seconds

to view the generated website run
> c4builder site

Workaround

$ dir=$(asdf which c4builder)
$ cp $(dirname $dir)/../lib/node_modules/c4builder/pdf.css .

And update .c4builder to include "pdfCss": "./pdf.css".

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.