From 1037ad34597233781a43673e169763ef033782b7 Mon Sep 17 00:00:00 2001 From: Lukasz Gornicki Date: Wed, 15 Nov 2023 10:14:10 +0100 Subject: [PATCH] Revert "docs(extensions): update latest extensions documentation (#2320)" This reverts commit 72ebf77e442d9f6d727c94feef8c92ab3c2a873c. --- config/edit-page-config.json | 38 +++++++++------------ pages/docs/reference/extensions/_section.md | 4 --- pages/docs/reference/extensions/x.md | 31 ----------------- 3 files changed, 17 insertions(+), 56 deletions(-) delete mode 100644 pages/docs/reference/extensions/_section.md delete mode 100644 pages/docs/reference/extensions/x.md diff --git a/config/edit-page-config.json b/config/edit-page-config.json index dbd5fa50b9eb..a622b600facc 100644 --- a/config/edit-page-config.json +++ b/config/edit-page-config.json @@ -1,22 +1,18 @@ [ - { - "value": "/tools/generator", - "href": "https://github.com/asyncapi/generator/tree/master/docs" - }, - { - "value": "reference/specification/", - "href": "https://github.com/asyncapi/spec/blob/master/spec/asyncapi.md" - }, - { - "value": "/tools/cli", - "href": "https://github.com/asyncapi/cli/tree/master/docs" - }, - { - "value": "", - "href": "https://github.com/asyncapi/website/blob/master/pages" - }, - { - "value": "reference/extensions/", - "href": "https://github.com/asyncapi/extensions-catalog/tree/master/extensions" - } -] \ No newline at end of file + { + "value": "/tools/generator", + "href": "https://github.com/asyncapi/generator/tree/master/docs" + }, + { + "value": "reference/specification/", + "href": "https://github.com/asyncapi/spec/blob/master/spec/asyncapi.md" + }, + { + "value":"/tools/cli", + "href":"https://github.com/asyncapi/cli/tree/master/docs" + }, + { + "value": "", + "href": "https://github.com/asyncapi/website/blob/master/pages" + } +] diff --git a/pages/docs/reference/extensions/_section.md b/pages/docs/reference/extensions/_section.md deleted file mode 100644 index 5e4249cbc90c..000000000000 --- a/pages/docs/reference/extensions/_section.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: Extensions -weight: 10 ---- \ No newline at end of file diff --git a/pages/docs/reference/extensions/x.md b/pages/docs/reference/extensions/x.md deleted file mode 100644 index 4950e2b395ce..000000000000 --- a/pages/docs/reference/extensions/x.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: 'x' -weight: 11 ---- - -# Twitter Extension -This document defines how to use `twitter` extension in AsyncAPI documents. - -## Overview -This extension allows you to provide the Twitter username of the account representing the team/company of the API. - -## Extension Definition - -### Type: String - -Name of the Twitter username. - -## Extension Location - -This extension can be used in the following locations: -- [Info Object](https://www.asyncapi.com/docs/reference/specification/v2.6.0#infoObject) - -## Example - -```yaml -asyncapi: '2.6.0' -info - title: Strretlights Kafka API - version: '1.0.0' - x-twitter: StreetLightData -```