From 283b278c5a2710e52ca261a6b8ef2b46e10a5c8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Wed, 9 Feb 2011 09:50:26 +0000 Subject: [PATCH] Create secion to toggle between mainpage and page for OpenMesh doc head git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@371 fdac6126-5c0c-442c-9429-916003d36597 --- Doc/doxy.config.in | 4 ++-- Doc/mainpage.docu | 11 ++++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Doc/doxy.config.in b/Doc/doxy.config.in index 1bfc52a8..acdd9410 100644 --- a/Doc/doxy.config.in +++ b/Doc/doxy.config.in @@ -450,7 +450,7 @@ GENERATE_DEPRECATEDLIST= YES # The ENABLED_SECTIONS tag can be used to enable conditional # documentation sections, marked by \if sectionname ... \endif. -ENABLED_SECTIONS = +ENABLED_SECTIONS = OPENMESH_INTERNAL_DOC # The MAX_INITIALIZER_LINES tag determines the maximum number of lines # the initial value of a variable or define consists of for it to appear in @@ -1262,7 +1262,7 @@ INCLUDE_FILE_PATTERNS = # instead of the = operator. PREDEFINED = DOXYGEN \ - OM_Attribute=class + OM_Attribute=class # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then # this tag can be used to specify a list of macro names that should be expanded. diff --git a/Doc/mainpage.docu b/Doc/mainpage.docu index 0381f2c9..aabe7bb9 100644 --- a/Doc/mainpage.docu +++ b/Doc/mainpage.docu @@ -1,4 +1,13 @@ -/** \mainpage OpenMesh Documentation +/** + + +\if OPENMESH_INTERNAL_DOC +\mainpage OpenMesh Documentation +\else +\page OpenMeshDoc OpenMesh Documentation +\endif + + Welcome to the %OpenMesh documentation. %OpenMesh is a generic and efficient library that offers data structures for representing and manipulating polygonal meshes.