473,383 Members | 1,925 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Suggestions for documentation generation?

kpd
Hello,

I have written a C++ library that I've then wrapped with Pyrex.
Any suggestions to the best-in-class tool to create documentation for
the libraries?

I would love to document things in one spot (could be the code) and
generate html and PDF from there.

Doxygen (www.doxygen.org) looks to be about the best so far.

Thanks,

Mar 1 '06 #1
6 1694
kpd wrote:
Hello,

I have written a C++ library that I've then wrapped with Pyrex.
Any suggestions to the best-in-class tool to create documentation for
the libraries?

I would love to document things in one spot (could be the code) and
generate html and PDF from there.

Doxygen (www.doxygen.org) looks to be about the best so far.

Thanks,


I've heard that some folks use pythondoc:
http://starship.python.net/crew/danilo/pythondoc/
http://effbot.org/zone/pythondoc.htm

There's also HappyDoc http://happydoc.sourceforge.net/
and EpyDoc http://epydoc.sourceforge.net/ .

--
(remove zeez if demunging email address)
Mar 2 '06 #2
On Wed, 01 Mar 2006 19:58:50 -0500
"John M. Gabriele" <jo************@yahooz.com> wrote:
kpd wrote:
I have written a C++ library that I've then wrapped with
Pyrex. Any suggestions to the best-in-class tool to
create documentation for the libraries?

I would love to document things in one spot (could be
the code) and generate html and PDF from there.

Doxygen (www.doxygen.org) looks to be about the best so
far.


I've heard that some folks use pythondoc:
http://starship.python.net/crew/danilo/pythondoc/
http://effbot.org/zone/pythondoc.htm

There's also HappyDoc http://happydoc.sourceforge.net/
and EpyDoc http://epydoc.sourceforge.net/ .


Those are great, but I don't think they handle C++ ;-)

Which makes me wonder -- will epydoc work on a pyrex or
C-extension file if it defines the __doc__ strings?

--
Terry Hancock (ha*****@AnansiSpaceworks.com)
Anansi Spaceworks http://www.AnansiSpaceworks.com

Mar 2 '06 #3
kpd
Thanks - I took at both. Also at 'percepts', which I used a long time
ago (had forgotten about it). Percepts has a great little java applet
for viewing the class hierarchy. I don't think it works for python,
just C++ though. Looks like doxygen will fit the bill.

Mar 2 '06 #4
On 2 Mar 2006 04:06:17 -0800
"kpd" <ke**************@gmail.com> wrote:
Thanks - I took at both. Also at 'percepts', which I used a long time
ago (had forgotten about it). Percepts has a great little java applet
for viewing the class hierarchy. I don't think it works for python,
just C++ though. Looks like doxygen will fit the bill.


An excellent choice IMHO.

Doxygen has recently added support for Python, so if there is
pure-Python code interfacing with the rest of your work, that can be
documented also.

- Michael

--
mouse, n: a device for pointing at the xterm in which you want to type.
-- Fortune
Mar 2 '06 #5
Michael Ekstrand wrote:


Doxygen has recently added support for Python, [snip]


Didn't know that. Thanks for the heads-up. :)

--
(remove zeez if demunging email address)
Mar 2 '06 #6
kpd wrote:
Hello,

I have written a C++ library that I've then wrapped with Pyrex.
Any suggestions to the best-in-class tool to create documentation for
the libraries?

I would love to document things in one spot (could be the code) and
generate html and PDF from there.

Doxygen (www.doxygen.org) looks to be about the best so far.


I was facing the same problem and took the following approach:

1. write c++ code with doxygen-complaint comments
2. generate XML comments using doxygen
3. parse XML and generate Python docstring
4. insert the docstring into SWIG interface file

I can send you the parser but I do not know if pyrex support python
docstring.

Bo
Mar 4 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Robin Becker | last post by:
It seems the Gods are proposing to distribute the documentation and help for Python-2.3.1 in .chm form. I particularly detest .chm and much prefer .html as it works across all platforms....
1
by: Colin J. Williams | last post by:
I am building a module which is based on the numarray package and its sub-packages. I am proposing to use PyDoc to document this module. The problem is that PyDoc generates links to...
3
by: Matthias | last post by:
Hello, I have a Canvas-Widget and will use as a "array of pixel". At Positon x,y I print a rectangle with a special color. I give the rectangle no objectname. Then I will ask the...
0
by: Jeff Levinson [mcsd] | last post by:
I'm an architect for a very large fortune 100 company and we still struggle with the best balance. However, I use a couple of simple guidelines that have worked very well for me in almost all...
1
by: Ole Hanson | last post by:
I would like to be able to generate documentation for a custom configuration file (xml) to enable future support engineers to understand applicable values to the various elements inside the...
8
by: Will Pittenger | last post by:
I have a Windows program C# .NET solution where when I update its XML documentation, some tags are not recognized and turned into the corresponding HTML. Those tags include <c>, <code>, <para>,...
6
by: iclinux | last post by:
I have to build a GUI applicaiton that could run on different OS such as windows and *nix, which GUI toolkit is better? Best Regards.
1
by: Lonnie Princehouse | last post by:
I plan on writing some documentation that will consist of blocks of commentary with interspersed snippets of syntax-colored Python code and the occaisional image. Does anyone know of a package...
1
by: Ryan Ginstrom | last post by:
I have been maintaining a body of documentation in plain HTML files. I would now like to automate the generation of the HTML files. Maintaining the HTML files now is tedious and error prone,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.