From cf9fd56bc905a2022ad48c93d25b5a73b57c8802 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 11 Apr 2023 16:04:17 -0400 Subject: fix various spelling issues Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/refman/generatormd.py | 2 +- docs/refman/loaderbase.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/refman') diff --git a/docs/refman/generatormd.py b/docs/refman/generatormd.py index 6029016cf..87e54181d 100644 --- a/docs/refman/generatormd.py +++ b/docs/refman/generatormd.py @@ -105,7 +105,7 @@ class GeneratorMD(GeneratorBase): def _link_to_object(self, obj: T.Union[Function, Object], in_code_block: bool = False) -> str: ''' - Generate a palaceholder tag for the the function/method/object documentation. + Generate a palaceholder tag for the function/method/object documentation. This tag is then replaced in the custom hotdoc plugin. ''' prefix = '#' if in_code_block else '' diff --git a/docs/refman/loaderbase.py b/docs/refman/loaderbase.py index 3011126bc..e64134f55 100644 --- a/docs/refman/loaderbase.py +++ b/docs/refman/loaderbase.py @@ -108,7 +108,7 @@ class _Resolver: for obj in func.returns.resolved: obj.data_type.returned_by += [func] - # Handle kwargs inehritance + # Handle kwargs inheritance for base_name in func.kwargs_inherit: base_name = base_name.strip() assert base_name in self.func_map, f'Unknown base function `{base_name}` for {func.name}' @@ -123,7 +123,7 @@ class _Resolver: missing = {k: v for k, v in base.kwargs.items() if k in base_keys - curr_keys} func.kwargs.update(missing) - # Handloe other args inheritance + # Handle other args inheritance _T = T.TypeVar('_T', bound=T.Union[ArgBase, T.List[PosArg]]) def resolve_inherit(name: str, curr: _T, resolver: T.Callable[[Function], _T]) -> _T: if name and not curr: -- cgit v1.2.3