[Lemon-commits] Peter Kovacs: Distinguish section names from the...

Lemon HG hg at lemon.cs.elte.hu
Mon Feb 15 09:39:59 CET 2010


details:   http://lemon.cs.elte.hu/hg/lemon-tutorial/rev/a40eafb6066d
changeset: 26:a40eafb6066d
user:      Peter Kovacs <kpeter [at] inf.elte.hu>
date:      Sun Feb 14 21:32:19 2010 +0100
description:
	Distinguish section names from the doc groups

diffstat:

 basics.dox          |  10 ++++++----
 getting_started.dox |   2 +-
 intro.dox           |   6 +++---
 license.dox         |   2 +-
 mainpage.dox        |   2 +-
 scripts/titlegen.py |   2 +-
 toc.txt             |  44 +++++++++++++++++++++-----------------------
 7 files changed, 34 insertions(+), 34 deletions(-)

diffs (161 lines):

diff --git a/basics.dox b/basics.dox
--- a/basics.dox
+++ b/basics.dox
@@ -18,7 +18,7 @@
 
 namespace lemon {
 /**
-[PAGE]basics[PAGE] Basic Concepts
+[PAGE]sec_basics[PAGE] Basic Concepts
 
 Throughout the document we are working with the \ref lemon namespace.
 To save a lot of typing we assume that a
@@ -29,7 +29,7 @@
 
 directive is added to the code at the beginning.
 
-[SEC]digraphs[SEC] Directed Graphs
+[SEC]sec_digraphs[SEC] Directed Graphs
 
 This section tells you how to work with a directed graph. We use ListDigraph,
 the most versatile graph structure.
@@ -72,7 +72,8 @@
     std::cout << "This is a loop arc" << std::endl;
 \endcode
 
-[SEC]digraphs_it[SEC] Iterators
+
+[SEC]sec_digraph_it[SEC] Iterators
 
 Now assume you want to list the elements of the graph. For this purpose the
 the graphs provides several iterators. For example for following code will
@@ -142,7 +143,8 @@
   std::cout << "Number of arcs leaving the node 'start': " << cnt << std::endl;
 \endcode
 
-[SEC]maps[SEC] Maps
+
+[SEC]sec_digraph_maps[SEC] Maps
 
 The concept of "Maps" is another fundamental part of LEMON. They allow assigning
 values of any type to the nodes or arcs of a graph. The default maps
diff --git a/getting_started.dox b/getting_started.dox
--- a/getting_started.dox
+++ b/getting_started.dox
@@ -18,7 +18,7 @@
 
 namespace lemon {
 /**
-[PAGE]hello_lemon[PAGE] Compile Your First Code
+[PAGE]sec_hello_lemon[PAGE] Compile Your First Code
 
 First of all, you have to install LEMON on your system (see the
 <a href="http://lemon.cs.elte.hu/trac/lemon/wiki/InstallGuide"><b>Installation
diff --git a/intro.dox b/intro.dox
--- a/intro.dox
+++ b/intro.dox
@@ -17,9 +17,9 @@
  */
 
 /**
-[PAGE]intro[PAGE] Introduction
+[PAGE]sec_intro[PAGE] Introduction
 
-[SEC]intro_lemon[SEC] What is LEMON
+[SEC]sec_intro_lemon[SEC] What is LEMON
 
 <b>LEMON</b> stands for <b>L</b>ibrary for <b>E</b>fficient <b>M</b>odeling and
 <b>O</b>ptimization in <b>N</b>etworks. It is a C++ template library providing
@@ -43,7 +43,7 @@
 For more information, visit the LEMON web site:
 <a href="http://lemon.cs.elte.hu/"><b>http://lemon.cs.elte.hu/</b></a>.
 
-[SEC]intro_tutorial[SEC] LEMON Tutorial
+[SEC]sec_intro_tutorial[SEC] LEMON Tutorial
 
 This tutorial introduces the reader to the basic concepts and features of
 LEMON, and there are also some sections about advanced topics showing the
diff --git a/license.dox b/license.dox
--- a/license.dox
+++ b/license.dox
@@ -18,7 +18,7 @@
 
 /**
 
-[PAGE]license[PAGE] License Terms
+[PAGE]sec_license[PAGE] License Terms
 
 \verbinclude ./LICENSE
 
diff --git a/mainpage.dox b/mainpage.dox
--- a/mainpage.dox
+++ b/mainpage.dox
@@ -20,7 +20,7 @@
 /**
 \mainpage LEMON Tutorial
 
-\section toc Table of Contents
+\section sec_toc Table of Contents
 
 [TOC]
 
diff --git a/scripts/titlegen.py b/scripts/titlegen.py
--- a/scripts/titlegen.py
+++ b/scripts/titlegen.py
@@ -66,7 +66,7 @@
                     next_str= ( ' \\ref '+next_page+' >>')
                 else:
                     next_str=''
-                fo.write('%s| \\ref toc "Home" |%s\n'%\
+                fo.write('%s| \\ref sec_toc "Home" |%s\n'%\
                              (prev_str,next_str))
             elif gr[3]:
                 secs = [ x for x in toc]
diff --git a/toc.txt b/toc.txt
--- a/toc.txt
+++ b/toc.txt
@@ -1,23 +1,21 @@
-* intro
-** intro_lemon
-** intro_tutorial
-* hello_lemon
-* basics
-** digraphs
-*** digraphs_it
-*** maps
-*_digraph_build
-*_digraph_iterate
-*_standard_maps
-*_algorithms
-**_alg_bfs_dfs
-**_alg_dijkstra
-**_alg_kruskal
-*_undir_graphs
-*_tools
-**_lgf
-**_glemon
-**_graph_to_eps
-**_time_count
-**_random
-* license
+* sec_intro
+** sec_intro_lemon
+** sec_intro_tutorial
+* sec_hello_lemon
+* sec_basics
+** sec_digraphs
+*** sec_digraph_it
+*** sec_digraph_maps
+*_sec_algorithms
+**_sec_alg_graph_search
+**_sec_alg_shortest_paths
+**_sec_alg_spanning_tree
+**_sec_alg_max_flow
+*_sec_undir_graphs
+*_sec_tools
+**_sec_lgf
+**_sec_time_count
+**_sec_random
+**_sec_graph_to_eps
+**_sec_glemon
+* sec_license



More information about the Lemon-commits mailing list