YUI Doc is quite themable, so in theory this should be quite easy:
Fork YUI Doc or modify your current YUI Doc installation.
- Add your own theme under
yuidoc/themes
. Copying the default theme is probably a good place to start, or copy over the partials/files you want to override. - In
index.handlebars
you add your custom content. - You can also change the main.handlebars to include custom CSS, JS and/or markup.
When you now build the docs, use the --themedir switch to use your new theme:
$ yuidoc --themedir ./mytheme
Read more: On YUI Doc theming.