Skip to content

Commit b471179

Browse files
Use inventories in examples (#51)
closes: #51
1 parent 518ab35 commit b471179

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

docs/config.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ Additional options are added by this extension. Currently, there are three:
3434
default_handler: python_xref
3535
handlers:
3636
python_xref:
37-
import:
38-
- https://docs.python.org/3/objects.inv
39-
- https://pytorch.org/docs/stable/objects.inv
37+
inventories:
38+
- url: https://docs.python.org/3/objects.inv
39+
domains: [std, py]
40+
- url: https://pytorch.org/docs/stable/objects.inv
41+
domains: [py]
4042
options:
4143
relative_crossrefs: yes
4244
```
@@ -49,9 +51,11 @@ Additional options are added by this extension. Currently, there are three:
4951
default_handler: python_xref
5052
handlers:
5153
python_xref:
52-
import:
53-
- https://docs.python.org/3/objects.inv
54-
- https://pytorch.org/docs/stable/objects.inv
54+
inventories:
55+
- url: https://docs.python.org/3/objects.inv
56+
domains: [std, py]
57+
- url: https://pytorch.org/docs/stable/objects.inv
58+
domains: [py]
5559
options:
5660
relative_crossrefs: yes
5761
check_crossrefs_exclude:
@@ -66,9 +70,11 @@ Additional options are added by this extension. Currently, there are three:
6670
default_handler: python_xref
6771
handlers:
6872
python_xref:
69-
import:
70-
- https://docs.python.org/3/objects.inv
71-
- https://pytorch.org/docs/stable/objects.inv
73+
inventories:
74+
- url: https://docs.python.org/3/objects.inv
75+
domains: [std, py]
76+
- url: https://pytorch.org/docs/stable/objects.inv
77+
domains: [py]
7278
options:
7379
relative_crossrefs: yes
7480
check_crossrefs: no

0 commit comments

Comments
 (0)