-
-
Notifications
You must be signed in to change notification settings - Fork 651
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
Add a manpage to Zellij #455
Conversation
I've decided to remove mandown from dependencies and removed the task installing manpage (this should probably be a task of a package manager). Still I think it is convenient to generate manpage from a markdown file with mandown and to keep that markdown file in docs. Instead I've added a line in CONTRIBUTING.md explaining that one should have mandown to run |
Thank you, this is great!
👍 We have been trying to get away from including generated assets - if we can, Or would that have significant drawbacks in your eyes? |
Yes, that is a good point! I am not sure what is easier for most distributions and to what extent they ingest the
I agree. I doubt we would be too happy writing the Thank you, this is very valuable! |
|
@Adhalianna I believe that the As I understand, the manpage doesn't actually do anything on crates.io but is just around for those doing distribution packaging? If so, it might be nice to generate it during CI and have it as a release asset. |
Then the generated asset can be safely removed |
Now ci-build-release will install mandown. As for normal install ( Still I am much more of a fan of leaving the asset. It would keep the install from sources smaller. Only those interested in editing the manpage would have to install mandown. |
Thank you for all the work,
Ah, so the conversion is done again? Does it make sense to somehow get the assets that is released to
Thanks for raising this point! This is a good idea. If we really need to install |
@Adhalianna |
After a shock of failing at
man zellij
I've decided to work on that as my first OSS contribution.I have added a new dev-dependency mandown but I am not sure if that is the way to go as it is not installed automatically this way before invoking
cargo make manpage
.I believe mandown (command-line utility in this case, not the library) will make updating the manpage easier. I used it to create the manpage avaliable under
assets/man/zellij.1
and added two new tasks toMakefile.toml
, one runs mandown to generate manpage from a file atdocs/MANPAGE.md
the other just installs ready manpage from assets.