Hello,
I use sphinx to document a small python program, and I'm very happy
with it. Thanks for that program. I'm now trying to switch the doc
build from make to distutils.
I tried to use
python setup.py --command-packages sphinx build_sphinx
and
python setup.py --command-packages sphinx.setup_command
build_sphinx
as suggested in this post:
http://www.mail-archive.com/[email protected]/msg00005.html
but none worked.
I eventually understood how to include it from the setup.py:
from sphinx.setup_command import BuildDoc
version = 0.1
release = 0.1.0pre2
setup(
name='arboris',
version = release,
packages=['arboris',
'arboris.robots'],
cmdclass = {'build_sphinx': BuildDoc},
)
However I still miss two features. First, I tweaked the sphinx
Makefile to convert svg pictures to pdf and png automatically, is
there a way to do it from distutils too? Second, I found no way to
pass options to sphinx from setup.py. That would particularly useful
for the sphinx version and release options, that are common. Is it
possible? Is there a better way to deal with version/release?
Thank you for your advices and for that wonderful tool.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---