ENH: command-line -doc, -srcDoc display online documentation

- browser is spawned as a background process to avoid blocking the
  command-line
This commit is contained in:
Mark Olesen
2017-11-22 11:50:44 +01:00
parent 4023158497
commit fd5cd9dc6f
2 changed files with 59 additions and 46 deletions

View File

@ -18,17 +18,15 @@ FoamFile
Documentation
{
docBrowser "firefox %f";
docBrowser "firefox -new-tab %f";
doxySourceFileExt "_8C.html";
// Places to search for documentation, http is last in the list
doxyDocDirs
(
"$WM_PROJECT_USER_DIR/html"
"~OpenFOAM/html"
"$WM_PROJECT_DIR/doc/Doxygen/html"
);
doxySourceFileExts
(
"App_8C.html"
"_8C.html"
"https://www.openfoam.com/documentation/cpp-guide/html"
);
}