File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ print(result.model_output)
5555
5656## Client Namespaces
5757
58- The [ Client] ( ./client ) object exposes three namespaces:
58+ The [ Client] ( ./client/index ) object exposes three namespaces:
5959
6060- ** [ llm] ( ./client/llm ) ** -- LLM chat and completion
6161- ** [ onchain_inference] ( ./client/onchain_inference ) ** -- On-chain ONNX model inference
Original file line number Diff line number Diff line change @@ -83,6 +83,9 @@ def linkify(text, mod):
8383 return match.group(0 )
8484 display = match.group(2 )
8585 rel_path = ' /' .join(remaining)
86+ target_mod = dobj if isinstance (dobj, pdoc.Module) else dobj.module
87+ if isinstance (target_mod, pdoc.Module) and target_mod.is_package:
88+ rel_path += ' /index'
8689 return ' [{} ](./{} )' .format(display, rel_path)
8790 return re.sub(r ' `( opengradient(?: \. \w + ) + \. ( \w + )) `' , replace_ref, text)
8891%> \
You can’t perform that action at this time.
0 commit comments