summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-01-01 09:13:04 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-08-27 13:43:31 (GMT)
commit56987af3987f40ac77e70cd39ebbdac3702c1ce2 (patch)
tree441fe1be085e1e83c4a08f3e7ad2ab8681fec045 /src/config.l
parentf16c156065ac8bc6242870c2ae701252b5d4f9b2 (diff)
downloadDoxygen-56987af3987f40ac77e70cd39ebbdac3702c1ce2.zip
Doxygen-56987af3987f40ac77e70cd39ebbdac3702c1ce2.tar.gz
Doxygen-56987af3987f40ac77e70cd39ebbdac3702c1ce2.tar.bz2
Add mathjax support to template & context.
Diffstat (limited to 'src/config.l')
-rw-r--r--src/config.l6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config.l b/src/config.l
index 1bbe320..b158e5c 100644
--- a/src/config.l
+++ b/src/config.l
@@ -1198,6 +1198,12 @@ void Config::check()
exit(1);
}
}
+ QCString &path = Config_getString("MATHJAX_RELPATH");
+ if (!path.isEmpty() && path.at(path.length()-1)!='/')
+ {
+ path+="/";
+ }
+
}
// Test to see if LaTeX header is valid