Add doctree task