Comments (8)
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.
The wiki has some docs in markdown... might serve as a starting point.
from shellcheck.
I'm happily accepting pull requests ^____^
from shellcheck.
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.
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.
Awesome. Thanks, Dridi!
from shellcheck.
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.
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)
- macOS brew install three versions of GHC HOT 1
- SC2004: corner case in arithmetic expressions
- Shellcheck is calling get_mempolicy causing failures HOT 1
- Shellcheck's `source` directive for SC1090 should support either $HOME or ~tilde-expansion HOT 2
- Stable version v0.10.0 HOT 4
- SC2034 shouldn’t trigger when setting nameref variables
- [Feature] Generate Warning for Multiple Traps on the Same Signal
- Add an option to treat `/bin/sh` interpreter as `busybox` HOT 13
- SC3045: incomplete wiki page when printing a literal '-' HOT 1
- SC2198 false positive
- Warn about transposed characters in variable length expansion HOT 1
- SC2119 / SC2120 false positives?
- SC2034 - consider a "test -v" as usage/reference
- [Wiki] Updated SC1074 need double check
- SC2034 local let v=0 - let appears unused HOT 1
- server1 | UNREACHABLE! => { "changed": false, "msg": "Failed to connect to the host via ssh: [email protected]: Permission denied (publickey).", "unreachable": true }
- SC1010 thrown for ``words=(do da di)``
- Shadowing `local` should throw a warning
- SC2050 "expression is constant" when checking against a file
- [Bug]: Shell check ignore is not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shellcheck.