4
$\begingroup$

I've been playing with the HTML docs system recently, but want to download the core packages from the source (for downstream users / fun).

My digging has gotten me this far:

the DocumentationBuild (etc.) packages are downloaded to a folder called MathematicaSource only when the runtime is started from Eclipse. What I mean is given an application layout in the Eclipse plugin:

layout

the download doesn't occur until the notebook is opened (from the kernel that Eclipse starts).

And every time that runtime is started it will redownload if the packages don't exist.

Try opening the testing notebook (to start the runtime), then opening the DocumentationTools palette then running this:

Notebooks["DocumentationTools.nb"][[1]] // NotebookDirectory // 
  Nest[ParentDirectory, #, 3] & // 
 DeleteDirectory[#, DeleteContents -> True] &

This will clear the MathematicaSource directory.

Then quit, re-open the testing notebook, and voilà, the packages are back (after a long loading period that must be the download of the packages).

This is stretching the Mathematica part of the Mathematica StackExchange, but can I figure out what that download path is? Using $CommandLine unfortunately doesn't solve the problem as the configuration is just the standard one. And there's nothing in the Autoload directories.

I tried going from the plugin-download site, but these packages are, obviously, not downloaded then and so looking at http://workbench.wolfram.com/update/artifacts.xml is really rather useless.

Anyone know how to get this? I'd really prefer the option for a simple download over having to download via workbench, open a testing notebook, then copy the packages out.

$\endgroup$

1 Answer 1

5
$\begingroup$

Until I find where this lives I just put the paclets in my paclets cloud account. Here's DocumentationBuild and here's Transmogrify.

So you can download them via PacletInstall:

PacletInstall[
 "DocumentationBuild",
 "Site"-> "https://www.wolframcloud.com/objects/b3m2a1.paclets/DocumentationBuild"
 ]
PacletInstall[
 "Transmogrify",
 "Site"-> "https://www.wolframcloud.com/objects/b3m2a1.paclets/Transmogrify"
 ]
$\endgroup$
6
  • $\begingroup$ I think your links are broken. Would you kindly look into it? $\endgroup$
    – QuantumDot
    Commented Sep 6, 2017 at 15:00
  • $\begingroup$ @QuantumDot ah yes they probably are. I've been reorilganizing how I store my paclets. I'll patch it. $\endgroup$
    – b3m2a1
    Commented Sep 6, 2017 at 15:20
  • $\begingroup$ Ok, cool; let me know when you do so I can re-download them. $\endgroup$
    – QuantumDot
    Commented Sep 6, 2017 at 15:57
  • $\begingroup$ @QuantumDot done $\endgroup$
    – b3m2a1
    Commented Sep 6, 2017 at 16:11
  • $\begingroup$ Hmm.. they are returning $Failed, and when I point my browser to wolframcloud.com/objects/b3m2a1.paclets/DocumentationBuild, I get "access denied" (403). The other links in your post remain broken (404). Perhaps also, could you update the GenerateHTMLDocumentation function so that the auto-downloader also points to the correct spot? $\endgroup$
    – QuantumDot
    Commented Sep 6, 2017 at 17:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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