-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 27.07.2010 18:27, schrieb peo: >>From a rst source file and a list of tuples > man_pages = [ ('sourcefile', 'target', u'title', u'Authors name', > 'manual') ] > in conf.py i have tried to generate man (Unix manual) pages from > Sphinx, i.e. by > make man > that runs > sphinx-build -a -n -b man -d build/doctrees source build/man > > The generated manpage build/man/file.manual I have tested by opening > it with 'man -l'. Most of it looks great! But there are some error/ > warning messages displayed: > > grotty:lattgen.manual:4204: character above first line discarded > > I tried to search this sphinx-dev group and also the internet.. Anyone > who can tell where to start looking for the cause? Anyone else using > Sphinx to generate MAN-pages ?
Hi, I think you should start looking at the docutils manpage-writer, the source is available here: http://svn.berlios.de/viewvc/docutils/trunk/docutils/docutils/writers/manpage.py?view=log Sphinx' manpage builder is only a thin shell around that adding support for custom nodes. Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAkxavfUACgkQN9GcIYhpnLB7TACgktBZW9o+9QwOAx+0DxzqqdiO nocAoII0hEMPS2mWN/XKunFbCNvkydp3 =vEAO -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.