From 536bf8aa7962484ff1776aacb678f18275647d76 Mon Sep 17 00:00:00 2001 From: msukkari Date: Sat, 24 May 2025 11:54:51 -0700 Subject: [PATCH] improve platform support ui in docs --- docs/docs/connections/overview.mdx | 13 +++---------- docs/self-hosting/overview.mdx | 13 +++---------- docs/snippets/platform-support.mdx | 10 ++++++++++ 3 files changed, 16 insertions(+), 20 deletions(-) create mode 100644 docs/snippets/platform-support.mdx diff --git a/docs/docs/connections/overview.mdx b/docs/docs/connections/overview.mdx index b259da28..a237aa67 100644 --- a/docs/docs/connections/overview.mdx +++ b/docs/docs/connections/overview.mdx @@ -3,6 +3,8 @@ title: Overview sidebarTitle: Overview --- +import SupportedPlatforms from '/snippets/platform-support.mdx' + To connect your code to Sourcebot you create **connections**. A **connection** is a configuration object that describes how Sourcebot should fetch information from a supported code host. There are two ways to define connections: @@ -23,15 +25,6 @@ There are two ways to define connections: ### Supported code hosts - - - - - - - - - - + Missing your code host? [Submit a feature request on GitHub](https://github.com/sourcebot-dev/sourcebot/discussions/categories/ideas). \ No newline at end of file diff --git a/docs/self-hosting/overview.mdx b/docs/self-hosting/overview.mdx index e6939789..28189b9f 100644 --- a/docs/self-hosting/overview.mdx +++ b/docs/self-hosting/overview.mdx @@ -3,6 +3,8 @@ title: Self-host Sourcebot sidebarTitle: Overview --- +import SupportedPlatforms from '/snippets/platform-support.mdx' + Want a managed solution? Checkout [Sourcebot Cloud](/docs/getting-started). Sourcebot is open source and can be self-hosted using our official [Docker image](https://github.com/sourcebot-dev/sourcebot/pkgs/container/sourcebot). @@ -75,16 +77,7 @@ Sourcebot is open source and can be self-hosted using our official [Docker image Sourcebot supports indexing public & private code on the following code hosts: - - - - - - - - - - + Missing your code host? [Submit a feature request on GitHub](https://github.com/sourcebot-dev/sourcebot/discussions/categories/ideas). diff --git a/docs/snippets/platform-support.mdx b/docs/snippets/platform-support.mdx new file mode 100644 index 00000000..38266b2d --- /dev/null +++ b/docs/snippets/platform-support.mdx @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file