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
28
votes
3 answers

How to add documentation tooltip to classes, methods, properties, etc. in C#?

Not sure if I'm even calling this right but I wanted to start adding some documentation to my classes, methods, properties, etc. I know this is probably super obvious but I never really learned it. I'm not sure where to start. Just to clarify…
Edward
  • 7,346
  • 8
  • 62
  • 123
28
votes
7 answers

What documents should be stored in version control and how should they be stored?

I've found some similar questions (here, here, and here) asking about storing documents into version control. I have a more specific requirement and general question. The specific requirement is that I want to use Git. The more general question is,…
Oliver Zheng
  • 7,831
  • 8
  • 53
  • 59
28
votes
8 answers

Is there a WEBGL Manual?

Is there some kind of WebGL manual that lists all the functions etc. ? I tried Google but found nothing.
Martin
  • 710
  • 2
  • 11
  • 18
28
votes
1 answer

Source Code in Bullet Lists with reStructuredText

I am trying to include source code in bullet lists with reStructuredText; like this: - List item 1 :: code sample... code sample... - List item 2 :: code sample... code sample... However, I get the following warning: System Message:…
ustun
  • 6,941
  • 5
  • 44
  • 57
28
votes
5 answers

MSBuild Community Tasks Documentation

Is it just me or is the documentation on this project really scarce? I'm trying to find how to use the FtpCreateRemoteDirectory and FTP functionality in general, but can't seem to find anything. Googling FtpCreateRemoteDirectory, only shows the…
Bertvan
  • 4,943
  • 5
  • 40
  • 61
28
votes
5 answers

Is there a standard style for documentation in PHP?

I'm new to PHP development, and I'm wondering if the community has any guidelines for inline documentation of code using comments. I'd love something like Python's PEP 257, but I'd settle for a format used by a popular document extraction tool, or…
jwhitlock
  • 4,572
  • 4
  • 39
  • 49
28
votes
9 answers

how to add token auth to swagger + django rest framework?

I am using both great tools DRF and Django-REST-Swagger, however a few of my API views are under token authentication. So now I'd like to add to my swagger doc page of my API the possibility to test those token auth api urls, including the Token…
miguelfg
  • 1,455
  • 2
  • 16
  • 21
28
votes
5 answers

Using Doxygen with C, do you comment the function prototype or the definition? Or both?

I'm using Doxygen with some embedded C source. Given a .c/.h file pair, do you put Doxygen comments on the function prototype (.h file) or the function definition (.c file), or do you duplicate them in both places? I'm having a problem in which…
jparker
  • 1,569
  • 2
  • 16
  • 16
28
votes
3 answers

Multiline Clojure docstrings

I've noticed that Clojure multiline docstrings seem to be manually formatted in most cases, including the ones in clojure.core. Example from https://github.com/clojure/clojure/blob/master/src/clj/clojure/core.clj : (defn flatten "Takes any…
mikera
  • 105,238
  • 25
  • 256
  • 415
27
votes
3 answers

How can I configure Sphinx to conditionally exclude some pages?

When generating documentation using Sphinx, I would like to be able to generate two versions of my documentation: one including everything, and one with only a particular set of pages. What's the best way of achieving that? I could write a build…
kdt
  • 27,905
  • 33
  • 92
  • 139
27
votes
2 answers

How to see docstrings and other symbol information in Common Lisp REPL?

I'm completely new to CL, and I'd like to learn how to read documentation strings and get other help information from the REPL. Something like help(symbol) in Python, or symbol? in iPython, or :t and :i in Haskell's GHCi. So, given a symbol name,…
sastanin
  • 40,473
  • 13
  • 103
  • 130
27
votes
1 answer

Why magento does not provide Guide or Manual for developers?

Does anyone know why magento does not provide any manual or developer guide? All most every framework and CMS provides an official development manual but in the case of magento I did not find any official manual which surprised me. Learning magento…
Shakti Singh
  • 84,385
  • 21
  • 134
  • 153
27
votes
3 answers

phpDoc class constants documentation

How do I document class constants for phpDoc? I've read the manual but I can't find anything about them.
mck89
  • 18,918
  • 16
  • 89
  • 106
27
votes
3 answers

How to document websocket events or callback in swagger

I have a setup where it is possible to get some resource using standard REST and this is easy documented in swagger. The same resource is pushed to clients using websockets when it has changed, so clients does not have to do a pull on an interval…
27
votes
7 answers

What should people new to Python know about its community and ecosystem?

I'm cobbling together some sort of an introduction to Python, but one that focuses on the community and the ecosystem around Python rather than just the language. With How to Think Like a Computer Scientist and other great tutorials, it's easy to…