From 169b0a14faf1cf9b0cce7af6a8b84d4b8dab6850 Mon Sep 17 00:00:00 2001 From: miili Date: Tue, 31 Oct 2023 00:47:55 +0100 Subject: [PATCH] docs --- lassie/utils.py | 4 ++-- mkdocs.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lassie/utils.py b/lassie/utils.py index b3d9254e..27724fed 100644 --- a/lassie/utils.py +++ b/lassie/utils.py @@ -130,8 +130,8 @@ def generate_submodel(model: BaseModel) -> list[str]: if field.description is None: continue lines += [ - f" - **`{name}`**\n", - f" {field.description}", + f" **`{name}`**\n", + f" : {field.description}\n", ] def dump_json() -> list[str]: diff --git a/mkdocs.yml b/mkdocs.yml index 4007ba11..002b1113 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -45,6 +45,7 @@ markdown_extensions: - pymdownx.tabbed: alternate_style: true - admonition + - def_list - attr_list extra_javascript: