File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 2727
2828# Be strict about any broken references:
2929nitpicky = True
30+
31+ # Support intersphinx links
32+ extensions += [
33+ 'sphinx.ext.intersphinx' ,
34+ ]
35+ intersphinx_mapping = {
36+ 'python' : ('https://docs.python.org/3' , None ),
37+ 'importlib_resources' : (
38+ 'https://importlib-resources.readthedocs.io/en/latest/' ,
39+ None ,
40+ ),
41+ }
42+
43+ # Workaround for #316
44+ nitpick_ignore = [
45+ ('py:class' , 'importlib_metadata.EntryPoints' ),
46+ ('py:class' , 'importlib_metadata.SelectableGroups' ),
47+ ('py:class' , 'importlib_metadata._meta._T' ),
48+ ]
Original file line number Diff line number Diff line change @@ -880,7 +880,7 @@ def requires(distribution_name):
880880 Return a list of requirements for the named package.
881881
882882 :return: An iterator of requirements, suitable for
883- packaging.requirement.Requirement.
883+ packaging.requirement.Requirement.
884884 """
885885 return distribution (distribution_name ).requires
886886
You can’t perform that action at this time.
0 commit comments