diff --git a/docs/hooks.py b/docs/hooks.py index 343ed10..ce7d86d 100644 --- a/docs/hooks.py +++ b/docs/hooks.py @@ -14,11 +14,6 @@ def generate_schema(config, **kwargs): check=True ) - if schema_path.exists(): - print("Schema contents:") - with open(schema_path) as f: - print(f.read()) - except subprocess.CalledProcessError as e: print(f"Error generating schema: {e}") return \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 3644dce..0b6c8ef 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -14,14 +14,19 @@ theme: plugins: - search + - mkdocstrings + - swagger-ui-tag - mkdocs-simple-hooks: hooks: on_pre_build: "docs.hooks:generate_schema" markdown_extensions: - - pymdownx.snippets + - pymdownx.snippets: + check_paths: true - pymdownx.superfences - admonition + - attr_list + - md_in_html # Configuration for API documentation extra: