Skip to content
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

Create a specification of the fpm command line interface (asciidoctor) #230

Closed
wants to merge 2 commits into from

Conversation

awvwgk
Copy link
Member

@awvwgk awvwgk commented Nov 7, 2020

Create fpm(1) and the currently available six subcommand manual pages.

To check the resulting manual pages on the command line translate them with asciidoctor:

asciidoctor -b manpage fpm.adoc
man -l fpm.1

I guess asciidoc is not that well known by everybody, checkout its homepage and the asciidoctor project for a short overview. It is comparable to reStructuredText as an extendable and standardized markup language for technical writing. There are several large projects using it extensively but it is not as well known as Markdown.

Please review this PR while comparing to #261 and consider the following points

  • setup/usage of the toolchain
  • the markup language to express the command line documentation
  • the output (both HTML and roff/man page)
  • the preview on GH

Closes #227
Closes #261

@awvwgk awvwgk added documentation Improvements or additions to documentation specification Issue regarding fpm manifest and model labels Nov 7, 2020
- Create fpm and the currently available six subcommand manual pages
@awvwgk awvwgk marked this pull request as ready for review November 30, 2020 18:00
@awvwgk
Copy link
Member Author

awvwgk commented Nov 30, 2020

I have looked for alternatives to write man pages and CLI documentation, but asciidoc seems to be the best solution I could fine so far, therefore I will just open this PR for discussion.

@milancurcic
Copy link
Member

Have you tried converting Markdown to man page format using Pandoc? There's an example here.

I ask because 1) Markdown is simpler than Asciidoc and we're already writing Markdown for READMEs, and 2) pandoc is a more mature tool than asciidoctor (I think).

@awvwgk
Copy link
Member Author

awvwgk commented Nov 30, 2020

Thanks for the suggestion, I will give it a try and open another PR with markdown files if it works out nicely. Than we can compare and make a choice between the two.

@awvwgk awvwgk changed the title Create a specification of the fpm command line interface Create a specification of the fpm command line interface (asciidoctor) Nov 30, 2020
@awvwgk awvwgk added the wontfix This will not be worked on label Mar 2, 2021
@awvwgk
Copy link
Member Author

awvwgk commented Mar 2, 2021

Closing this for now. I might pickup the project again at some point. Feel free to use 2024a64 in case anyone wants to continue on this project.

@awvwgk awvwgk closed this Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation specification Issue regarding fpm manifest and model wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a specification for the command line interface
2 participants