O'Reilly logo

Web Programming with Dart by Patricia Juberias, Moises Belchin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 9

image

Generating Dart Code Documentation

At the time of writing this book we are in the newest 1.7 Dart stable version. In this chapter we want to show the tools available to generate code documentation in Dart. We’re going to talk about docgen (Documentation Generator). We’ll cover docgen tool and its options, and we’ll use it to generate the documentation of a simple library.

docgen

This tool came to replace the previous Dart documentation generator tool, called dartdoc, and this new tool changes completely the process of documentation generation. Dartdoc generated HTML static documentation files from the Dart files you selected, however ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required