From 598b509ed5f63142806049edf9c4c6efb9fc16da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Vall=C3=A9s?= <3977183+jvallesm@users.noreply.github.com> Date: Wed, 18 Dec 2024 08:29:43 +0100 Subject: [PATCH] chore(google-drive): document component is only available on CE (#942) Because - When building the `instill.tech` docs, Google Drive was [included](https://github.com/instill-ai/instill.tech/pull/1279#discussion_r1886644507). - This is correct because CE versions can use this component (i.e. we shouldn't hide the doc), but might generate confusion for Cloud users. This commit - Specifies CE-only usage in `google-drive` component document. --- pkg/component/data/googledrive/v0/.compogen/intro.mdx | 1 + pkg/component/data/googledrive/v0/README.mdx | 1 + pkg/component/data/googledrive/v0/main.go | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 pkg/component/data/googledrive/v0/.compogen/intro.mdx diff --git a/pkg/component/data/googledrive/v0/.compogen/intro.mdx b/pkg/component/data/googledrive/v0/.compogen/intro.mdx new file mode 100644 index 000000000..0db6461f7 --- /dev/null +++ b/pkg/component/data/googledrive/v0/.compogen/intro.mdx @@ -0,0 +1 @@ +**Note**: This component is only available on **🔮 Instill Core**. diff --git a/pkg/component/data/googledrive/v0/README.mdx b/pkg/component/data/googledrive/v0/README.mdx index 0d3a3837c..893eb548c 100644 --- a/pkg/component/data/googledrive/v0/README.mdx +++ b/pkg/component/data/googledrive/v0/README.mdx @@ -10,6 +10,7 @@ It can carry out the following tasks: - [Read File](#read-file) - [Read Folder](#read-folder) +**Note**: This component is only available on **🔮 Instill Core**. ## Release Stage diff --git a/pkg/component/data/googledrive/v0/main.go b/pkg/component/data/googledrive/v0/main.go index 003ca890d..d1183423d 100644 --- a/pkg/component/data/googledrive/v0/main.go +++ b/pkg/component/data/googledrive/v0/main.go @@ -1,4 +1,4 @@ -//go:generate compogen readme ./config ./README.mdx +//go:generate compogen readme ./config ./README.mdx --extraContents intro=.compogen/intro.mdx package googledrive import (