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.