Added an automatically generated list of selected examples in the documentation.

Added the custom gemetry_module tag, and use it.
This commit is contained in:
Gael Guennebaud
2008-07-19 20:36:41 +00:00
parent 05ad083467
commit 6e2c53e056
19 changed files with 87 additions and 15 deletions

15
doc/buildexamplelist.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
echo "namespace Eigen {"
echo "/** \page ExampleList"
echo "<h1>Selected list of examples</h1>"
grep \\addexample $1/Eigen/* -R | cut -d \\ -f 2- | \
while read example;
do
anchor=`echo "$example" | cut -d " " -f 2`
text=`echo "$example" | cut -d " " -f 4-`
echo "\\\li \\\ref $anchor \"$text\""
done
echo "*/"
echo "}"