mathematica-BTools icon indicating copy to clipboard operation
mathematica-BTools copied to clipboard

Unable to perform simple HTML generation

Open TysonRayJones opened this issue 4 years ago • 0 comments

Hi there,

[MacOS 10.14, Mathematica 11.2]

I'm not sure if this repo is still being maintained; if not, please point me to whatever these tools have since become! I'm trying to generate HTML doc of a paclet (one of your own, as a test).

I've installed BTools, and its doc, via

PacletInstall["BTools", "Site" -> "http://www.wolframcloud.com/objects/b3m2a1.paclets/PacletServer"]
PacletInstall["Documentation_BToolsWeb", "Site" -> "http://www.wolframcloud.com/objects/b3m2a1.docs/DocumentationServer"]

I try to generate HTML doc (as a test) via

<< BTools`Paclets`

DocGen["HTML", PacletFind["Documentation_BToolsWeb"]]

but after some fuss, the DocGen call throws:

Throw: Uncaught Throw[False] returned to top level

I can see it has only generated files css, images and javascript at Mathematica/ApplicationData/DocGen/Web, but nothing more.

Running DocGen["HTML", PacletFind["Documentation_BToolsWeb"]] agains spits out more errors which indicate those created files were intended as directories. Starting over, and creating css, images, javascript directories in advance, offers new errors of

LinkObject: Argument I'm trying to get rid of this in I'm trying to get rid of this is not a valid LinkObject

I suppose the project isn't in a working state for MacOS; is there another way I can generate Mathematica Doc Centre style HTML documentation using BTools, or a derivative project?

TysonRayJones avatar Jun 07 '21 00:06 TysonRayJones