You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO: **There is an alternative, third-party Python handler that handles relative references: [mkdocstrings-python-xref](https://github.com/analog-garage/mkdocstrings-python-xref).**
@@ -452,7 +458,7 @@ The following order is applied when resolving a name in a given scope:
452
458
453
459
In practice, it means that the name is first looked up in members, then it is compared against the parent name (only if it's a class), then it is looked up in siblings. It continues climbing up the object tree until there's no parent, in which case it raises a name resolution error.
454
460
455
-
Cross-referencing an imported object will directly link to this object if the objects inventory of the project it comes from was [loaded][import]. You won't be able to cross-reference it within your own documentation with scoped references, if you happen to be rendering this external object too. In that case, you can use an absolute reference or a [relative][relative_crossrefs] one instead.
461
+
Cross-referencing an imported object will directly link to this object if the objects inventory of the project it comes from was [loaded][inventories]. You won't be able to cross-reference it within your own documentation with scoped references, if you happen to be rendering this external object too. In that case, you can use an absolute reference or a [relative][relative_crossrefs] one instead.
456
462
457
463
Another limitation is that you won't be able to reference an external package if its name can be resolved in the current object's scope.
458
464
@@ -541,6 +547,7 @@ class Class:
541
547
542
548
///
543
549
550
+
[](){#option-show_if_no_docstring}
544
551
## `show_if_no_docstring`
545
552
546
553
- **:octicons-package-24: Type [`bool`][] :material-equal: `False`{ title="default value" }**
@@ -610,6 +617,7 @@ class ClassWithoutDocstring:
610
617
////
611
618
///
612
619
620
+
[](){#option-show_docstring_attributes}
613
621
## `show_docstring_attributes`
614
622
615
623
- **:octicons-package-24: Type [`bool`][] :material-equal: `True`{ title="default value" }**
@@ -662,6 +670,7 @@ class Class:
662
670
////
663
671
///
664
672
673
+
[](){#option-show_docstring_functions}
665
674
## `show_docstring_functions`
666
675
667
676
- **:octicons-package-24: Type [`bool`][] :material-equal: `True`{ title="default value" }**
@@ -736,7 +745,7 @@ class Class:
736
745
////
737
746
///
738
747
739
-
748
+
[](){#option-show_docstring_classes}
740
749
## `show_docstring_classes`
741
750
742
751
- **:octicons-package-24: Type [`bool`][] :material-equal: `True`{ title="default value" }**
@@ -795,6 +804,7 @@ class Class:
795
804
////
796
805
///
797
806
807
+
[](){#option-show_docstring_modules}
798
808
## `show_docstring_modules`
799
809
800
810
- **:octicons-package-24: Type [`bool`][] :material-equal: `True`{ title="default value" }**
@@ -851,6 +861,7 @@ Modules:
851
861
////
852
862
///
853
863
864
+
[](){#option-show_docstring_description}
854
865
## `show_docstring_description`
855
866
856
867
- **:octicons-package-24: Type [`bool`][] :material-equal: `True`{ title="default value" }**
@@ -914,6 +925,7 @@ class Class:
914
925
////
915
926
///
916
927
928
+
[](){#option-show_docstring_examples}
917
929
## `show_docstring_examples`
918
930
919
931
- **:octicons-package-24: Type [`bool`][] :material-equal: `True`{ title="default value" }**
@@ -967,6 +979,7 @@ hello
967
979
////
968
980
///
969
981
982
+
[](){#option-show_docstring_other_parameters}
970
983
## `show_docstring_other_parameters`
971
984
972
985
- **:octicons-package-24: Type [`bool`][] :material-equal: `True`{ title="default value" }**
@@ -1017,6 +1030,7 @@ def do_something(**kwargs):
1017
1030
////
1018
1031
///
1019
1032
1033
+
[](){#option-show_docstring_parameters}
1020
1034
## `show_docstring_parameters`
1021
1035
1022
1036
- **:octicons-package-24: Type [`bool`][] :material-equal: `True`{ title="default value" }**
@@ -1067,6 +1081,7 @@ def do_something(whatever: int = 0):
1067
1081
////
1068
1082
///
1069
1083
1084
+
[](){#option-show_docstring_raises}
1070
1085
## `show_docstring_raises`
1071
1086
1072
1087
- **:octicons-package-24: Type [`bool`][] :material-equal: `True`{ title="default value" }**
@@ -1118,6 +1133,7 @@ def raise_runtime_error():
1118
1133
////
1119
1134
///
1120
1135
1136
+
[](){#option-show_docstring_receives}
1121
1137
## `show_docstring_receives`
1122
1138
1123
1139
- **:octicons-package-24: Type [`bool`][] :material-equal: `True`{ title="default value" }**
@@ -1177,6 +1193,7 @@ def iter_skip(
1177
1193
////
1178
1194
///
1179
1195
1196
+
[](){#option-show_docstring_returns}
1180
1197
## `show_docstring_returns`
1181
1198
1182
1199
- **:octicons-package-24: Type [`bool`][] :material-equal: `True`{ title="default value" }**
@@ -1228,6 +1245,7 @@ def rand() -> int:
1228
1245
////
1229
1246
///
1230
1247
1248
+
[](){#option-show_docstring_warns}
1231
1249
## `show_docstring_warns`
1232
1250
1233
1251
- **:octicons-package-24: Type [`bool`][] :material-equal: `True`{ title="default value" }**
@@ -1279,6 +1297,7 @@ def warn():
1279
1297
////
1280
1298
///
1281
1299
1300
+
[](){#option-show_docstring_yields}
1282
1301
## `show_docstring_yields`
1283
1302
1284
1303
- **:octicons-package-24: Type [`bool`][] :material-equal: `True`{ title="default value" }**
0 commit comments