Questions tagged [documentation]

THIS TAG IS FOR DOCUMENT GENERATORS ONLY. Include language and/or SDE tag as well. DO NOT USE to ask for links to documentation or tools, or to critique vendor documentation.

Use the tag for questions related to self-documenting code and documentation generators.

Basic definitions

  • Software documentation is written text or illustration that accompanies computer software or is embedded in the source code. It either explains how it operates or how to use it, and may mean different things to people in different roles.Wikipedia

  • A documentation generator is a programming tool that generates software documentation intended for programmers or end users, or both, from a set of specially commented source code files, and in some cases, binary files.Wikipedia

Related tags

Possible synonyms:

Substitute these more specific tags for where possible:

"Documentation" topics on other SE sites

Questions about how documentation fits within the software development process are off-topic on StackOverflow, but are on-topic on Software Engineering.

Writing Stack Exchange has tags for Technical Writing, API Documentation and Software Tools, with a focus on the craft of professional writing.

Useful links

Off-Topic Questions

Remember that the following types of questions are off-topic, and subject to being closed and deleted:

  • Where is the documentation for... ?
  • What is the best way to document... ?
  • Is there a tool to help document... ?
  • Is this documentation correct?
4700 questions
90
votes
8 answers

Where are the man pages for C++?

Does documentation for C++ exist in Linux? I want something like the man pages of C. For example, docs for string, stl, iostream, ifstream, etc.?
fpointbin
  • 1,633
  • 3
  • 16
  • 20
89
votes
5 answers

Compare and contrast the lightweight markup languages

Please identify the most popular lightweight markup languages and compare their strengths and weaknesses. These languages should be general-purpose markup for technical prose, such as for documentation (for example, Haml doesn't count). See also:…
JasonSmith
  • 72,674
  • 22
  • 123
  • 149
89
votes
7 answers

Best way to document anonymous objects and functions with jsdoc

Edit: This is technically a 2 part question. I've chosen the best answer that covers the question in general and linked to the answer that handles the specific question. What is the best way to document anonymous objects and functions with…
Josh Johnson
  • 10,729
  • 12
  • 60
  • 83
89
votes
4 answers

How do I create documentation with Pydoc?

I'm trying to create a document out of my module. I used pydoc from the command-line in Windows 7 using Python 3.2.3: python "\pydoc.py" -w myModule This led to my shell being filled with text, one line for each file in my module,…
user1632861
86
votes
6 answers

Create html documentation for C# code

I'm currently working on a C# project and VisualAssist generates these fancy /// comments for me and I've been using them do document my code. I assume there must be a way to use these comments to create HTML documentation like…
jaho
  • 4,852
  • 6
  • 40
  • 66
85
votes
3 answers

Node.js request object documentation?

This is a pretty straight forward question, but I haven't found anything on Google. I'm looking for documentation on the request parameter in Node.js's create server function, but I haven't been able to find…
Benjamin Collins
  • 1,044
  • 2
  • 9
  • 23
84
votes
5 answers

Documentation for using JavaScript code inside a PDF file

Where can I find documentation on running JavaScript code inside a PDF? I've never added a JavaScript action inside a PDF document. However, I've done quite a bit of web development using JavaScript. I have a few questions to whoever has any…
Sam
  • 26,946
  • 12
  • 75
  • 101
84
votes
6 answers

How do I document a module in Python?

That's it. If you want to document a function or a class, you put a string just after the definition. For instance: def foo(): """This function does nothing.""" pass But what about a module? How can I document what a file.py does?
Auron
  • 13,626
  • 15
  • 47
  • 54
84
votes
4 answers

Python Docstring: raise vs. raises

I use the PyCharm IDE which assists with crafting PEP0257-compliant docstrings. It provides two attributes I don't entirely understand the distinction/use between: :raise Exception: exception explanation here :raises Exception: exception…
Bob Dylan
  • 1,773
  • 2
  • 16
  • 27
84
votes
6 answers

Android offline documentation and sample codes

I am not able to find the offline docs for android. Can someone provide a link?
Nullpoet
  • 10,949
  • 20
  • 48
  • 65
84
votes
12 answers

Are there some good and modern alternatives to Javadoc?

Let's face it: You don't need to be a designer to see that default Javadoc looks ugly. There are some resources on the web which offer re-styled Javadoc. But the default behaviour represents the product and should be as reasonably…
ivan_ivanovich_ivanoff
  • 19,113
  • 27
  • 81
  • 100
78
votes
4 answers

What parameters are required to create an "Add to Google Calendar" link?

We can use this link to add a new event to Google Calendar by…
Huei Tan
  • 2,237
  • 3
  • 23
  • 34
78
votes
7 answers

Programmatically get Summary comments at runtime

I'm looking for a way to programmatically get the summary portion of Xml-comments of a method in ASP.net. I have looked at the previous related posts and they do not supply a way of doing so in a web environment. I can not use any 3rd party apps…
Riaan Walters
  • 2,587
  • 2
  • 18
  • 30
77
votes
6 answers

JSDoc adding real code in documentation

Do you know if there is some sort of tag in JSDoc? I need to add pieces of code in my documentation like this: /** * This function does something see example below: * * var x = foo("test"); //it will show "test" message * * @param…
Marco Demaio
  • 33,578
  • 33
  • 128
  • 159
77
votes
4 answers

iOS Private API Documentation

Is there a web site or project documenting private APIs for the iPhone SDK?
Richard Stelling
  • 25,607
  • 27
  • 108
  • 188