473,396 Members | 1,779 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,396 software developers and data experts.

How to documents APIs like javadoc?

In java I can make documentation of all API I created.
In C#, there is tags such as <summary> for documentation. However I don't
know the tool like java tool. How to do so?

Thank you.
Nov 16 '05 #1
5 7788
There is ndoc. (search in google for NDoc). Or, csc takes a /doc: argument
which generates XML documentation from your XML comments.

--
Girish Bharadwaj
http://msmvps.com/gbvb
"GoodMorningSky" <sk*@forever21.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
In java I can make documentation of all API I created.
In C#, there is tags such as <summary> for documentation. However I don't
know the tool like java tool. How to do so?

Thank you.

Nov 16 '05 #2
"GoodMorningSky" <sk*@forever21.com> schrieb
In java I can make documentation of all API I created.
In C#, there is tags such as <summary> for documentation. However I don't
know the tool like java tool. How to do so?


http://ndoc.sourceforge.net/

Cheers

Arne Janning
Nov 16 '05 #3
Try "Build Comment Web Pages" from the Tools menu.
"GoodMorningSky" <sk*@forever21.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
In java I can make documentation of all API I created.
In C#, there is tags such as <summary> for documentation. However I don't
know the tool like java tool. How to do so?

Thank you.

Nov 16 '05 #4
> Try "Build Comment Web Pages" from the Tools menu.

This is a good option for internal use documentation. The XML documentation
comments are probable better for documentation you would ship to clients.

To use the XML comments there are a few steps:
1. add XML doc comments to your code
2. run the C# compiler with the /doc:filename flag to extract the XML
comments
3. feed the XML file and the assembly (dll or exe) into a post processing
tool like ndoc to produce the output format of your choice

Mark
Nov 16 '05 #5

"GoodMorningSky" <sk*@forever21.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
In java I can make documentation of all API I created.
In C#, there is tags such as <summary> for documentation. However I don't
know the tool like java tool. How to do so?


The C# compiler (csc) will generate XML documentation if you set the
/doc switch (there's an option in the project settings in VS.NET as
well).

Once you have this, you can use the free NDoc tool
(http://ndoc.sf.net) to turn that into MSDN/.NETFrameworkSDK style,
JavaDoc, or a custom style.

HOWEVER... XML comments quickly become unwieldy, even if you use
<include> to include them from a separate file.

For a large project/API, we ended up having to resort to a
commercial product: Document!X http://www.documentx.com/
It's kinda pricey, but it's amazing and makes editing .NET
API docs simple without all the XML comment unsightliness.

-c
Nov 16 '05 #6

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

Similar topics

0
by: Dean A. Hoover | last post by:
I noticed in the sun sdk javadoc documentation for, say java.sql.PreparedStatement, that class names are not expanded. For example, the setString method takes a java.lang.String as one of its...
2
by: Murat Tasan | last post by:
i'm having trouble with some links using javadoc... basically, here is the example: {@link List}. {@link List#set(int, Object) List.set}. i'll run javadoc, but only the first link shows up....
1
by: Krusty276 | last post by:
I'm getting this error when trying to compile javadoc in ant from my buildxml: Any ideas? C:\umg\java\web\dbtest\WEB-INF\src\build.xml:64: Javadoc failed: java.io.IOException: CreateProcess:...
1
by: Prakash | last post by:
Hi, I want to generate the JDK API using Javadoc. I have installed java 1.4.2 in WINDOWS. Since i don't have frequent access to the Net, i want to generate the Java API Help using javadoc.But I...
2
by: Lou Lipnickey | last post by:
When using the @param with javadoc, it seem that the full variable specification appears (e.g. "java.lang.String" ) vs. what would appear in the Sun language Javadoc (e.g. "String"). How does one...
0
by: Tony Johansson | last post by:
Hello! I trying to use javadoc from within .NET but it doesn't work. I do the following 1.Add javadoc to the source code 2.In the tool meny choose Build comment Web pages 3.Push the OK...
0
by: sameer | last post by:
Hi all, ..net framwork 1.1 sql server 2000 I have a vb.net winforms application using webservices\ remoting to upload documents\ images to the webserver and i am gong to store them in the sql...
4
by: gsreenathreddy | last post by:
hi! I would like to create javadoc for jar file. Is it possible to create javadoc for jar file. I know that we can create javadoc for souce files. It is very urgent. Thank you,
2
by: rednarjess | last post by:
Hello every body; When I want to generate the Javadoc for my project, The result is fine at the bigining of the generating init: Generating Javadoc Javadoc execution Loading source file...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.