summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/doc/file_formats.h33
-rw-r--r--src/common/doc/main_page.h3
2 files changed, 32 insertions, 4 deletions
diff --git a/src/common/doc/file_formats.h b/src/common/doc/file_formats.h
index 1f7ba201..c145b271 100644
--- a/src/common/doc/file_formats.h
+++ b/src/common/doc/file_formats.h
@@ -1,3 +1,30 @@
+/* This file is part of the Gudhi Library. The Gudhi library
+* (Geometric Understanding in Higher Dimensions) is a generic C++
+* library for computational topology.
+*
+* Author(s): Clément Jamin
+*
+* Copyright (C) 2017 INRIA
+*
+* This program is free software: you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published by
+* the Free Software Foundation, either version 3 of the License, or
+* (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef DOC_COMMON_FILE_FORMAT_H_
+#define DOC_COMMON_FILE_FORMAT_H_
+
+namespace Gudhi {
+
/*! \page fileformats File formats
\tableofcontents
@@ -21,5 +48,7 @@
\endcode
Other sample files can be found in the `data/persistence_diagram` folder.
-
-*/ \ No newline at end of file
+*/
+} // namespace Gudhi
+
+#endif // DOC_COMMON_FILE_FORMAT_H_
diff --git a/src/common/doc/main_page.h b/src/common/doc/main_page.h
index b7f93ed2..12012ecb 100644
--- a/src/common/doc/main_page.h
+++ b/src/common/doc/main_page.h
@@ -468,5 +468,4 @@ make doxygen
* @example Witness_complex/example_witness_complex_persistence.cpp
* @example Witness_complex/example_witness_complex_sphere.cpp
*/
-
-#include "file_formats.h" \ No newline at end of file
+ \ No newline at end of file