Waybar: Man pages (improvement)

Created on 15 Feb 2019  路  5Comments  路  Source: Alexays/Waybar

There are no man pages for waybar. I think this would be useful for users that might need to quickly look up a config option. More or less just manualizing the wiki.

I'd be willing to do this as well if no one picks it up (I'd need to learn how to make a man page first).

(Also, I wasn't able to add a label to it for some reason)

enhancement

Most helpful comment

So, I've been looking into it a bit and asking a few friends that have done this. I've also looked at a few other projects to see how they handle man page creation.

I've found that one of the easiest ways to accomplish this would be to write the manual in markdown-like format, which is mostly done through the wiki. It'd just need to be reformatted and reorganized a bit.

With the markdown, we could use something such as scdoc which is what sway uses to create its manpages.

In fact, since this project coincides with sway quite well, I think it wouldn't be bad if we model it after their method.

Here's an example
Here's the git for scdoc

All 5 comments

Yeah, it's a nice to have but i don't have much time right now, so if you have the motivation to do it :)

So, I've been looking into it a bit and asking a few friends that have done this. I've also looked at a few other projects to see how they handle man page creation.

I've found that one of the easiest ways to accomplish this would be to write the manual in markdown-like format, which is mostly done through the wiki. It'd just need to be reformatted and reorganized a bit.

With the markdown, we could use something such as scdoc which is what sway uses to create its manpages.

In fact, since this project coincides with sway quite well, I think it wouldn't be bad if we model it after their method.

Here's an example
Here's the git for scdoc

@docquantum: have you already started? (if you still are willing to do this ofc ;])

@Asgavar I have not, I've been busy with schoolwork, if no one picks it up by mid May, I'll try and start it.

I've made my first attempt at adding a man page in this PR using scdoc: https://github.com/Alexays/Waybar/pull/431

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DyslexicAtheist picture DyslexicAtheist  路  4Comments

ddorstijn picture ddorstijn  路  5Comments

spk picture spk  路  6Comments

lovesegfault picture lovesegfault  路  3Comments

ilpianista picture ilpianista  路  4Comments