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
3
votes
1 answer

raco docs change default firefox browser

Hopefully it belongs here. My default browser is chromium and racket's raco docs doesn't care -> launches firefox anyway. A bit of googling and man raco show no pertinent settings. Even kinda embarrassed to ask. But I vaguely recall from couple…
bravmi
  • 505
  • 2
  • 7
  • 13
3
votes
1 answer

Documenting default values for optional parameters in PHP with phpDocumentor

With phpDocumentor, how do you document an optional parameter that has a default value like this: public function myMethod ($param = 1234) { // ... } How do I write the @param tag in the docblock to get the default value documented?
3
votes
1 answer

Programmatically generating C# Code Documentation (summary) with CodeDOM

I want to generate C# code documentation with CodeDOM. Code without Documentation: public class MyType { public static BitmapImage File { get { return GetFile("..."); } } } Code with Documentation: ///
mihai
  • 2,746
  • 3
  • 35
  • 56
3
votes
2 answers

Way to mention null-parameter in documentation?

I am developing a kind of API and wondering which way would be generally preferred to mention about null-parameter: A. Write such like @throw NullPointerException if P is null assuming all method whose doc says nothing about it will accept…
Ryoichiro Oka
  • 1,949
  • 2
  • 13
  • 20
3
votes
6 answers

Retrieve xml doc comments programmatically

Visual Studio does it; Reflector does it; and now I want to as well :) I want to retrieve the XML documentation for some members in some framework assemblies (i.e. mscorlib.dll, System.dll, etc). I assume this would involve: finding the XML file…
Emperor XLII
  • 13,014
  • 11
  • 65
  • 75
3
votes
1 answer

hiding 'internal' dataset from documentation (R CMD check)

I'm currently R CMD checking the documentation for a package I wrote. In one of the functions, I use an auxiliary data object called 'labels' to merge to the user's input. I don't want the user to know about this dataset (it's just there to help…
Richard
  • 1,224
  • 3
  • 16
  • 32
3
votes
3 answers

Is there a way to synchronize sections of different Word documents?

I'm working on how my company does documentation (especially programming documentation). I'd like to be able to synchronize sections of different Word documents, such that if a section in one document changes, the change is reflected in the other…
David Hodgson
  • 10,104
  • 17
  • 56
  • 77
3
votes
1 answer

DoxyGen ignores functions

I have a file like: /** @file some description */ void SomeFunc();///< brief function description The @file keyword is needed to document global functions, as per Doxygen mailing list. So here it is, but Doxygen keeps ignoring SomeFunc(), i.e. it…
Hi-Angel
  • 4,933
  • 8
  • 63
  • 86
3
votes
1 answer

Is there a way to tell doxygen to not include a function in a call graph?

The call graphs that are generated by doxygen end up including calls to functions that are of no particular meaning such as as logging utilities which clutters up the call graph. I was wondering whether there is a way to mark certain functions to…
Nickolay Kondratyev
  • 4,959
  • 4
  • 25
  • 43
3
votes
3 answers

Bootstrap 3.1 documentation - Download examples

I'm totally new to Bootstrap. After some initial success I came across a very silly problem. On the website of getbootstrap.com there are some examples: http://getbootstrap.com/getting-started/#examples But I can not find the way to download them.…
tsGucci
  • 89
  • 3
  • 10
3
votes
2 answers

Doxygen latex fine-tuning?

I've got 2 questions concerning the latex output of doxygen: How can one organize the related pages (those created by \page) ? (They seem to be organized according to the title of the page) How to specify which latex stylesheet to use ? (i've found…
LB40
  • 12,041
  • 17
  • 72
  • 107
3
votes
1 answer

Doctrine / Swagger-php Syntax error: [Syntax Error] Expected PlainValue, got ')' at position

I'm trying to use Swagger-php, but I keep getting the error Via bash: [username@dev swagger-php]$ ./bin/swagger [path to codeigniter controller dir]/controllers -o [targetoutput path]/swagger The Swagger setup is in the original vendor dir as it…
jmhead
  • 887
  • 1
  • 12
  • 25
3
votes
5 answers

How to deal with an Undocumented API/Framework under .NET?

For work I have to code with an external company's API to deal with their proprietary database solution. Unfortunately the documentation they provide is more of an example guide then proper API docs, so it is very light on nitty gritty details like…
James McMahon
  • 48,506
  • 64
  • 207
  • 283
3
votes
2 answers

Acceptable way to document the return value for an ActionResult

I have the following action method in a controller: /// /// Redirects the user to the Dashboard for their default role. /// /// ??? public ActionResult Dashboard() { return RedirectToAction("Index",…
Evan Mulawski
  • 54,662
  • 15
  • 117
  • 144
3
votes
4 answers

Python Function Reference

There're tons of apps/widgets for PHP function reference and even for Ruby but I'm shocked to find there is nothing available for a popular language like Python (besides the official online documentation ofcourse). Is there really not a single…
eozzy
  • 66,048
  • 104
  • 272
  • 428
1 2 3
99
100