dlang-community / harbored-mod

A documentation generator for D with support for both DDoc and Markdown.
Boost Software License 1.0
18 stars 14 forks source link

Pass through all files to collect data before generating documentation #37

Open kiith-sa opened 9 years ago

kiith-sa commented 9 years ago

Collect all functions, classes and other items (reuse/modify visitor.Item), together with their source locations, fully qualified names, how many times each item is referenced, etc. (Keep the AST node of each item as well; the overhead should be manageable).

Needed for many other issues, e.g. cross-referencing, class list sidebar, default main page, semantic highlighting, etc.

This pass can be merged with the existing pass that collects links for the TOC.

kiith-sa commented 9 years ago

As of 832c901b3ac20c540d2228bc18084c50a7cf351a much of this is done (but will need more work to start fixing some of the depending issues)