GithubHelp home page GithubHelp logo

Add a man page about shellcheck HOT 8 CLOSED

koalaman avatar koalaman commented on July 22, 2024
Add a man page

from shellcheck.

Comments (8)

cheecheeo avatar cheecheeo commented on July 22, 2024

Pandoc also has man support [1,2]

[1] http://johnmacfarlane.net/pandoc/demo/pandoc.1.md
[2] http://johnmacfarlane.net/pandoc/demos.html

from shellcheck.

HairyFotr avatar HairyFotr commented on July 22, 2024

The wiki has some docs in markdown... might serve as a starting point.

from shellcheck.

koalaman avatar koalaman commented on July 22, 2024

I'm happily accepting pull requests ^____^

from shellcheck.

Dridi avatar Dridi commented on July 22, 2024

I'm happily accepting pull requests ^____^

\o/

I'll happily send one of course, but first I'd like you to choose one solution between ronn, rst2man and pandoc. I'll first initiate a shellcheck.1 man page but there could also be a shellcheck.7 best-effort man page describing the various SC#### codes.

Whatever markup (rst, markdown) you choose, it could be used to generate both man and html pages.

from shellcheck.

koalaman avatar koalaman commented on July 22, 2024

I'd prefer markdown, since it's semi-standard and used on github, stackoverflow and others.

Descriptions of the SC codes are probably best left to the wiki.

from shellcheck.

koalaman avatar koalaman commented on July 22, 2024

Awesome. Thanks, Dridi!

from shellcheck.

Dridi avatar Dridi commented on July 22, 2024

I'm kind of an offline person, so I hope you'll reconsider my level 7 man page proposal. I believe detailed explanations belong with the source code, and that a man page with full description of the different codes make sense.

I see something like:

.
|- ShellCheck
|  \ ...
|- test
|  \ ...
|- docs
|  \
|   |- docs.md
|   |- SC1000.md
|   |- SC####.md
|   \ ...
|- shellcheck.7.md
\ ...

You could both generate web pages for http://shellcheck.net and generate a local man page from a concatenation of shellcheck.7.md and docs/SC*.md. With github's markdown friendliness, one could also browse the docs repository, get human-readable pages easily editable in-place.

Awesome. Thanks, Dridi!

Seriously ? Thank you for shellcheck, it instantly became mandatory in my toolbox ! By the way, it has landed in Fedora 19+ :)

from shellcheck.

koalaman avatar koalaman commented on July 22, 2024

It's not that it doesn't make sense or wouldn't be useful. The benefit of the wiki is that it's anyone can quickly and easily edit it in a familiar way without knowing anything about the project or its file structures. A few wonderful people already have.

If it requires examining the doc structure, doing commits and submitting pull requests, I strongly suspect casual users wouldn't bother, even with github's inline editing tools (I know I wouldn't). That would leave me with the task of managing and updating it, and I'm not doing a very good job of that as it is.

from shellcheck.

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.