gnu troff

I have a man page stored in my home directory called ~/foo.1. How do I read a $HOME/foo.1 man page file? How can I read the file called ~/foo.1 as a manpage with man command?

{ 1 comment }

How do I create a man page for my shell or python script under Linux / UNIX operating systems?