root/root-doc-no-notebooks.patch
Mattias Ellert fba71390e2 Update to 6.20.02
Drop patches accepted upstream
  root-dont-download-input-file-if-it-already-exists.patch
  root-fix-plugin-definition.patch
  root-man-install.patch
  root-pretty-printers.patch
  root-python3.patch
  root-stress-aarch64-ppc64le.patch
Drop patches no longer relevant due to changes to the code
  root-missing-include-string.patch
  root-static-constexpr.patch
Add workaround for PyROOT issues on ppc64le in EPEL 7
  root-epel7-ppc64le-pyroot.patch (patch conditionally applied)
Fix path to moved data file in tutorial
  root-moved-file.patch
Split the root-roofit subpackage into four different packages
  root-roofit, root-roofit-core, root-roofit-more and root-roostats
  The root-roofit-more library splits out the part of roofit that depends on
    the root-mathmore package
New subpackage: root-histv7
2020-03-23 10:03:24 +01:00

21 lines
1.4 KiB
Diff

diff -ur root-6.20.02.orig/documentation/doxygen/filter.cxx root-6.20.02/documentation/doxygen/filter.cxx
--- root-6.20.02.orig/documentation/doxygen/filter.cxx 2020-03-15 16:21:25.000000000 +0100
+++ root-6.20.02/documentation/doxygen/filter.cxx 2020-03-15 20:05:59.047270429 +0100
@@ -378,16 +378,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=\"https://nbviewer.jupyter.org/url/root.cern/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/doc/master/notebooks/%s.nbconvert.ipynb\" target=\"_blank\"><img src=\"https://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