Move the command description to a markdown file for man pages#26830
Move the command description to a markdown file for man pages#26830thaJeztah merged 1 commit intomoby:masterfrom
Conversation
985c4e5 to
1b179b8
Compare
man/docker-top.1.md
Outdated
There was a problem hiding this comment.
Do you know if these "history" lines have any official meaning in man files; iow is it OK to omit them? (just curious)
There was a problem hiding this comment.
I believe this is just a header/section like any other. I took a lot at man git, and man top, and neither of them have history sections (at least on arch).
There was a problem hiding this comment.
Alright, thanks! I won't miss them (and they are really outdated), so good to get rid of them I think
man/src/network/disconnect.md
Outdated
There was a problem hiding this comment.
nit while I'm browsing; should be no space before $
1b179b8 to
dd4c649
Compare
|
I really like this! Wondering if we need the nested directories for sub commands ( We could even expand on this in future to re-use this for the reference docs design LGTM, I'm moving this to code review, but /cc @vdemeester as well |
We could use underscore separators instead of directories, but I prefer directories.
Absolutely. I'm going to start setting that up now as part of #26784 I think |
|
Thanks! Yeah, the naming is just bike-shedding, and no strong preference on my side, so 👍 |
631b633 to
50ec08c
Compare
|
ping @vdemeester PTAL |
6d9764c to
667e1e3
Compare
|
ping, rebased again |
667e1e3 to
bae34a2
Compare
|
hmf needs another rebase already ping @vdemeester, ptal ! |
bae34a2 to
c7be038
Compare
|
ping @vdemeester for review - @dnephin this needs another rebase it seems :\ |
c7be038 to
0e06630
Compare
|
@dnephin could you rebase? |
|
I've been rebasing this almost every week for a few months. I can do it again, but it seems kind of pointless unless we're ready to merge this sometime soon. |
0e06630 to
63a1b40
Compare
|
rebased again |
|
Can we please get this merged asap? |
vdemeester
left a comment
There was a problem hiding this comment.
LGTM 🐸
@dnephin could you squash your commit though 👼 (actual commit message are pretty much the same for all commits 😓)
Signed-off-by: Daniel Nephin <[email protected]>
63a1b40 to
78101b2
Compare
|
Squashed, and build is green |
Move the command description to a markdown file for man pages
Following up on some concerns from #23825 and #25615.
This changes moves the command "long description" back to a markdown file, so that we can use "`" and so that docs contributors don't have to edit source files.
It still uses the cobra man page generation for the flags and the rest of the structure, but reads the long description from a file.
I've ported over the
volumecommands, which were using the in-lined description, as well as all thenetworkcommands, and a couple random top-level commands. If this looks good I can proceed with the rest as part of #26721