From 0db5b3f50a4754bcd46cda3dccd481dad8da9535 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Mon, 3 Jun 2024 02:50:52 -0400 Subject: [PATCH 1/2] docs: add json_schema to toc --- docs/index.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/index.rst b/docs/index.rst index 5d6f0f2..83b72a3 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -14,6 +14,7 @@ Welcome to dargs's documentation! sphinx dpgui nb + json_schema api/api credits From c77dc84662373d9d400a98da0e7d817793bd5c44 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Mon, 3 Jun 2024 02:52:34 -0400 Subject: [PATCH 2/2] fix typo --- docs/json_schema.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/json_schema.md b/docs/json_schema.md index e7c1803..878e2dc 100644 --- a/docs/json_schema.md +++ b/docs/json_schema.md @@ -1,6 +1,6 @@ ## Generate JSON schema from an argument -One can use {func}`dargs.json_schema_generate_json_schema` to generate [JSON schema](https://json-schema.org/). +One can use {func}`dargs.json_schema.generate_json_schema` to generate [JSON schema](https://json-schema.org/). ```py import json