name: DelphiCodeToDoc Linker
version compatible: 0.8+
EXEcutable - DCTDLinker2_exe.zip
Source - DCTDLinker2_source.zip
Documentation - DCTDLinker2_doc.pdf
application simply creates links in documentation generated by
DelphiCodeToDoc 0.8. This is version is based on completely new
code with improved performance and more intelligent links detecting.
HOW IT WORKS
scans the source directory and reflects project structure in memory.
Then scans each file from the project, and when hits known item
name, creates a list of items which have the same name, and ranks
the items with following rules:
there's single word:
item gets 20 points for each the same owner (in compare with item
associated with currently
scanned file); for example "item" in file "project_unit_class_item.htm"
has 3 owners:
"project", "unit" and "class"
item gets 15 points, if belongs to the class, which is one of
currently scanned class ancestor
there's complex word (owners.item), searches the item with given
name and the same owners list
(each found item gets 12 points).
chooses the item with the biggest rank and creates link. If there's
more items with given maximum
rank, the link isn't created (see +L option).
works from command line, with following parameters:
[options] <source_dir> [destination_dir]
optional list of options (see below)
source directory with DCTD project files
optional destination directory; if not specified rewrites current
have to be preceded by plus (toggles the option on) or minus (toggles
the option off).
version has following options:
- writes log to debug.log file
- creates uncertain links; if there's more item with the same
maximum rank, link is created to
first of them
- copies all non-html files located in source directory to the
destination; works only if source
and destination directory are not the same; this option is on
- overwrites project CSS file with his own CSS