Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Available command sync-gforge-website.
authorNavarrop <Pierre.Navarro@imag.fr>
Tue, 6 Sep 2011 15:50:32 +0000 (17:50 +0200)
committerNavarrop <Pierre.Navarro@imag.fr>
Tue, 6 Sep 2011 15:50:32 +0000 (17:50 +0200)
Update doc.

buildtools/Cmake/Distrib.cmake
buildtools/Cmake/GenerateDoc.cmake
tools/doxygen/doxygen_postprocesser_website.pl
website/documentation.html [new file with mode: 0644]
website/index.php.in

index 3001ef8..c76e61b 100644 (file)
@@ -332,11 +332,11 @@ WORKING_DIRECTORY "${CMAKE_HOME_DIRECTORY}"
 )
 
 #doc/index.php doc/webcruft/robots.txt doc/webcruft/fish.gif 
-#add_custom_target(sync-gforge-website
-#COMMAND chmod g+rw -R doc/
-#COMMAND chmod a+rX -R doc/
-#COMMAND scp -r doc/website/ scm.gforge.inria.fr:/home/groups/simgrid/htdocs/
-#WORKING_DIRECTORY "${CMAKE_HOME_DIRECTORY}"
-#)
+add_custom_target(sync-gforge-website
+COMMAND chmod g+rw -R website/html
+COMMAND chmod a+rX -R website/html
+COMMAND scp -r website/html/* scm.gforge.inria.fr:/home/groups/simgrid/htdocs/
+WORKING_DIRECTORY "${CMAKE_HOME_DIRECTORY}"
+)
 
 include(CPack)
index ef9d8b9..6e55644 100644 (file)
@@ -267,7 +267,7 @@ configure_file(${CMAKE_HOME_DIRECTORY}/website/documentation.php.in ${CMAKE_HOME
 configure_file(${CMAKE_HOME_DIRECTORY}/website/download.php.in ${CMAKE_HOME_DIRECTORY}/website/html/download.php @ONLY)
 
 ADD_CUSTOM_TARGET(simgrid_website
-       COMMENT "Generating the SimGrid Website..."     
+       COMMENT "Generating the SimGrid Website..."
        DEPENDS ${WEBSITE_SOURCES} ${CMAKE_HOME_DIRECTORY}/website/all.bib
        COMMAND ${CMAKE_HOME_DIRECTORY}/tools/doxygen/toc_create.pl FAQ.doc contrib.doc history.doc                             
        COMMAND ${CMAKE_COMMAND} -E echo "XX Doxygen website pass"
@@ -276,9 +276,12 @@ ADD_CUSTOM_TARGET(simgrid_website
        COMMAND ${CMAKE_COMMAND} -E echo "XX Post-processing Doxygen website result"
        COMMAND ${CMAKE_HOME_DIRECTORY}/tools/doxygen/doxygen_postprocesser_website.pl
 
-       COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_HOME_DIRECTORY}/website/stylesheets/ ${CMAKE_HOME_DIRECTORY}/website/html/
-       COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_HOME_DIRECTORY}/website/logos/ ${CMAKE_HOME_DIRECTORY}/website/html/
-       COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_HOME_DIRECTORY}/website/img/ ${CMAKE_HOME_DIRECTORY}/website/html/
+       COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_HOME_DIRECTORY}/website/stylesheets/ ${CMAKE_HOME_DIRECTORY}/website/html/stylesheets/
+       COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_HOME_DIRECTORY}/website/logos/ ${CMAKE_HOME_DIRECTORY}/website/html/logos/
+       COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_HOME_DIRECTORY}/website/img/ ${CMAKE_HOME_DIRECTORY}/website/html/img/
+       COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_HOME_DIRECTORY}/website/documentation.html ${CMAKE_HOME_DIRECTORY}/website/html/documentation.html
+       
+       COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_HOME_DIRECTORY}/website/html/index.html
 
        WORKING_DIRECTORY ${CMAKE_HOME_DIRECTORY}/website/
 )
index 1c47f1d..353ad9c 100755 (executable)
@@ -172,7 +172,11 @@ sub handle_pub{
     my $line;
 #┬áBIG FAT WARNING : THIS HACK IS DEPENDANT OF THE DOXYGEN VERSION AND OUR TEXT (because of the string we are looking for, that is changing with doxygen version, either h1 or div class="title" ... So we're forced to use titles defined in doc files...
     while ($line = <IN>) {
-       last if (($line =~ /Reference publications about SimGrid/) or ($line =~  /Publications about the SimGrid framework/) or ($line =~  /Papers that use SimGrid-generated results/) or ($line =~  /Our own papers that use SimGrid-generated results/));
+       $line =~ s/<h1>/<h1 align="center">/g;
+       last if (($line =~ /Reference publications about SimGrid/) 
+               or ($line =~  /Publications about the SimGrid framework/) 
+               or ($line =~  /Papers that use SimGrid-generated results/) 
+               or ($line =~  /Our own papers that use SimGrid-generated results/));
        print OUT $line;
     }
 
@@ -375,7 +379,7 @@ foreach my $file (@allfiles) {
                
                        #┬áLBO : ugly way to separate doc in 2 separate stuff ...
                        $tmp_buff .= '      <li><a href="https://gforge.inria.fr/frs/?group_id=12"><span>Download</span></a></li>'."\n";
-                       $tmp_buff .= '      <li><a href="documentation.php"><span>Online documentation</span></a></li>'."\n";
+                       $tmp_buff .= '      <li><a href="documentation.html"><span>Online documentation</span></a></li>'."\n";
                        $tmp_buff .= '      <li><a href="publis.html"><span>Publications</span></a></li>'."\n";
                        $tmp_buff .= '      <li><a href="people.html"><span>People</span></a></li>'."\n";
                        $tmp_buff .= '      <li><a href="history.html"><span>History</span></a></li>'."\n";
@@ -454,6 +458,7 @@ foreach my $file (@allfiles) {
       s|<li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>\n||g;
       s|Related Pages<|Documentation&nbsp;Index<|g;
       s|<div id="navrow|<div align="center" id="navrow|g;
+      s|<div class="headertitle">|<div class="headertitle" align="center">|g;  
       print TO $_;
     }
     close FROM;
diff --git a/website/documentation.html b/website/documentation.html
new file mode 100644 (file)
index 0000000..d5d5ab6
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+       <link rel="stylesheet" type="text/css" href="stylesheets/simgridsite.css" />
+       <link rel="stylesheet" type="text/css" href="stylesheets/simgridsitetabs.css" />
+       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+       <title>SimGrid - Online documentation</title>
+       <meta name="keywords" content="Scalable, simulation, distributed systems, grid, peer-to-peer" /> 
+
+</head>
+
+<body>
+<div id="header" align="center">
+<p>
+<img src="logos/simgrid_logo.png"  alt="SimGrid - Scalable simulation of distributed systems, ranging from grids to peer-to-peer systems" />
+</p>
+<h2 class="header"><i class="subtitle">Scalable simulation of distributed systems</i></h2>
+</div>
+<p/>
+<br/> 
+ <div id="navrow1" class="tabs" align="center">
+    <ul class="tablist">
+      <li><a href="index.php"><span>Home</span></a></li>
+
+                        <li><a href="https://gforge.inria.fr/frs/?group_id=12"><span>Download</span></a></li>
+
+      <li><a href="documentation.html"><span>Online documentation</span></a></li>
+      <li><a href="publis.html"><span>Publications</span></a></li>
+      <li><a href="people.html"><span>People</span></a></li>
+      <li><a href="history.html"><span>History</span></a></li>
+      <li><a href="contrib.html"><span>Contrib</span></a></li>
+
+      <li><a href="faq.html"><span>FAQ&#160;Page</span></a></li>
+
+      <li><a href="http://gforge.inria.fr/projects/simgrid"><span>SimGrid&#160;Forge</span></a></li>
+    </ul>
+  </div>
+<table width="80%" cellpadding="5" cellspacing="0" border="0" align="center">
+
+<tr><td width="75%" valign="top">
+The documentation for SimGrid is maintained for the latest versions. It contains informations on how to use SimGrid, some tutorial, and its inner component. Here is the list of available documentation version:
+
+<ul>
+<li><a href="./3.6.1/doc/"> Simgrid version 3.6.1</a></li>
+<li><a href="./3.5/doc/"> Simgrid version 3.5</a></li>
+<li><a href="./3.4.1/doc/"> Simgrid version 3.4.1</a></li></ul></tr>
+</table>
+<div id="footer" align="center">
+<p>
+ Help: <a href="mailto:siteadmin-help@lists.gforge.inria.fr">siteadmin-help@lists.gforge.inria.fr</a> Webmaster: <a href="mailto:webmaster@gforge.inria.fr">webmaster@gforge.inria.fr</a>
+
+</p>
+<p>
+<ul class="footerlogos">
+       <li><a href="http://www.inria.fr/"><img align="left" src="logos/logo_INRIA.png" alt="INRIA"/></a>       
+       </li>
+       <li><a href="http://gforge.org/"><img src="http://gforge.org/images/pow-gforge.png" alt="Powered By GForge Collaborative Development Environment" border="0"/></a>
+
+       </li>
+       <li><a href="http://creativecommons.org/licenses/LGPL/2.1/"><img alt="CC-GNU LGPL" border="0" src="http://creativecommons.org/images/public/cc-LGPL-a.png" /></a>
+
+       </li>
+
+</ul>
+       
+</p>
+</div>
+</body>
+</html>
index 25dfe2d..d8505e5 100644 (file)
@@ -28,7 +28,7 @@ $group_name="simgrid";
       <li><a href="index.php"><span>Home</span></a></li>
                         <li><a href="https://gforge.inria.fr/frs/?group_id=12"><span>Download</span></a></li>
 
-      <li><a href="documentation.php"><span>Online documentation</span></a></li>
+      <li><a href="documentation.html"><span>Online documentation</span></a></li>
       <li><a href="publis.html"><span>Publications</span></a></li>
       <li><a href="people.html"><span>People</span></a></li>
       <li><a href="history.html"><span>History</span></a></li>