You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is unlike all other plugins that live in the nested node_modules and are brought in by an explicit listing in the bit-docs.dependencies array of the package.json for the project.
I need to know, for documentation purposes, whether or not this behavior is going to remain unique for bit-docs-process-tags and bit-docs-type-annotate when compared to all other plugins.
This "plugin" registers itself as a "processor":
https://github.com/bit-docs/bit-docs-process-tags/blob/master/bit-docs.js#L7
However, it does not conform to the API provided by bit-docs/bit-docs:
https://github.com/bit-docs/bit-docs-process-tags/blob/master/process-tags.js#L31
Unlike
bit-docs-process-mustache
, which does, for example:https://github.com/bit-docs/bit-docs-process-mustache/blob/master/process-mustache.js#L25
It would seem bit-docs is making special accommodations for the non-conforming API of this plugin:
https://github.com/bit-docs/bit-docs/blob/b50c98cb3bc479bf19381eb0f2bf58ac7d1d62bf/lib/process/file.js#L70-L77
Seeing as this "plugin" is hard-coded into bit-docs, it's not really a plugin then, right?
Is it meant to be a piece that can be swapped out? Should it be made able to do so?
The text was updated successfully, but these errors were encountered: