11# -*- coding: utf-8 -*-
2- from __future__ import unicode_literals
3-
42import os
53
64
@@ -12,6 +10,18 @@ def read(*names, **kwargs):
1210 return fh .read ()
1311
1412
13+ # Warn about all references to unknown targets
14+ nitpicky = True
15+ # Except for these ones, which we expect to point to unknown targets:
16+ nitpick_ignore = [
17+ # Perhaps this is "obvious" to those that know type hints. Perhaps we should
18+ # explain briefly with a link to the typing docs.
19+ ("py:class" , "desert.T" ),
20+ # TODO: get around to adding .. py:module to attrs somewhere
21+ ("py:mod" , "attrs" ),
22+ ]
23+
24+
1525extensions = [
1626 "sphinx.ext.autodoc" ,
1727 "sphinx.ext.napoleon" ,
@@ -72,8 +82,8 @@ def read(*names, **kwargs):
7282intersphinx_mapping = {
7383 "python" : ("https://docs.python.org/3" , None ),
7484 "marshmallow" : ("https://marshmallow.readthedocs.io/en/latest/" , None ),
75- "attrs" : ("https://attrs.readthedocs.io /en/latest/" , None ),
76- "attr" : ("https://attrs.readthedocs.io /en/latest/" , None ),
85+ "attrs" : ("https://www. attrs.org /en/latest/" , None ),
86+ "attr" : ("https://www. attrs.org /en/latest/" , None ),
7787 "marshmallow_union" : (
7888 "https://python-marshmallow-union.readthedocs.io/en/latest/" ,
7989 None ,
0 commit comments