3 ms·
Random thought: maybe you could connect a UI component (or State, or Service call) to a function chain and types used. Then reviewing a document could include l
by irq-1 4y ago
Random thought: maybe you could connect a UI component (or State, or Service call) to a function chain and types used. Then reviewing a document could include links to code changes. It would be difficult to automatically determine which code changes matter. Programmers might be able to @ttribute functions, or include checking tags/links. Anyway, documents that are not one-to-one with a code file seem like the hardest to keep up to update.
- hahnbee 4y agoCurrently we use a repo's git information to create the link between code and documentation. We also support many-to-many connections so you could granularly choose lines of code to connect to documentation. But you make a good point! We could definitely do some work with AST parsers to select and connect specific functions/components to documentation.