Skip to content

Handling manpages #857

@CharString

Description

@CharString

How would this feature be useful?
Some packages, like ipython and ranger-fm come with man pages. It would be nice to provide these, such that man ipython will work.

Describe the solution you'd like

Much like we ask users to ensure ~/.local/bin is on their PATH and we manage symlinks there. We could manage symlinks to man pages in a location and ask them to add a MANDATORY_MANPATH or MANPATH_MAP line to their .manpath file.

Describe alternatives you've considered

I tried globbing ~/.local/pipx/venvs/*/share/man in my man config. But didn't succeed. Adding a line for each installed package does work as expected, so that's why I think automating the process would be ideal.

I'm willing and able to implement this. I just wanted to open discussion first instead of immediately coming with an elaborate PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions