Debian Codegraph @

src/Doc/mainpage.dox.in

raw
1 /***************************************************************************
2 * Copyright (c) 2002 Juergen Riegel <[email protected]> *
3 * *
4 * This file is part of the FreeCAD CAx development system. *
5 * *
6 * This library is free software; you can redistribute it and/or *
7 * modify it under the terms of the GNU Library General Public *
8 * License as published by the Free Software Foundation; either *
9 * version 2 of the License, or (at your option) any later version. *
10 * *
11 * This library is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU Library General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU Library General Public *
17 * License along with this library; see the file COPYING.LIB. If not, *
18 * write to the Free Software Foundation, Inc., 59 Temple Place, *
19 * Suite 330, Boston, MA 02111-1307, USA *
20 * *
21 ***************************************************************************/
22
23 /**
24
25 @mainpage FreeCAD Source Documentation
26
27 @section toc Table of Contents
28 - @ref intro_main "Introduction"
29 - @ref organization "Organization of the API Documentation"
30 - @ref other_doc "Other Documentation"
31
32 @section intro_main Introduction
33
34 This is the source documentation of [FreeCAD](https://www.freecad.org). It
35 is automatically generated from the source code and describes the different
36 components of the FreeCAD source code, for both the parts written in C++
37 and Python. The next section discusses the organization of this API
38 documentation and the last section describes other forms of documentation
39 that FreeCAD has.
40
41 @section organization Organization of the API Documentation
42
43 This documentation is divided into several topics of which the most important are:
44 - @ref CORE "Core"
45 - @ref BASE "Base"
46 - @ref APP "App"
47 - @ref GUI "Gui"
48 - @ref WORKBENCHES "Workbenches"
49 - @ref EMBEDDED "Embedded 3rd party packages"
50
51 Firstly, topic @ref CORE "Core" contains the core namespaces and classes
52 that all of FreeCAD relies on. This consists of namespace %Base (see topic
53 @ref BASE "Base") that contains fundamental base classes, the namespace
54 %App (see topic @ref APP "App") that contains classes for FreeCAD in
55 command-line mode, and namespace %Gui (see topic @ref GUI "Gui") that
56 contains the classes for FreeCAD's GUI.
57
58 FreeCAD is highly modular and most of its functionality is within modules
59 that are called @ref WORKBENCHES "Workbenches". Workbenches can be written
60 in C++ or Python or in a combination of the two. FreeCAD also has external
61 workbenches that can be loaded from the Addon Manager. These external
62 workbenches need to be written in Python.
63
64 Finally, there is the topic @ref EMBEDDED "Embedded 3rd party packages"
65 that contains 3rd-party software of which the source is embedded in
66 FreeCAD. This means that during compilation, these packages will be
67 compiled and linked to FreeCAD as opposed to non-embedded 3rd-party
68 packages that are only linked to FreeCAD. An example of an important
69 non-embedded 3rd party software package is [Open CASCADE
70 Technology](https://dev.opencascade.org/doc/overview/html/). Its API
71 documentation can be found
72 [here](https://dev.opencascade.org/doc/refman/html/index.html).
73
74 @section other_doc Other Documentation
75
76 For general help and documentation about the FreeCAD application and how to
77 use it, head first to the [Wiki Documentation](https://www.freecad.org/wiki).
78
79 Refer to the [Wiki page "The FreeCAD source
80 code"](https://www.freecad.org/wiki/The_FreeCAD_source_code) for a broad
81 view of how the source code is organized, and browse the modules, classes
82 and namespaces from the menu above.
83
84 The [Developer hub](https://www.freecad.org/wiki/Developer_hub) of the wiki
85 contains additional information for developers and the [Power users /
86 Python scripting section](https://www.freecad.org/wiki/Power_users_hub)
87 contains coding documentation that is specifically aimed at Python
88 scripting, but that will also be useful to C++ coders, as most of the APIs
89 are identical or very similar.
90
91 For space reasons, this on-line version doesn't include the source code
92 headers nor the full inheritance graphics. But you can build a full version
93 yourself with everything included, as explained in Wiki page [Source
94 documentation](https://wiki.freecad.org/Source_documentation#Complete_documentation). You
95 can also browse through the [source code on
96 GitHub](https://github.com/FreeCAD/FreeCAD).
97
98 @if DEV_DOCUMENTATION
99
100 @mainpage FreeCAD source documentation
101
102 @image html freecadsplash.png
103
104 <b>Welcome to FreeCAD source documentation!</b>
105
106 We hope you'll find it a convenient tool to explore, understand and
107 experiment with the internals of the program.
108
109 Being generated from the actual state of the code, this documentation
110 is by no means a well structured corpus or a textbook, but more an
111 utility to browse through the sources.
112
113 If you seek information on FreeCAD at large, please consult our
114 <a href="https://www.freecad.org/wiki/Main_Page">Wiki</a>
115
116 FreeCAD being a fast moving target, don't hesitate to rebuild an up to
117 date doc from source as often as needed (\ref makingdocs "more info"). CPU cycles are cheap
118 nowadays!
119
120 The homepage of FreeCAD is <a href="https://www.freecad.org">here</a>.
121
122 @endif
123
124 <small>
125 @GIT_REVISION_INFO@
126 </small>
127 */
128
129 /**
130 * @namespace std
131 * @brief The Standard namespace for the C++ library
132 */
133