From 858060b23bac6f13367f9351f51cc9a652e2f9b3 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Fri, 31 Aug 2018 10:12:12 -0400 Subject: [PATCH] remove unused program2doxyplain script --- doc/doxygen/scripts/program2doxyplain | 51 --------------------------- doc/doxygen/tutorial/CMakeLists.txt | 1 - 2 files changed, 52 deletions(-) delete mode 100644 doc/doxygen/scripts/program2doxyplain diff --git a/doc/doxygen/scripts/program2doxyplain b/doc/doxygen/scripts/program2doxyplain deleted file mode 100644 index bac2d2768f..0000000000 --- a/doc/doxygen/scripts/program2doxyplain +++ /dev/null @@ -1,51 +0,0 @@ -## --------------------------------------------------------------------- -## -## Copyright (C) 2006 - 2015 by the deal.II authors -## -## This file is part of the deal.II library. -## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. -## -## --------------------------------------------------------------------- - - -print "\n"; - - -while (<>) { - # simply print non-comment lines and let doxygen do all the work. - # the only thing we have to make sure is that if we copy /*...*/ - # comments that doxygen doesn't get confused; do so by simply - # adding a space - # - # also remove all $ signs to avoid confusing doxygen with what - # may or may not be a formula - if ( ! m!^\s*//! ) { - s!/\*!/ \*!g; - s!\*/!\* /!g; - - s!\$!!g; - - print " * $_"; - } else { - # for comments, all we do is replace section headers, and - # generate addressable anchors - if ( /\@sect/ ) { - m!\@sect(\d)\{(.*)\}\s*$!; - $sect_name = $2; - - # for the anchor, use the name of the section but discard - # everything except for letters, numbers, and underscores - $sect_name =~ s/[^a-zA-Z0-9_]//g; - - print "\@endcode\n"; - print " \n"; - print "\@code\n"; - } - } -} diff --git a/doc/doxygen/tutorial/CMakeLists.txt b/doc/doxygen/tutorial/CMakeLists.txt index 159401eaea..5ac000e9f3 100644 --- a/doc/doxygen/tutorial/CMakeLists.txt +++ b/doc/doxygen/tutorial/CMakeLists.txt @@ -140,7 +140,6 @@ FOREACH(_step ${_deal_ii_steps}) ${CMAKE_SOURCE_DIR}/doc/doxygen/scripts/intro2toc ${CMAKE_SOURCE_DIR}/doc/doxygen/scripts/create_anchors ${CMAKE_SOURCE_DIR}/doc/doxygen/scripts/program2doxygen - ${CMAKE_SOURCE_DIR}/doc/doxygen/scripts/program2doxyplain ${CMAKE_SOURCE_DIR}/examples/${_step}/${_step}.cc ${CMAKE_SOURCE_DIR}/examples/${_step}/doc/intro.dox ${CMAKE_SOURCE_DIR}/examples/${_step}/doc/results.dox -- 2.39.5