diff --git a/anta/result_manager/__init__.py b/anta/result_manager/__init__.py index 9ce880e34..00b50bf50 100644 --- a/anta/result_manager/__init__.py +++ b/anta/result_manager/__init__.py @@ -164,7 +164,6 @@ def get_result_by_test(self, test_name: str) -> list[TestResult]: Args: test_name (str): Test name to use to filter results - output_format (str, optional): format selector. Can be either native/list. Defaults to 'native'. Returns: list[TestResult]: List of results related to the test. @@ -177,7 +176,6 @@ def get_result_by_host(self, host_ip: str) -> list[TestResult]: Args: host_ip (str): IP Address of the host to use to filter results. - output_format (str, optional): format selector. Can be either native/list. Defaults to 'native'. Returns: list[TestResult]: List of results related to the host. diff --git a/docs/usage-inventory-catalog.md b/docs/usage-inventory-catalog.md index 39734f3a3..010078711 100644 --- a/docs/usage-inventory-catalog.md +++ b/docs/usage-inventory-catalog.md @@ -12,7 +12,7 @@ Both inputs can be defined in a file or programmatically. ## Device Inventory -A device inventory is an instance of the [AntaInventory](../api/inventory.md#anta.inventory.AntaInventory) class. +A device inventory is an instance of the [AntaInventory](./api/inventory.md#anta.inventory.AntaInventory) class. ### Device Inventory File @@ -72,7 +72,7 @@ anta_inventory: ## Test Catalog -A test catalog is an instance of the [AntaCatalog](../api/catalog.md#anta.catalog.AntaCatalog) class. +A test catalog is an instance of the [AntaCatalog](./api/catalog.md#anta.catalog.AntaCatalog) class. ### Test Catalog File diff --git a/mkdocs.yml b/mkdocs.yml index 9dbc60ff5..2fe6c232f 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -84,7 +84,6 @@ plugins: default_handler: python handlers: python: - paths: [anta] import: - https://docs.python.org/3/objects.inv - https://mkdocstrings.github.io/objects.inv @@ -115,8 +114,8 @@ plugins: markdown_extensions: - attr_list - pymdownx.emoji: - emoji_index: !!python/name:materialx.emoji.twemoji - emoji_generator: !!python/name:materialx.emoji.to_svg + emoji_index: !!python/name:material.extensions.emoji.twemoji + emoji_generator: !!python/name:material.extensions.emoji.to_svg - smarty - pymdownx.arithmatex - pymdownx.betterem: @@ -207,8 +206,6 @@ nav: - Result Manager: - Result Manager module: api/result_manager.md - Result Manager models: api/result_manager_models.md - - Report Manager: - - Report Manager module: api/report_manager.md - - Report Manager models: api/report_manager_models.md + - Report Manager: api/report_manager.md - Contributions: contribution.md - FAQ: faq.md diff --git a/pyproject.toml b/pyproject.toml index 9a23db3e4..2de07d817 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -89,7 +89,7 @@ doc = [ "mkdocstrings[python]>=0.20.0", "fontawesome_markdown", "mike==2.0.0", - "griffe==0.41.1" + "griffe" ] [project.urls]