[PATCH] D43505: [docs] Use literalinclude for most code in the Kaleidoscope tutorial to ensure the code always compiles and is up to date

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 21 12:43:10 PST 2018


dblaikie added a comment.

Another note/thought: It'd be great if, when including the whole file, there was some way to omit the snippet marker comments - but, on looking around at the Sphinx docs I don't see anything immediately obvious & figure there's nothing specifically to support that (I guess if someone cared a lot they could add new build rules that would strip the comments & produce some temporary files that could then be included when the whole source listing was desired).


Repository:
  rL LLVM

https://reviews.llvm.org/D43505





More information about the llvm-commits mailing list