You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many complex libraries create general man pages for a set of functions and symlink all function name man pages to that general man. page.
Currently I need to install_man the actual man page and then run a loop over a dict to create the symlinks:
This is a lot of boilerplate code, moreover it is error prone. install_man has heuristics to determine the directory of the manual page. This needs to be replicated when manually creating the symlink as install_man does not return the actual paths of the placed manual page(s).
Instead install_man should allow passing a dict directly and install both the manual page as well as all symlinks.
Second best would be to return the path of the installed manual page(s) in install_man. The code would then be at least not trying to guess.
Many complex libraries create general man pages for a set of functions and symlink all function name man pages to that general man. page.
Currently I need to install_man the actual man page and then run a loop over a dict to create the symlinks:
This is a lot of boilerplate code, moreover it is error prone.
install_man
has heuristics to determine the directory of the manual page. This needs to be replicated when manually creating the symlink asinstall_man
does not return the actual paths of the placed manual page(s).Instead
install_man
should allow passing adict
directly and install both the manual page as well as all symlinks.Second best would be to return the path of the installed manual page(s) in
install_man
. The code would then be at least not trying to guess.The text was updated successfully, but these errors were encountered: