4
$\begingroup$

Currently I don't have access to Wolfram Workbench but would like to add my own pages to the documentation search results in Mathematica.

How might I most easily manually add pages to the documentation search?

NOTE: If this is to complex(or simply considered impractical), what might be the easiest way to get the Documentary search results through M so I could add additional results before displaying the output?

$\endgroup$
3
$\begingroup$

Run the follow to retrieve results

Get[$InstallationDirectory<>"\\AddOns\\Applications\\DocumentationSearch\\DocumentationSearch.m"];
DocumentationSearch`SearchDocumentation["test"]

The formatting I believe is stored in

C:\Program Files\Wolfram Research\Mathematica\10.0\SystemFiles\FrontEnd\StyleSheets\Wolfram\Reference.nb

Or

FileNameJoin[{$InstallationDirectory <> "\\SystemFiles\\FrontEnd\\StyleSheets\\Wolfram", "Reference.nb"}]

So run SystemOpen[""]

Editing the code you get something like the following

NotebookPut@Notebook[{},
  ScreenStyleEnvironment -> "Working",
  WindowMargins -> {{0, Automatic}, {Automatic, 0}}, 
  WindowFrame -> "Normal", 
  DockedCells -> 
   FrontEndResource["FEExpressions", "HelpViewerToolbar"], 
  StyleDefinitions -> 
   FileNameJoin[{$InstallationDirectory <> 
      "\\SystemFiles\\FrontEnd\\StyleSheets\\Wolfram", "Reference.nb"}]
  ]
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.