INSTALL(FILES
${CMAKE_SOURCE_DIR}/doc/deal.ico
+ ${CMAKE_SOURCE_DIR}/doc/doxygen/custom.js
DESTINATION ${DEAL_II_DOCHTML_RELDIR}/doxygen/deal.II
COMPONENT documentation
)
--- /dev/null
+$( document ).ready( function() {
+ // replace the text inside every div with class 'doxygen-generated-exception-message' to be more readable:
+ $('.doxygen-generated-exception-message').each(function(i, obj) {
+ var s = $(this).html();
+ s=s.replace(/\\n|std::endl/g,"<br/>");
+ s=s.replace(/"|<</g,"");
+ s=s.replace(/arg1/g,"<i>arg1</i>");
+ s=s.replace(/arg2/g,"<i>arg2</i>");
+ s=s.replace(/arg3/g,"<i>arg3</i>");
+ s=s.replace(/arg4/g,"<i>arg4</i>");
+ s=s.replace(/arg5/g,"<i>arg5</i>");
+ $(this).html(s);
+ });
+});
ALIASES += dealiiOperationIsMultithreaded="@note If deal.II is configured with threads, this operation will run multi-threaded by splitting the work into smaller chunks (assuming there is enough work to make this worthwhile)."
-ALIASES += dealiiExceptionMessage{1}="@note The message that will be printed by this exception reads: @code \1 @endcode"
+ALIASES += dealiiExceptionMessage{1}="@note The message that will be printed by this exception reads: <div class='doxygen-generated-exception-message'> \1 </div> "
#---------------------------------------------------------------------------
# configuration options related to source browsing
if (m'</head>')
{
print '<link rel="SHORTCUT ICON" href="deal.ico"></link>', "\n";
+ print '<script type="text/javascript" src="$relpath^custom.js"></script>', "\n";
print '<meta name="author" content="The deal.II Authors <authors@dealii.org>"></meta>', "\n";
print '<meta name="copyright" content="Copyright (C) 1998 - ', $year, ' by the deal.II authors"></meta>', "\n";
print '<meta name="deal.II-version" content="@DEAL_II_PACKAGE_VERSION@"></meta>', "\n";
padding: 50px;
font-size: 95%;
}
+div.doxygen-generated-exception-message {
+ color: black;
+ border: 1px solid #aaa;
+ background-color: #f9f9f9;
+ padding: 5px;
+ font-size: 95%;
+}