Unity + XML + Doxygen + Graphviz: Documentation and Views

Sometimes is good to have a good documentation in a proyect specially if you restart a proyect after several month of doing other things, so here is a quick guide, maybe you will need it some day.

XML: In front of any item (class, variable, method, etc), just type “///”. The editor will fill in an XML template and attempt to auto-document the item. You can adjust the comments however you want.

Doxygen: install Doxygen and Jacob Pennock’s Doxygen Unity integration.

Graphviz: install it, after that you need to choose with options do you will need in your proyect, editing the Doxygen file of your proyect.

Configure DOT and Doxygen: The best way to configure, is with the Doxygen GUI frontend:

Start → Programs → doxygen → doxywizard

Click “Expert…” in the Doxygen Wizard and select the tab “Dot”.
Here you need to tell Doxygen that Graphiz has been installed and the path to Graphviz.
Select “HAVE_DOT” and enter the path to the Graphiz binaries.

Sin título3

In the wizard we can configure the options we will need in the proyect.

Remember to add the DOT_PATH and then only runn the program in the RUN seccion of the wizard.

The Result will be something like this:

Sin título2

Sin título



Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión /  Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión /  Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión /  Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión /  Cambiar )


Conectando a %s

Subir ↑

A %d blogueros les gusta esto: