From 13b09aa9a468238a694dcfe1cd13872dcccf0ca8 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Tue, 31 Oct 2023 20:38:14 +0000 Subject: [PATCH] Doc: Set Data API link position --- packages/app-cli/app/command-apidoc.js | 4 ++++ readme/api/references/rest_api.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/packages/app-cli/app/command-apidoc.js b/packages/app-cli/app/command-apidoc.js index 8c9709e83..4d765b95f 100644 --- a/packages/app-cli/app/command-apidoc.js +++ b/packages/app-cli/app/command-apidoc.js @@ -57,6 +57,10 @@ class Command extends BaseCommand { const lines = []; + lines.push('---'); + lines.push('sidebar_position: 2'); + lines.push('---'); + lines.push(''); lines.push('# Joplin Data API'); lines.push(''); lines.push('This API is available when the clipper server is running. It provides access to the notes, notebooks, tags and other Joplin object via a REST API. Plugins can also access this API even when the clipper server is not running.'); diff --git a/readme/api/references/rest_api.md b/readme/api/references/rest_api.md index d0158baf1..32c328dac 100644 --- a/readme/api/references/rest_api.md +++ b/readme/api/references/rest_api.md @@ -1,3 +1,7 @@ +--- +sidebar_position: 2 +--- + # Joplin Data API This API is available when the clipper server is running. It provides access to the notes, notebooks, tags and other Joplin object via a REST API. Plugins can also access this API even when the clipper server is not running.