-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Milestone
Description
As mentioned in the discuss.ocaml post, I would appreciate a few extra fields in the generated JSON files to make integrating them in my website easier. jonludlam suggested I open an issue for these here as well:
- A
titlefield with the page title (currently obtainable frombreadcrumbs[-1].name - A
packagefield with the name of the current package (currently can be obtained from the path of the generated doc) - A
versionfield with the version of the current package (I'm building versioned docs). Currently I can only obtain this through git ref names. - An
objectsfields with the list and type (val, module, type, module type...) of all objects defined in the current file - A
sherlodocfield indicating whether or not sherlodoc was present (and if so, the relative path from the current file to thedb.jsfile).
Metadata
Metadata
Assignees
Labels
No labels