File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ def build(session, autobuild=False):
3030 # Ref: https://github.com/pypa/pypa-docs-theme/issues/17
3131 # "-j", "auto", # parallelize the build
3232 "-b" , "html" , # use HTML builder
33+ "-n" , # nitpicky warn about all missing references
3334 "-W" , # Treat warnings as errors.
3435 "source" , # where the rst files are located
3536 target_build_dir , # where to put the html output
Original file line number Diff line number Diff line change 382382# The default is False.
383383
384384todo_include_todos = True
385+
386+ nitpicky = True
387+
388+ # NOTE: consider having a separate ignore file
389+ # Ref: https://stackoverflow.com/a/30624034/595220
390+ nitpick_ignore = [
391+ ('envvar' , 'PATH' ),
392+ ('py:func' , 'find_packages' ),
393+ ('py:func' , 'pkg_resources.iter_entry_points' ),
394+ ('py:func' , 'setup' ),
395+ ('py:func' , 'setuptools.find_namespace_packages' ),
396+ ('py:func' , 'setuptools.find_packages' ),
397+ ('py:func' , 'setuptools.setup' ),
398+ ]
You can’t perform that action at this time.
0 commit comments