The current implementation of include_mmd seems to introduce some ambiguity, at least between:
working on projects that use workspaces, and
working on a project that depends on a project that uses workspaces
Prepending CARGO_MANIFEST_DIR would break our existing usage of include_mmd! but allows the location for mermaid diagrams to be consistent across our project, and projects that depend on us.
Some of our users have been having problems with our usage of
include_mmd!
, see investigation here: https://github.com/paradigmxyz/reth/issues/6030#issuecomment-1888290062The current implementation of
include_mmd
seems to introduce some ambiguity, at least between:Prepending
CARGO_MANIFEST_DIR
would break our existing usage ofinclude_mmd!
but allows the location for mermaid diagrams to be consistent across our project, and projects that depend on us.