aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-02-04 15:37:00 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-02-04 15:37:00 +0000
commit95db32fcdca090cd79ee861016f07a5366887d9d (patch)
treee7a63c1f9b05e0dc354d866d9b66e1119af4e3ed /doc
parent44a527dfa50ce9c473cbf1f446b8b6f406d4bc91 (diff)
setup the unsupported directory structure.
The unsupported module documentation is automatically generated in: build/doc/unsupported/ with bidirectional cross references. I leave a class Foo in AdolcForward module to illustrate the cross-reference behavior. I will remove it in the next commit.
Diffstat (limited to 'doc')
-rw-r--r--doc/CMakeLists.txt25
-rw-r--r--doc/Doxyfile.in8
-rw-r--r--doc/Overview.dox2
-rw-r--r--doc/unsupported_modules.dox16
4 files changed, 44 insertions, 7 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 6934462e8..5ab61ade4 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -8,6 +8,11 @@ if(CMAKE_COMPILER_IS_GNUCXX)
endif(CMAKE_COMPILER_IS_GNUCXX)
configure_file(
+ ${Eigen_SOURCE_DIR}/unsupported/doc/Doxyfile.in
+ ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile-unsupported
+)
+
+configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
)
@@ -31,7 +36,7 @@ add_subdirectory(examples)
add_subdirectory(snippets)
add_custom_target(
- doc
+ doc-eigen
ALL
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/html/
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/eigendoxy_tabs.css
@@ -42,4 +47,20 @@ add_custom_target(
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
-add_dependencies(doc all_snippets all_examples)
+add_custom_target(
+ doc-unsupported
+ ALL
+ COMMAND ${CMAKE_COMMAND} -E make_directory ${Eigen_BINARY_DIR}/doc/html/unsupported
+ COMMAND ${CMAKE_COMMAND} -E copy ${Eigen_SOURCE_DIR}/doc/eigendoxy_tabs.css
+ ${Eigen_BINARY_DIR}/doc/html/unsupported/
+ COMMAND ${CMAKE_COMMAND} -E copy ${Eigen_SOURCE_DIR}/doc/Eigen_Silly_Professor_64x64.png
+ ${Eigen_BINARY_DIR}/doc/html/unsupported/
+ COMMAND doxygen Doxyfile-unsupported
+ WORKING_DIRECTORY ${Eigen_BINARY_DIR}/doc
+)
+
+add_dependencies(doc-eigen all_snippets all_examples)
+add_dependencies(doc-unsupported doc-eigen)
+# rerun doxygen to get eigen => unsupported cross references
+add_custom_target(doc ALL COMMAND doxygen WORKING_DIRECTORY ${Eigen_BINARY_DIR}/doc)
+add_dependencies(doc doc-eigen doc-unsupported)
diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
index 04fe712e9..78a98926d 100644
--- a/doc/Doxyfile.in
+++ b/doc/Doxyfile.in
@@ -564,9 +564,7 @@ WARN_LOGFILE =
INPUT = "${Eigen_SOURCE_DIR}/Eigen" \
"${Eigen_SOURCE_DIR}/doc" \
- "${Eigen_BINARY_DIR}/doc" \
- "${Eigen_SOURCE_DIR}/unsupported/Eigen" \
- "${Eigen_SOURCE_DIR}/unsupported/doc"
+ "${Eigen_BINARY_DIR}/doc"
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
@@ -1242,12 +1240,12 @@ SKIP_FUNCTION_MACROS = YES
# If a tag file is not located in the directory in which doxygen
# is run, you must also specify the path to the tagfile here.
-TAGFILES =
+TAGFILES = "${Eigen_BINARY_DIR}/doc/eigen-unsupported.doxytags"=unsupported
# When a file name is specified after GENERATE_TAGFILE, doxygen will create
# a tag file that is based on the input files it reads.
-GENERATE_TAGFILE =
+GENERATE_TAGFILE = "${Eigen_BINARY_DIR}/doc/eigen.doxytags"
# If the ALLEXTERNALS tag is set to YES all external classes will be listed
# in the class index. If set to NO only the inherited external classes
diff --git a/doc/Overview.dox b/doc/Overview.dox
index cb6cca3a8..cd186565e 100644
--- a/doc/Overview.dox
+++ b/doc/Overview.dox
@@ -19,6 +19,8 @@ In fact, except for advanced use, the only class that you'll have to explicitly
Most of the other classes are just return types for MatrixBase methods.
+Want more? Checkout the \ref Unsupported_modules "unsupported modules" <a href="unsupported/index.html">documentation</a>.
+
*/
}
diff --git a/doc/unsupported_modules.dox b/doc/unsupported_modules.dox
new file mode 100644
index 000000000..c60068382
--- /dev/null
+++ b/doc/unsupported_modules.dox
@@ -0,0 +1,16 @@
+
+namespace Eigen {
+
+/** \defgroup Unsupported_modules Unsupported modules
+ *
+ * The unsupported modules are contributions from various users. They are
+ * provided "as is", without any support. Nevertheless, they are subject to be
+ * included in Eigen in the future.
+ */
+
+// please list here all unsupported modules
+
+/** \ingroup Unsupported_modules
+ * \defgroup AdolcForward_Module Adolc forward module */
+
+} // namespace Eigen \ No newline at end of file