From a01a7e62056a8ca98b42a0c5c91d0eb84c28c2ef Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Thu, 19 May 2016 19:34:02 +0200 Subject: [PATCH] doc: don't build the full index as doxygen now provides a 'search' box --- .gitignore | 1 - doc/Doxyfile.in | 1 - tools/cmake/DefinePackages.cmake | 1 - tools/cmake/Documentation.cmake | 1 - tools/doxygen/index_create.pl | 81 -------------------------------- 5 files changed, 85 deletions(-) delete mode 100755 tools/doxygen/index_create.pl diff --git a/.gitignore b/.gitignore index 6c39838bd8..3f4150b18b 100644 --- a/.gitignore +++ b/.gitignore @@ -100,7 +100,6 @@ doc/html doc/index.php doc/simgrid.tag doc/doxygen/logcategories.doc -doc/index-API.doc doc/simgrid_modules.map doc/javadoc ### Specific of project diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in index 0d14f2aabf..b795ddce21 100644 --- a/doc/Doxyfile.in +++ b/doc/Doxyfile.in @@ -672,7 +672,6 @@ INPUT = doxygen/index.doc \ doxygen/module-simix.doc \ doxygen/module-smpi.doc \ doxygen/module-trace.doc \ - index-API.doc \ @CMAKE_HOME_DIRECTORY@/doc/doxygen/logcategories.doc \ @CMAKE_HOME_DIRECTORY@/src/instr/ \ @CMAKE_HOME_DIRECTORY@/include/ \ diff --git a/tools/cmake/DefinePackages.cmake b/tools/cmake/DefinePackages.cmake index 52317a0ae1..45a3c2d906 100644 --- a/tools/cmake/DefinePackages.cmake +++ b/tools/cmake/DefinePackages.cmake @@ -842,7 +842,6 @@ set(DOC_FIGS set(DOC_TOOLS tools/doxygen/fig2dev_postprocessor.pl - tools/doxygen/index_create.pl tools/doxygen/xbt_log_extract_hierarchy.pl tools/doxygen/list_routing_models_examples.sh ) diff --git a/tools/cmake/Documentation.cmake b/tools/cmake/Documentation.cmake index ee1c13bf14..555a3b1fa5 100644 --- a/tools/cmake/Documentation.cmake +++ b/tools/cmake/Documentation.cmake @@ -60,7 +60,6 @@ if(DOXYGEN_FOUND) COMMAND ${CMAKE_COMMAND} -E echo "XX Run doxygen" COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile COMMAND ${CMAKE_COMMAND} -E echo "XX Generate the index files" - COMMAND ${CMAKE_HOME_DIRECTORY}/tools/doxygen/index_create.pl simgrid.tag index-API.doc COMMAND ${CMAKE_COMMAND} -E remove ${CMAKE_HOME_DIRECTORY}/doc/doxygen/logcategories.doc COMMAND ${CMAKE_HOME_DIRECTORY}/tools/doxygen/xbt_log_extract_hierarchy.pl > ${CMAKE_HOME_DIRECTORY}/doc/doxygen/logcategories.doc COMMAND ${CMAKE_COMMAND} -E echo "XX Generate list of files in examples/ for routing models" diff --git a/tools/doxygen/index_create.pl b/tools/doxygen/index_create.pl deleted file mode 100755 index 987f2a1504..0000000000 --- a/tools/doxygen/index_create.pl +++ /dev/null @@ -1,81 +0,0 @@ -#!/usr/bin/env perl - -# Copyright (c) 2005, 2012-2014. The SimGrid Team. -# All rights reserved. - -# This program is free software; you can redistribute it and/or modify it -# under the terms of the license (GNU LGPL) which comes with this package. - -use warnings; - -($#ARGV >= 1) or die "Usage: index_create.pl "; - -my($type) = ""; -my($name) = ""; -my(%database); - -$input = $ARGV[0]; -$output = $ARGV[1]; -open FILE,$input; -while($line=) { - chomp $line; - if($line=~/compound kind=/) { - $type = $line; - $type =~ s/^[^\"]*\"//; - $type =~ s/\".*$//; - $line=;chomp $line; - } - if($line=~/member kind=/) { - $type = $line; - $type =~ s/^[^\"]*\"//; - $type =~ s/\".*$//; - $line=;chomp $line; - } - if($line=~//) { - $name = $line; - $name =~ s/.*//; - $name =~ s/<\/name>.*//; - $database{$type}{$name} = 1; - $type = ""; - $name = ""; - next; - } -} -close FILE; - -open OUTPUT,"> $output"; -print OUTPUT <here \\endhtmlonly - -EOF - -foreach $type (qw(define enumeration enumvalue function typedef)) { - if(defined $database{$type}) { - print OUTPUT "

$type

\n
    \n"; - foreach $name (sort keys %{$database{$type}}) { - if($type eq "function") { - print OUTPUT "\t
  • $name()
  • \n"; - } else { - if($type eq "enumeration") { - print OUTPUT "\t
  • ".$name."::EType
  • \n"; - } - else { - print OUTPUT "\t
  • #$name
  • \n"; - } - } - } - print OUTPUT "\n
\n"; - } -} -print OUTPUT "*/"; -close OUTPUT; - -- 2.20.1