# HG changeset patch # User Alpar Juttner # Date 1299231072 -3600 # Node ID d3b041452dd8fa3107c6326ef73cd7419f813380 # Parent 021e232acda29a341bbf5d2e10254cad6a1caf64 Remove doc header (show version number on the main page) (#404) diff -r 021e232acda2 -r d3b041452dd8 configure.ac --- a/configure.ac Fri Jan 21 22:04:22 2011 +0100 +++ b/configure.ac Fri Mar 04 10:31:12 2011 +0100 @@ -98,13 +98,14 @@ dnl Add dependencies on files generated by configure. AC_SUBST([CONFIG_STATUS_DEPENDENCIES], - ['$(top_srcdir)/doc/Doxyfile.in $(top_srcdir)/lemon/lemon.pc.in $(top_srcdir)/cmake/version.cmake.in']) + ['$(top_srcdir)/doc/Doxyfile.in $(top_srcdir)/doc/mainpage.dox.in $(top_srcdir)/lemon/lemon.pc.in $(top_srcdir)/cmake/version.cmake.in']) AC_CONFIG_FILES([ Makefile demo/Makefile cmake/version.cmake doc/Doxyfile +doc/mainpage.dox lemon/lemon.pc ]) diff -r 021e232acda2 -r d3b041452dd8 doc/CMakeLists.txt --- a/doc/CMakeLists.txt Fri Jan 21 22:04:22 2011 +0100 +++ b/doc/CMakeLists.txt Fri Mar 04 10:31:12 2011 +0100 @@ -11,6 +11,12 @@ @ONLY ) +CONFIGURE_FILE( + ${PROJECT_SOURCE_DIR}/doc/mainpage.dox.in + ${PROJECT_BINARY_DIR}/doc/mainpage.dox + @ONLY +) + IF(DOXYGEN_EXECUTABLE AND GHOSTSCRIPT_EXECUTABLE) FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/) SET(GHOSTSCRIPT_OPTIONS -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sDEVICE=pngalpha) diff -r 021e232acda2 -r d3b041452dd8 doc/Doxyfile.in --- a/doc/Doxyfile.in Fri Jan 21 22:04:22 2011 +0100 +++ b/doc/Doxyfile.in Fri Mar 04 10:31:12 2011 +0100 @@ -4,8 +4,8 @@ # Project related configuration options #--------------------------------------------------------------------------- DOXYFILE_ENCODING = UTF-8 -PROJECT_NAME = @PACKAGE_NAME@ -PROJECT_NUMBER = @PACKAGE_VERSION@ +PROJECT_NAME = +PROJECT_NUMBER = PROJECT_BRIEF = PROJECT_LOGO = OUTPUT_DIRECTORY = @@ -96,7 +96,8 @@ "@abs_top_srcdir@/lemon/concepts" \ "@abs_top_srcdir@/demo" \ "@abs_top_srcdir@/tools" \ - "@abs_top_srcdir@/test/test_tools.h" + "@abs_top_srcdir@/test/test_tools.h" \ + "@abs_top_builddir@/doc/mainpage.dox" INPUT_ENCODING = UTF-8 FILE_PATTERNS = *.h \ *.cc \ @@ -148,7 +149,7 @@ HTML_COLORSTYLE_GAMMA = 80 HTML_TIMESTAMP = YES HTML_ALIGN_MEMBERS = YES -HTML_DYNAMIC_SECTIONS = NO +HTML_DYNAMIC_SECTIONS = YES GENERATE_DOCSET = NO DOCSET_FEEDNAME = "Doxygen generated docs" DOCSET_BUNDLE_ID = org.doxygen.Project diff -r 021e232acda2 -r d3b041452dd8 doc/mainpage.dox --- a/doc/mainpage.dox Fri Jan 21 22:04:22 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,51 +0,0 @@ -/* -*- mode: C++; indent-tabs-mode: nil; -*- - * - * This file is a part of LEMON, a generic C++ optimization library. - * - * Copyright (C) 2003-2009 - * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport - * (Egervary Research Group on Combinatorial Optimization, EGRES). - * - * Permission to use, modify and distribute this software is granted - * provided that this copyright notice appears in all copies. For - * precise terms see the accompanying LICENSE file. - * - * This software is provided "AS IS" with no warranty of any kind, - * express or implied, and with no claim as to its suitability for any - * purpose. - * - */ - -/** -\mainpage LEMON Documentation - -\section intro Introduction - -\subsection whatis What is LEMON - -LEMON stands for Library for Efficient Modeling -and Optimization in Networks. -It is a C++ template -library aimed at combinatorial optimization tasks which -often involve in working -with graphs. - - -LEMON is an open source -project. -You are free to use it in your commercial or -non-commercial applications under very permissive -\ref license "license terms". - - -\subsection howtoread How to read the documentation - -If you would like to get to know the library, see -LEMON Tutorial. - -If you know what you are looking for, then try to find it under the -Modules section. - -If you are a user of the old (0.x) series of LEMON, please check out the -\ref migration "Migration Guide" for the backward incompatibilities. -*/ diff -r 021e232acda2 -r d3b041452dd8 doc/mainpage.dox.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/mainpage.dox.in Fri Mar 04 10:31:12 2011 +0100 @@ -0,0 +1,51 @@ +/* -*- mode: C++; indent-tabs-mode: nil; -*- + * + * This file is a part of LEMON, a generic C++ optimization library. + * + * Copyright (C) 2003-2009 + * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport + * (Egervary Research Group on Combinatorial Optimization, EGRES). + * + * Permission to use, modify and distribute this software is granted + * provided that this copyright notice appears in all copies. For + * precise terms see the accompanying LICENSE file. + * + * This software is provided "AS IS" with no warranty of any kind, + * express or implied, and with no claim as to its suitability for any + * purpose. + * + */ + +/** +\mainpage @PACKAGE_NAME@ @PACKAGE_VERSION@ Documentation + +\section intro Introduction + +\subsection whatis What is LEMON + +LEMON stands for Library for Efficient Modeling +and Optimization in Networks. +It is a C++ template +library aimed at combinatorial optimization tasks which +often involve in working +with graphs. + + +LEMON is an open source +project. +You are free to use it in your commercial or +non-commercial applications under very permissive +\ref license "license terms". + + +\subsection howtoread How to read the documentation + +If you would like to get to know the library, see +LEMON Tutorial. + +If you know what you are looking for, then try to find it under the +Modules section. + +If you are a user of the old (0.x) series of LEMON, please check out the +\ref migration "Migration Guide" for the backward incompatibilities. +*/