neo4j-documentation / asciidoctor-jupyter

A Jupyter converter for Asciidoctor.js. Write your Notebook in AsciiDoc!
16 stars 1 forks source link

Reduce verbosity when a node type is unsupported #14

Closed ggrossetie closed 1 year ago

ggrossetie commented 1 year ago

Currently, the converter is extremely verbose:

asciidoctor: WARNING: Unsupported inline_anchor type: xref, ignoring.
asciidoctor: WARNING: Unsupported node: colist, ignoring.
asciidoctor: WARNING: Unsupported inline_anchor type: xref, ignoring.
asciidoctor: WARNING: Unsupported node: example, ignoring.
asciidoctor: WARNING: Unsupported node: example, ignoring.
asciidoctor: WARNING: Unsupported node: example, ignoring.
asciidoctor: WARNING: Unsupported node: example, ignoring.
asciidoctor: WARNING: Unsupported node: example, ignoring.
asciidoctor: WARNING: Unsupported inline_anchor type: xref, ignoring.
asciidoctor: WARNING: Unsupported node: example, ignoring.
asciidoctor: WARNING: Unsupported node: example, ignoring.
asciidoctor: WARNING: Unsupported node: example, ignoring.
asciidoctor: WARNING: Unsupported inline_anchor type: xref, ignoring.

I think we should log at most once per document.