> How do we do to create separate .man files?

You can specify individual man pages to build via the
"man_pages" configuration variable in your conf.py.

Adding something like this in your conf.py should do the trick:

import glob
man_pages = []
for f in glob.glob('*.rst') + glob.glob('*/*.rst'):
    man_pages.append((
        f[:-4],                    # source file (no extension)
        f[:-4].replace('/', '-'),  # output file (under output dir)
        'description of %s' % f,   # description
        'A. Author',               # author
        1,                         # section
    ))

Cheers,
Jonathan Waltman

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to