documentation

How to annotate C++ code for automatic code documentation

In this article, we look at how we can annotate our code so it can be picked up by a documentation tool to provide automatic code documentation for us. There are good and bad ways to do this, and unfortunately, more often than not, code documentation is a dreaded task by programmers and is done …

How to annotate C++ code for automatic code documentation Read More »

How to write a user guide to document your CFD code

In this article, we explore how we can provide a user guide for software projects that grow beyond their original scope so that a 1-page readme file may not be sufficient anymore. We will look at a package called Sphinx that helps us write a user guide by adding searching, navigation, and a table of …

How to write a user guide to document your CFD code Read More »

Documenting code; why bother and how to do it right

In this article, we will explore the three main components that makeup code documentation. We will explore why providing documentation is important and how it improves the chance that others will start using your code. We also look at situations where writing documentation for the sake of it may lead to pointless documentation and this …

Documenting code; why bother and how to do it right Read More »