doc: Generate output for tutorial examples at build time too.