Open lpw25 opened 9 years ago
Yes, this isn't supported right now but should be.
I believe this is actually currently possible using -o
and --package
and linking a file path. There is currently no way to link against trees that are not subtrees of a common root, however. Also, the phasing of index generation needs to be worked on.
Assuming that I am reading the code correctly, it seems that the only way to get any meaningful resolution is to run
codoc link
on an index file (or directory containing such a file), which then performs linking on all files in the index, against all other files in the index.Ideally, I would like to separate out the list of files for which linked xml is to be produced, from the list of files against which links can be resovled (which should be a superset of the first list).
Something like:
which would read each file in the
foo/index.xml
index and resolve all the references to files that are either infoo/index.xml
orbar/index.xml
, and output the resulting linked files inlinked/foo/index.xml
.This would allow linking to be done incrementally.