-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite manpages in asciidoc #253
Comments
I've just manually transformed the man page to Markdown 😄 (crystal-lang/crystal-book#316). |
Calling SOURCE_DATE_EPOCH= asciidoctor -a shards_version=0.14.0 docs/shards.adoc -b manpage -o man/shards.1
asciidoctor: FAILED: /home/zawertun/tmp/shards/docs/shards.adoc: Failed to load AsciiDoc document - invalid value for Integer(): ""
Use --trace for backtrace (I'm building shards from the tar.gz archive, not from the git repo) |
That makefile call is completely broken. Sorry, this was a really crappy copy and paste 😢 Fix is in #479. |
There are two man pages committed in the man/ that are removed when you run |
For the time being, they're checked in as a convenience so you don't have to install asciidoctor to read the manpages. So yeah, probably they shouldn't be cleaned. Feel free to make a PR. It's low priority, though. |
It would be nice to rewrite the manpages in asciidoc and to build them using the asciidoctor gem. It's nicer to write in, and that would allow to have different output formats (man, html, md, ...). Git does that and I really like it.
The text was updated successfully, but these errors were encountered: