josdejong/mathjs

No embedded docs for (some?) units

Open

#2,449 opened on Feb 26, 2022

View on GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (13,832 stars) (1,298 forks)batch import
bugcategory:unitsdocumentationhelp wanted

Description

With the restored autocomplete facility in the demo, I discovered that mathjs knows about the units 'candela' and 'angstrom'. As these seem somewhat esoteric, I tried help(candela) and help('candela') (and similarly for angstrom) in the homepage demo, and all of these calls returned Error: No documentation found on "candela".

There should be (1) a test that all appropriate symbols have embedded docs, and (2) all units should have embedded docs.

Contributor guide