YUI Doc is quite applicable, so theoretically this should be pretty simple:
Fork YUI Doc or change the current installation of YUI Doc.
- Add your own theme to
yuidoc/themes . Copying the default theme is probably a good place to start, or copy partial files / files that you want to override. - In
index.handlebars you add your own content. - You can also modify main.handlebars to include custom CSS, JS, and / or markup.
When you are creating documents now, use the --themedir switch to use the new theme:
$ yuidoc --themedir ./mytheme
Read more : In the YUI Doc tags .
source share