-
Notifications
You must be signed in to change notification settings - Fork 120
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
man page #29
Comments
Thank you for the request. We can add it to the list, if anyone was willing to put something together that could be discussed that would be great. |
@tobya I'm willing to write the man page. |
@fakeid30 That's great, maybe post it here for comments when done. |
@tobya Hmm, I need a bit of a guide as to how you want me to do it. Can we talk on email ? |
I dont know much about man pages, but if you take a stab at it and read up about their format you could get a basic draft together. Look at other man pages to give you an idea of the sort of information that might be useful to have in a man page. |
How about using https://pandoc.org/ to convert to man pages? Is that viable? |
Looks promising. It would certainly make the arcane world of man pages a little easier! |
@4470 Thank you for your note. Have you managed to work on the man page? |
@carlwgeorge do you still consider this relevant for v2? Is |
Yes, it's absolutely still relevant. Man pages are the de facto standard on Linux. They are either required or recommended for distribution packaging guidelines.
Speaking for myself personally, when I need to check on the usage or flags of a command, I check the following resources in order.
|
Anyone is welcome to work on this. :) Dunno if this'll help: https://godoc.org/within.website/x/internal/manpage |
I will look into writing manpages, at least for cli-usage but ideally for also for config/caddyfile. |
Very useful. thanks Small update on this:
Is the general direction alright? |
That sounds like a good approach, yeah. I don't know much about generating man pages, but I suppose that's as good a way as any to do it. Am trying to decide if this will be used enough to merit inclusion into the standard Caddy distribution or if it should be a third party plugin. |
Makes sense, target users for this feature would be distribution maintainers only. I have opened a PR, caddyserver/caddy#4316 with my current draft, I guess it should work out to rewrite it as module. Just let me know |
Good point, so yeah, probably an external module. |
I'll close this, because both the .deb and .rpm have the manpage bundled, via the |
1. What version of Caddy are you using (
caddy -version
)?0.10.9
2. What are you trying to do?
man caddy
Having a man page available would be useful for quick reference on servers and would help comply with distro packaging guidelines.
The text was updated successfully, but these errors were encountered: