diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-10-06 15:06:01 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-10-08 05:12:58 -0400 |
commit | 98c094227c7738a65dfc5908b3397d7275e56ea1 (patch) | |
tree | 65f27374fa2a9c89142c48426615d42c8c2da475 /docs | |
parent | ca4791dba46b0c285763d3dd76a9c8a61b279a35 (diff) | |
download | haskell-98c094227c7738a65dfc5908b3397d7275e56ea1.tar.gz |
users-guide: Run sphinx in nit-picky mode
This ensure that it blurts an error on missing references.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/conf.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/users_guide/conf.py b/docs/users_guide/conf.py index 1f6f8b5b11..597d6765c7 100644 --- a/docs/users_guide/conf.py +++ b/docs/users_guide/conf.py @@ -24,6 +24,29 @@ source_suffix = '.rst' source_encoding = 'utf-8-sig' master_doc = 'index' +nitpick_ignore = [ + ("envvar", "EDITOR"), + ("envvar", "HOME"), + ("envvar", "LD_LIBRARY_PATH"), + ("envvar", "LIBRARY_PATH"), + ("envvar", "PATH"), + ("envvar", "RPATH"), + ("envvar", "RUNPATH"), + ("envvar", "TMPDIR"), + + ("c:type", "bool"), + + # See #17314 + ("ghc-flag", "-pgmo ⟨port⟩"), + ("ghc-flag", "-pgmo ⟨option⟩"), + + ("extension", "DoAndIfThenElse"), + ("extension", "RelaxedPolyRec"), + + # See #16629 + ("extension", "UnliftedFFITypes"), +] + rst_prolog = """ .. |llvm-version| replace:: {llvm_version} """.format(llvm_version=ghc_config.llvm_version) |