What’s the best tools for generating documentation?

I always find it a pain to create documentation for PowerBI’s at the detailed technical level. I can use DAX Queries to output columns, measures, expressions, etc. But tracing data lineage, dependencies, etc is always a manual process.

I’ve seen some custom built tools to auto-generate all of that + even some optimization suggestions. Does anything like that exist to the public / open source?