[Doc] Convert Sphinx directives ( {class}, {meth}, {attr}, ...) to MkDocs format for better documentation linking (#18663)
Signed-off-by: Zerohertz <ohg3417@gmail.com>
This commit is contained in:
@@ -38,7 +38,7 @@ class InputContext:
|
||||
) -> _C:
|
||||
"""
|
||||
Get the HuggingFace configuration
|
||||
({class}`transformers.PretrainedConfig`) of the model,
|
||||
(`transformers.PretrainedConfig`) of the model,
|
||||
additionally checking its type.
|
||||
|
||||
Raises:
|
||||
@@ -79,7 +79,7 @@ class InputContext:
|
||||
) -> _P:
|
||||
"""
|
||||
Get the HuggingFace processor
|
||||
({class}`transformers.ProcessorMixin`) of the model,
|
||||
(`transformers.ProcessorMixin`) of the model,
|
||||
additionally checking its type.
|
||||
|
||||
Raises:
|
||||
|
||||
Reference in New Issue
Block a user