mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
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:
15
doc/buildexamplelist.sh
Executable file
15
doc/buildexamplelist.sh
Executable 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 "}"
|
||||
Reference in New Issue
Block a user