Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

Questions tagged [documentation-generation]

A documentation generator is a programming tool that generates documentation intended for programmers (API documentation) or end users (End-user Guide), or both, from a set of specially commented source code files, and in some cases, binary files.

Filter by
Sorted by
Tagged with
5 votes
12 answers
5k views

With generative AI, you can just ask it to explain the code to you. In my experience, it is reliable and accurate - which cannot always be said about manual comments. I am specifically referring to ...
Evorlor's user avatar
  • 1,563
0 votes
2 answers
306 views

Our project consists of a cluster of microservices (let's say 20, mainly JS & PHP) that are communicating among themselves and exchanging data (via MQ) among themselves. Also, clusters have API ...
Petr Bělecký's user avatar
3 votes
1 answer
1k views

I'm having a dilemma regarding whether or not to use Doxygen's \@file (a.k.a. \file) command: /** * @file my_filename.c * * etc. etc. On the one hand, it's somewhat useful for you to use @file, ...
einpoklum's user avatar
  • 2,808
2 votes
1 answer
769 views

My application publishes various messages (e.g., telemetry, changed-events, ...) to a RabbitMQ message-broker. The users have no access to the source-code and therefore, will need a separate ...
SoftwareArchitect123's user avatar
0 votes
1 answer
126 views

I always document my Python code with numpydoc style docstrings. For my private projects, I also generate the documentation as HTML and host them. That is super helpful because this way I can Google ...
Martin Thoma's user avatar
4 votes
1 answer
338 views

I am currently working on a project that has very little documentation overall. The team is working to change that. I am doing my part, by adding xml comments to the methods I make and the ones I edit,...
Kaito Kid's user avatar
  • 151
-2 votes
1 answer
97 views

We have a webapp (ecommerce webapp) where we are currently working on. For some functions we wrote UML diagrams and ERD diagrams. We just made a high level architecture of the website. But the ...
Nuri Ensing's user avatar
0 votes
1 answer
1k views

I have 2 models, DTOs and database models (entities) that map to the database. I usually put XML comments above the properties to describe what are they for. class MyEntity { /// <summary> ...
Konrad's user avatar
  • 1,569
2 votes
2 answers
1k views

I have function that takes as arguments a number of classes of average complexity. When writing docstring for that function, I'm running into a series of questions: Should I describe (besides what ...
user7088941's user avatar
21 votes
6 answers
7k views

I want to document my code such that there is minimum need for reading and browsing the code again months later. I know that there are different types of documentation (in source code and outside, ...
Reza Akraminejad's user avatar
3 votes
2 answers
1k views

I am using XML Documentation comments to document a new project. All of my public API methods are documented using the three slashes required for XML documentation. My internal methods (protected ...
w0051977's user avatar
  • 7,139
2 votes
1 answer
166 views

While studying the book of Software Engineering by author Roger Pressman I came across this point about software reengineering , where it is written in the book that if creating documentation is time ...
Deepeshkumar's user avatar
6 votes
2 answers
301 views

In addition to this question Should Git be used for documentation and project management? Should the code be in a separate repository? I want to ask if it is recommended to keep the documentation ...
Alexandru Irimiea's user avatar
1 vote
1 answer
180 views

I'm writing a framework that automatically documents applications dependencies in a distributed system, the idea is to produce something close to an UML component diagram of the whole system at ...
Michael Técourt's user avatar
0 votes
2 answers
2k views

I am starting a startup and myself and my partners are having trouble keeping up to date on each other's code and how to implement their functions. Our code is very well commented, but each of us have ...
Reid's user avatar
  • 109
6 votes
1 answer
2k views

I find myself unsure about what exactly it means to have different representations of a RESTful resource. The canonical example is for an API to provide an endpoint - say /v1/users/:id - and allow ...
Jason's user avatar
  • 179
2 votes
0 answers
305 views

Based on the tags listed from this "standard", is there an order of the tags that people typically follow? Even if it's not something that has been entirely accepted, but something proposed? I am ...
Katrina's user avatar
  • 211
2 votes
1 answer
243 views

I am adding documentation to PHP code using the phpDocs tool: /** * This is a summary * * This is a description * * @use This function is called here and here */ function doSomething(){ } I am ...
Sad CRUD Developer's user avatar
0 votes
1 answer
121 views

After having written some python scripts with comments for documentation inside, is it a good idea and possible to aggregate the documentation comments from multiple scripts into some standalone ...
Tim's user avatar
  • 5,555
1 vote
2 answers
132 views

So I started thinking, what is the best practice for publishing generated documentation (e.g. Doxygen, NaturalDocs, etc.) in terms of infrastructure? I would be generating it through continuous ...
dukeofgaming's user avatar
0 votes
1 answer
401 views

So I've started a project to generate reports for our system. These are reports that we deliver to our end customers and they are so specialized that no existing system can generate them. This is not ...
Christian Wattengård's user avatar
1 vote
2 answers
585 views

How should I approach writing comments for callback functions? I want to explain the "why" behind the function when the function and parameter names are insufficient to explain what's going on. I ...
snowmantw's user avatar
  • 143
2 votes
1 answer
176 views

It is popular to write documentation in the same file as the code and extract that using software to generate documents. In order to not affect performance, the documentation is written within ...
sawa's user avatar
  • 464
1 vote
0 answers
105 views

I'm currently working on a client's project that involves programming in multiple languages. It has gotten to the point where the amount of source code for each language has grown to such a large ...
Reactgular's user avatar
  • 13.1k
7 votes
1 answer
632 views

I'm trying to document my code using JSDOC3, that has a similar syntax to PHPDocumentator / Apigen. But is there a de-facto standard for Javascript inline documentation? I think Google Closure is the ...
pocesar's user avatar
  • 241
1 vote
1 answer
305 views

Sometimes, I notice typos in articles (blog posts) or books in source code that appears in the body of the article. It may be an indication that the code has been manually copied and pasted (e.g. ...
alecail's user avatar
  • 472
21 votes
1 answer
13k views

So we have an interface like so /// <summary> /// Interface for classes capable of creating foos /// </summary> public interface ICreatesFoo { /// <summary> /// Creates foos //...
Earlz's user avatar
  • 23.1k
0 votes
1 answer
197 views

I am a Sr java Developer and have recently joined a new team. Here I have been asked to create a functional document looking at the code of a legacy application. This application was written about 8-...
mehta's user avatar
  • 121
10 votes
1 answer
6k views

I've documented my code for doxygen, but I don't want the default HTML it gives. I know I can customize it by providing custom CSS, headers, footers, etc. (like GNOME does), and how I can add common ...
Cole Tobin's user avatar
  • 1,533
6 votes
1 answer
3k views

my question is rather short: How do I document typescript code properly? I found out that for projects becoming bigger and bigger, it is important to look at a function and immediately know ...
Max Beikirch's user avatar
  • 1,049
3 votes
1 answer
192 views

This is a question I originally asked on Stack Overflow, but as a conceptual design question as opposed to a technical issue, I believe it may be more appropriate, or possibly have alternate parallel ...
Southpaw Hare's user avatar
5 votes
1 answer
866 views

I'm against compiled stuff going into version control, specially when it comes to compiled binaries, however, my principles are now in question after adding doxygen support for a project. Should the ...
dukeofgaming's user avatar
5 votes
2 answers
265 views

I have a rating engine (it is basically an algorithm) which when I started had no formal documentation. We have created a functional specification/decomposition which is our business level document ...
Shadders's user avatar
12 votes
3 answers
3k views

Is there a good term that is similar but different than "deprecate" to mean that a method or API is in the code base but should not be used because its implementation is not complete or will likely ...
Michael Levy's user avatar
3 votes
1 answer
3k views

In PHP you can have a function take an infinite number of arguments like /** * Do abc... * * @since 1.0 * @param mixed $arg1 Arg description * @return string ...
Anna's user avatar
  • 33
2 votes
2 answers
2k views

In the PEAR standards there is no reference to HTML, if its allowed or not. http://pear.php.net/manual/en/standards.sample.php But I see some people use HTML tags like <kbd> and stuff.. So is ...
Annie's user avatar
  • 23
6 votes
5 answers
1k views

The more SQL fields I add to my tables and the more primary/foreign keys I add the more I lose the overview for specific fields for certain scenarios like Get/Add/Delete/Update data. I use SQL ...
Pascal's user avatar
  • 267
13 votes
8 answers
6k views

I am currently using two systems to write code documentation (am using C++): Documentation about methods and class members are added next to the code, using the Doxygen format. On a server Doxygen is ...
Patrick's user avatar
  • 571
25 votes
4 answers
2k views

Behavior-Driven Development with its emblematic “Given-When-Then” scenarios syntax has lately been quite hyped for its possible uses as a boundary object for software functionality assessment. I ...
MattiSG's user avatar
  • 1,962
7 votes
1 answer
2k views

I'm currently looking into API documentation generation tools and I noticed that apparently there are no efforts going on in standardization. Javadoc style is kind of an ubiquitous convention... it ...
dukeofgaming's user avatar
8 votes
5 answers
2k views

I have developed a few quantitative libraries in C# where it is important to understand not only the classic information that goes with the XMLDoc comments (which contains basic information with the ...
SRKX's user avatar
  • 1,939
22 votes
5 answers
2k views

It has been less than a year since I joined my current company. Their majority of sales have come from a single product that has been alive since the last 10 years. However, there is minimal (if at ...
arin's user avatar
  • 430
4 votes
6 answers
5k views

We have a lot of concepts in making diagrams like UML and flowcharting or just making up whatever boxes-and-arrows combination works at the time, but I'm looking at doing a visual diagram on something ...
Incognito's user avatar
  • 3,478
4 votes
3 answers
383 views

I'm considering using appledoc, a flavor of Doxygen for use in generating Objective-C code documentation, in order to create documentation for my company's iOS apps. The idea is that a server will ...
Brian Gesiak's user avatar
11 votes
5 answers
12k views

I have completed a web application which is basically developed in PHP and is just another regular web application. Usually when I deliver the final production release I just handover the code ...
swordfish's user avatar
  • 319
3 votes
3 answers
586 views

Does there exist a software solution of some form that has the ability to map out the actions of calling a function. So what I mean is, let's say that we have the following class. public class Foo {...
msarchet's user avatar
  • 453
5 votes
2 answers
626 views

Are there developpers out there, who (ab)use the CaptureScreenshot() function of their automated gui-tests to also create uptodate-screenshots for the userdocumentation? Background: Whithin the ...
k3b's user avatar
  • 7,621
2 votes
4 answers
2k views

I have a large system in OpenEdge ABL that could use some documentation-love. Currently a team member is working on a utility that can find methods and functions and make some "Javadoc-esque" html ...
corsiKa's user avatar
  • 1,084
4 votes
2 answers
275 views

In this paper, it is recommended that one document the following: module structure module interfaces If I'm writing detailed module structures and interfaces in a standalone document, aren't I ...
MikeRand's user avatar
  • 1,133
2 votes
2 answers
2k views

What is the best way of managing minutes of meeting on daily bases ? Do we have to manage the documents in a repository like VSS or it can be maintained in a excel sheet itself. Kindly share your ...