Fast and dirty EDoc merger.
By Erlang/OTP design principles, large projects are consists of applications and has following structure:
/apps
first_app
src
second_app
src
It's good. But after rebar doc
, we obtain doc
in each app directory. And
cross-app links will point just not where we would like. EDoc-Merge
solves
this problem:
- Pull all docs in target directory.
- Correct links.
- Fix UTF-8.
- Make index file from
overview.md
markdown file.
EDoc-Merge
written in python. It uses following dependencies:
You can merge generated docs by
python path/to/edoc-merge.py
EDoc-Merge
supports three options.
python path/to/edocmerge.py --apps=another
This option tells EDoc-Merge
to search for docs in another directory.
python path/to/edocmerge.py --dest=MySuperDocs
dest
just changes destination directory.
python path/to/edocmerge.py --pivot=MyTemplates
EDoc-Merge
uses some files to generate docs. They are in the directory
pivot
. It's two templates for pystache
and some static files in
(surprise!) static
directory.