iucar / rpms / root

Forked from rpms/root 3 years ago
Clone
Blob Blame History Raw
--- root-6.16.00.orig/documentation/doxygen/filter.cxx	2019-02-14 14:44:47.132678348 +0100
+++ root-6.16.00/documentation/doxygen/filter.cxx	2019-02-14 14:45:00.596532589 +0100
@@ -367,16 +367,7 @@
 
       // notebook found
       if (gLineString.find("\\notebook") != string::npos) {
-         ExecuteCommand(StringFormat("%s converttonotebook.py %s %s/notebooks/",
-                                          gPythonExec.c_str(),
-                                          gFileName.c_str(), gOutDir.c_str()));
-         if (gPython){
-             gLineString = "## ";
-         }
-         else{
-             gLineString = "/// ";
-         }
-         gLineString += StringFormat( "\\htmlonly <a href=\"http://nbviewer.jupyter.org/url/root.cern.ch/doc/master/notebooks/%s.nbconvert.ipynb\" target=\"_blank\"><img src= notebook.gif alt=\"View in nbviewer\" style=\"height:1em\" ></a> <a href=\"https://cern.ch/swanserver/cgi-bin/go?projurl=https://root.cern.ch/doc/master/notebooks/%s.nbconvert.ipynb\" target=\"_blank\"><img src=\"http://swanserver.web.cern.ch/swanserver/images/badge_swan_white_150.png\"  alt=\"Open in SWAN\" style=\"height:1em\" ></a> \\endhtmlonly \n", gMacroName.c_str() , gMacroName.c_str());
+         gLineString = "";
       }
 
       // \macro_output found