diff options
| author | Josh Soref <2119212+jsoref@users.noreply.github.com> | 2023-04-11 16:04:17 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-04-11 19:21:05 -0400 |
| commit | cf9fd56bc905a2022ad48c93d25b5a73b57c8802 (patch) | |
| tree | a6858f0e790f801f49d8d4f161e9183deaf90e20 /docs/refman | |
| parent | e238b81ba0b89faa19b512d1e78de00dad1488ce (diff) | |
| download | meson-cf9fd56bc905a2022ad48c93d25b5a73b57c8802.tar.gz | |
fix various spelling issues
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Diffstat (limited to 'docs/refman')
| -rw-r--r-- | docs/refman/generatormd.py | 2 | ||||
| -rw-r--r-- | docs/refman/loaderbase.py | 4 |
2 files changed, 3 insertions, 3 deletions
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: |
