Spinning Topp Logo BlackTopp Studios
inc
running_doxygen.h
1 // © Copyright 2010 - 2016 BlackTopp Studios Inc.
2 /* This file is part of The Mezzanine Engine.
3 
4  The Mezzanine Engine is free software: you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation, either version 3 of the License, or
7  (at your option) any later version.
8 
9  The Mezzanine Engine is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with The Mezzanine Engine. If not, see <http://www.gnu.org/licenses/>.
16 */
17 /* The original authors have included a copy of the license specified above in the
18  'Docs' folder. See 'gpl.txt'
19 */
20 /* We welcome the use of the Mezzanine engine to anyone, including companies who wish to
21  Build professional software and charge for their product.
22 
23  However there are some practical restrictions, so if your project involves
24  any of the following you should contact us and we will try to work something
25  out:
26  - DRM or Copy Protection of any kind(except Copyrights)
27  - Software Patents You Do Not Wish to Freely License
28  - Any Kind of Linking to Non-GPL licensed Works
29  - Are Currently In Violation of Another Copyright Holder's GPL License
30  - If You want to change our code and not add a few hundred MB of stuff to
31  your distribution
32 
33  These and other limitations could cause serious legal problems if you ignore
34  them, so it is best to simply contact us or the Free Software Foundation, if
35  you have any questions.
36 
37  Joseph Toppi - toppij@gmail.com
38  John Blackwood - makoenergy02@gmail.com
39 */
40 
41 #ifndef running_doxygen_h
42 #define running_doxygen_h
43 
44 /**
45  @page running_doxygen Running Doxygen
46  The Mezzanine API is nearly 100% described in the Doxygen documentation. This API documentation
47  is intended as a reference (rather than tutorial) and comes in the
48  @htmlonly<a href="https://github.com/BlackToppStudios/Mezzanine">@endhtmlonly
49  Mezzanine github repository
50  @htmlonly</a>@endhtmlonly
51  . A version of this documentation is periodically updated and made available as the BlackTopp
52  Studios API documentation, but this can be out of date by several months. If you want the most
53  updated version of the API the most reliable solution is to build the API documentation from
54  the source code you have.
55 
56  @section running_doxygen_tools Tools Required
57  To build the API documentation you will need
58  @htmlonly<a href="http://www.blacktoppstudios.com/www.stack.nl/~dimitri/doxygen/">@endhtmlonly
59  Doxygen
60  @htmlonly</a>@endhtmlonly
61  and
62  @htmlonly<a href="http://www.graphviz.org">@endhtmlonly
63  Graphviz
64  @htmlonly</a>@endhtmlonly
65  . These are available from
66  their respective websites’ download pages:
67 
68  - @htmlonly<a href="http://www.stack.nl/~dimitri/doxygen/download.html">@endhtmlonly
69  Doxygen Download
70  @htmlonly</a>@endhtmlonly
71  - @htmlonly<a href="http://www.graphviz.org/Download.php">@endhtmlonly
72  Graphviz Download
73  @htmlonly</a>@endhtmlonly
74 
75 
76  Windows and Mac OS X users will have to manually install these. Linux users may be able to
77  automatically install these tools from their distro’s repository with their package manager.
78  Here is an example on Ubuntu:
79  @code
80  sudo apt-get install doxygen graphviz
81  @endcode
82 
83  @section running_doxygen_cmake Cmake and the Build Target
84  When configuring CMake enabling the "Mezz_Doc" will cause doxygen documentation to be built with
85  any full build or any build of the “MezzanineDocumentation” build target. Either check the box
86  from the cmake-gui and from the command prompt you can use:
87 
88  @code
89  cmake ../Mezzanine/ -DMezz_Doc:boolean=true
90  @endcode
91 
92  For more details on how to use cmake see the section on @ref building_the_engine_using_cmake
93  in the @ref building_the_engine page.
94 
95  @n
96  In Code::Blocks You can build the documentation by simply selecting this from the
97  “Build target:” menu, then clicking the gear icon to build. If you generated build files that
98  use make, you should be able to build the documentation with:
99 
100  @code
101  make MezzanineDocumentation
102  @endcode
103 
104  Or if you had cmake emit ninja build scripts
105 
106  @code
107  ninja MezzanineDocumentation
108  @endcode
109 
110  Any of these documentation build processes will read the doxygen config file, found at
111  ‘docs/doxygen/doxyfiles/Doxyfile’ relative to the root of the source repo. They will output html
112  documentation to ‘docs/doxygen/html’ which you can browse in any web browser by opening
113  ‘docs/doxygen/html/index.html’.
114 
115  If you use a modern IDE and wish to update documenation, any warnings or errors should be
116  presented much the same compiler warnings or errors. In the Code::Blocks ‘Build Messages’ tab or
117  Qt Creator ‘Issues’ panel you should be able to click or double click a specific item and have
118  it take you to the documentation problem in the source code.
119 
120 */
121 
122 #endif