Giter VIP home page Giter VIP logo

Comments (6)

stedolan avatar stedolan commented on August 28, 2024

Good idea, will do for next release.

from jq.

stedolan avatar stedolan commented on August 28, 2024

Release 1.3 has pregenerated docs.

from jq.

 avatar commented on August 28, 2024

I see the tarball (http://stedolan.github.io/jq/download/source/jq-1.3.tar.gz) has jq.1 pregenerated man page - it would be great to have pregenerated html docs too.

Also, would you consider including both these in the commits? I know it's inefficient, repeating the yml expanded to html, but it would be convenient to not have to install ruby etc to see html docs for the development version.

from jq.

stedolan avatar stedolan commented on August 28, 2024

Yeah, the tarballs should probably ship with docs/output prebuilt.

Including the pregenerated stuff in the commits is unlikely to happen. Efficiency isn't the concern. I do actually read the commit logs, especially when debugging, and I don't want every change to be eclipsed with a few hundred lines of manpage and HTML. Also, when merging branches and pull requests, there would almost invariably be conflicts between two branches' versions of generated docs.

Do try RVM if you haven't already (see docs/README.md). One command will get a Ruby install up and running.

from jq.

 avatar commented on August 28, 2024

Diffs are a really good point. (The merging point is even better.) it might be possible to have a separate branch for them (automatically handled), but a hassle.

I've tried RVM. It's a nightmare, the complex fragmented docs, the different versions of itself. Ruby also is a nightmare, with breaking changes in point releases. It used to be an easy language to get started with, but now is more serving established users/experts/commercial users. Java had this baked in from the start, whereas ruby is a fun, radical language trying to become a suit. </rant>

I'm also running into disk-space limits on my tiny machine, so that's probably the real reason :-). I might try your RVM oneliner https://github.com/stedolan/jq/blob/master/docs/README.md

from jq.

stedolan avatar stedolan commented on August 28, 2024

I'm also running into disk-space limits on my tiny machine, so that's probably the real reason

RVM does like to download all of the internet twice. I wouldn't know about its terrible docs, I don't think I've ever read them beyond "copy-paste this line into your shell and suddenly a Ruby appears".

The breaking changes in point releases of Ruby are indeed horrible. The one-liner in README.md downloads the version of Ruby I'm using; I haven't tested others.

from jq.

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.