From f7c73d0cd8c581d3b8849fcba91e0c77cdbd6e41 Mon Sep 17 00:00:00 2001 From: JordyPirata Date: Mon, 6 Jul 2026 18:14:13 -0600 Subject: [PATCH] chore(versioned): register v0.5.1-alpha as a docs version --- docusaurus.config.js | 16 ++++ .../version-0.5.1-alpha.json | 78 +++++++++++++++++++ package.json | 2 +- .../version-0.5.1-alpha-sidebars.json | 44 +++++++++++ versions.json | 3 + 5 files changed, 142 insertions(+), 1 deletion(-) create mode 100644 i18n/en/docusaurus-plugin-content-docs/version-0.5.1-alpha.json create mode 100644 versioned_sidebars/version-0.5.1-alpha-sidebars.json create mode 100644 versions.json diff --git a/docusaurus.config.js b/docusaurus.config.js index 212a5f7..293b4ed 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -70,6 +70,17 @@ const config = { // Please change this to your repo. // Remove this to remove the "edit this page" links. editUrl: "https://github.com/olympus-btc/ambrosia/tree/main/docs/api", + lastVersion: "0.5.1-alpha", + versions: { + current: { + label: "Next 🚧", + path: "next", + banner: "unreleased", + }, + "0.5.1-alpha": { + label: "v0.5.1-alpha", + }, + }, }, blog: { showReadingTime: true, @@ -167,6 +178,11 @@ const config = { }, { to: "/blog", label: "Blog", position: "left" }, { to: "/team", label: "Equipo", position: "left" }, + { + type: "docsVersionDropdown", + position: "right", + dropdownActiveClassDisabled: true, + }, { type: "localeDropdown", position: "right" }, { href: "https://github.com/olympus-btc/ambrosia", diff --git a/i18n/en/docusaurus-plugin-content-docs/version-0.5.1-alpha.json b/i18n/en/docusaurus-plugin-content-docs/version-0.5.1-alpha.json new file mode 100644 index 0000000..1b0121c --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/version-0.5.1-alpha.json @@ -0,0 +1,78 @@ +{ + "version.label": { + "message": "v0.5.1-alpha", + "description": "The label for version 0.5.1-alpha" + }, + "sidebar.apiSidebar.category.Authentication": { + "message": "Authentication", + "description": "The label for category 'Authentication' in sidebar 'apiSidebar'" + }, + "sidebar.apiSidebar.category.Billing": { + "message": "Billing", + "description": "The label for category 'Billing' in sidebar 'apiSidebar'" + }, + "sidebar.apiSidebar.category.Bitcoin": { + "message": "Bitcoin", + "description": "The label for category 'Bitcoin' in sidebar 'apiSidebar'" + }, + "sidebar.apiSidebar.category.Configuration": { + "message": "Configuration", + "description": "The label for category 'Configuration' in sidebar 'apiSidebar'" + }, + "sidebar.apiSidebar.category.Inventory": { + "message": "Inventory", + "description": "The label for category 'Inventory' in sidebar 'apiSidebar'" + }, + "sidebar.apiSidebar.category.Printing": { + "message": "Printing", + "description": "The label for category 'Printing' in sidebar 'apiSidebar'" + }, + "sidebar.apiSidebar.category.Restaurant": { + "message": "Restaurant", + "description": "The label for category 'Restaurant' in sidebar 'apiSidebar'" + }, + "sidebar.apiSidebar.category.Referencia de la API": { + "message": "API Reference", + "description": "The label for category 'Referencia de la API' in sidebar 'apiSidebar'" + }, + "sidebar.apiSidebar.category.Referencia de la API.generated-index.title": { + "message": "API Reference", + "description": "The title of the generated-index for category Referencia de la API in sidebar apiSidebar" + }, + "sidebar.apiSidebar.category.Referencia de la API.generated-index.description": { + "message": "Detailed technical documentation of all Ambrosia POS API endpoints and modules.", + "description": "The description of the generated-index for category Referencia de la API in sidebar apiSidebar" + }, + "sidebar.apiSidebar.category.Portal de Desarrolladores": { + "message": "Developer Portal", + "description": "The label for category 'Portal de Desarrolladores' in sidebar 'apiSidebar'" + }, + "sidebar.apiSidebar.category.Portal de Desarrolladores.generated-index.title": { + "message": "Developer Portal", + "description": "The title of the generated-index for category Portal de Desarrolladores in sidebar apiSidebar" + }, + "sidebar.apiSidebar.category.Portal de Desarrolladores.generated-index.description": { + "message": "Resources, guides, and standards for contributing to the Ambrosia POS ecosystem.", + "description": "The description of the generated-index for category Portal de Desarrolladores in sidebar apiSidebar" + }, + "sidebar.apiSidebar.category.Referencia de la API.link.generated-index.title": { + "message": "API Reference", + "description": "The generated-index page title for category 'Referencia de la API' in sidebar 'apiSidebar'" + }, + "sidebar.apiSidebar.category.Referencia de la API.link.generated-index.description": { + "message": "Detailed technical documentation of all Ambrosia POS API endpoints and modules.", + "description": "The generated-index page description for category 'Referencia de la API' in sidebar 'apiSidebar'" + }, + "sidebar.apiSidebar.category.Store": { + "message": "Store", + "description": "The label for category 'Store' in sidebar 'apiSidebar'" + }, + "sidebar.apiSidebar.category.Portal de Desarrolladores.link.generated-index.title": { + "message": "Developer Portal", + "description": "The generated-index page title for category 'Portal de Desarrolladores' in sidebar 'apiSidebar'" + }, + "sidebar.apiSidebar.category.Portal de Desarrolladores.link.generated-index.description": { + "message": "Resources, guides, and standards for contributing to the Ambrosia POS ecosystem.", + "description": "The generated-index page description for category 'Portal de Desarrolladores' in sidebar 'apiSidebar'" + } +} diff --git a/package.json b/package.json index 4037a89..e11b415 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ambrosia-pos", - "version": "0.5.1-alpha", + "version": "0.7.1-beta", "private": true, "scripts": { "docusaurus": "docusaurus", diff --git a/versioned_sidebars/version-0.5.1-alpha-sidebars.json b/versioned_sidebars/version-0.5.1-alpha-sidebars.json new file mode 100644 index 0000000..8d8f67b --- /dev/null +++ b/versioned_sidebars/version-0.5.1-alpha-sidebars.json @@ -0,0 +1,44 @@ +{ + "apiSidebar": [ + { + "type": "category", + "label": "Referencia de la API", + "className": "sidebar-section-api", + "link": { + "type": "generated-index", + "title": "Referencia de la API", + "description": "Documentación técnica detallada de todos los endpoints y módulos de la API de Ambrosia POS.", + "slug": "/api-reference" + }, + "items": [ + { + "type": "autogenerated", + "dirName": "API" + } + ] + }, + { + "type": "category", + "label": "Portal de Desarrolladores", + "className": "sidebar-section-dev", + "link": { + "type": "generated-index", + "title": "Portal de Desarrolladores", + "description": "Recursos, guías y estándares para contribuir al ecosistema de Ambrosia POS.", + "slug": "/developer-portal" + }, + "items": [ + { + "type": "autogenerated", + "dirName": "Development" + } + ] + } + ], + "phoenixSidebar": [ + { + "type": "autogenerated", + "dirName": "Phoenixd" + } + ] +} diff --git a/versions.json b/versions.json new file mode 100644 index 0000000..c66ab85 --- /dev/null +++ b/versions.json @@ -0,0 +1,3 @@ +[ + "0.5.1-alpha" +]