6
$\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$
5
  • $\begingroup$ Do you want to add documentation pages for your own functions? Then this section of the Workbench documentation is relevant. $\endgroup$ Commented Sep 26, 2014 at 9:17
  • $\begingroup$ @TeakeNutma Yes relevant. Unfortunately I don't have workbench so I'm trying to link my own custom results into Mathematica. $\endgroup$ Commented Sep 26, 2014 at 21:38
  • $\begingroup$ @TeakeNutma This appears to almost be a duplicate github.com/jmlopez-rod/ApplicationMaker $\endgroup$ Commented Sep 27, 2014 at 6:01
  • $\begingroup$ Also here stackoverflow.com/questions/6574710/… and here mathematica.stackexchange.com/questions/47602/… $\endgroup$ Commented Sep 28, 2014 at 8:06
  • $\begingroup$ The wolfram workbench is free now for all Mathematica users. wolfram.com/workbench It is really necessary to make documentation that integrates properly into the doc center. $\endgroup$ Commented Nov 30, 2016 at 16:15

1 Answer 1

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$

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.