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

Aron Granberg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 02:13:18 PST 2018


Voxel added a comment.

I found that there is apparently a config file that can be used to set the minimum sphinx version that is required.

It can be found in the llvm/docs/conf.py file:

  # If your documentation needs a minimal Sphinx version, state it here.
  #needs_sphinx = '1.0'

Currently it is not set, but I suppose one option would be to set that to 1.6 to at least ensure that anyone who tries to build the docs with an outdated version of sphinx will get an error message.


Repository:
  rL LLVM

https://reviews.llvm.org/D43505





More information about the llvm-commits mailing list