documentationjs/documentation

Highlight.js deprecations

backspaces opened this issue · 0 comments

If you're reporting a bug, please include input code, output documentation,
a description of what you expected to happen, and what happened instead.

Running documentation build results in many deprecations, all of which look like:

Deprecated as of 10.7.0. highlight(lang, code, ...args) has been deprecated.
Deprecated as of 10.7.0. Please use highlight(code, options) instead.
highlightjs/highlight.js#2277

The generated docs appear to be OK.

Here's what highlight.js says: https://github.com/highlightjs/highlight.js/releases

  • What version of documentation.js are you using?: ^13.2.0

  • How are you running documentation.js (on the CLI, Node.js API, Grunt, other?):
    cli script within my package.json:
    documentation build src/** --config config/documentation.yml --github -f html -o docs