From bbf3ba6cc7cdbb530b593357d9fe19f40f9c33b1 Mon Sep 17 00:00:00 2001 From: Srini Kadamati Date: Tue, 8 Mar 2022 11:12:24 -0500 Subject: [PATCH 1/3] docs: renamed yugabyte to yugabytedb --- docs/docs/databases/installing-database-drivers.mdx | 2 +- docs/docs/databases/{yugabyte.mdx => yugabytedb.mdx} | 6 +++--- docs/docusaurus.config.js | 4 ++++ docs/src/resources/data.js | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) rename docs/docs/databases/{yugabyte.mdx => yugabytedb.mdx} (70%) diff --git a/docs/docs/databases/installing-database-drivers.mdx b/docs/docs/databases/installing-database-drivers.mdx index 446591b8d5f98..cb404fb480a40 100644 --- a/docs/docs/databases/installing-database-drivers.mdx +++ b/docs/docs/databases/installing-database-drivers.mdx @@ -56,7 +56,7 @@ A list of some of the recommended packages. | [SQL Server](/docs/databases/sql-server) | `pip install pymssql` | `mssql://` | | [Teradata](/docs/databases/teradata) | `pip install teradatasqlalchemy ` | `teradata://{user}:{password}@{host}` | | [Vertica](/docs/databases/vertica) | `pip install sqlalchemy-vertica-python` | `vertica+vertica_python://:@/` | -| [Yugabyte](/docs/databases/yugabyte) | `pip install psycopg2` | `postgresql://:@/` | +| [YugabyteDB](/docs/databases/yugabytedb) | `pip install psycopg2` | `postgresql://:@/` | --- diff --git a/docs/docs/databases/yugabyte.mdx b/docs/docs/databases/yugabytedb.mdx similarity index 70% rename from docs/docs/databases/yugabyte.mdx rename to docs/docs/databases/yugabytedb.mdx index 8a08c0a833a19..fd60010d930e0 100644 --- a/docs/docs/databases/yugabyte.mdx +++ b/docs/docs/databases/yugabytedb.mdx @@ -1,13 +1,13 @@ --- -title: Yugabyte +title: YugabyteDB hide_title: true sidebar_position: 38 version: 1 --- -## Yugabyte +## YugabyteDB -[Yugabyte](https://www.yugabyte.com/) is a distributed SQL database built on top of PostgreSQL. +[YugabyteDB](https://www.yugabyte.com/) is a distributed SQL database built on top of PostgreSQL. Note that, if you're using docker-compose, the Postgres connector library [psycopg2](https://www.psycopg.org/docs/) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 6ad56ea008e2b..d47871aec6806 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -117,6 +117,10 @@ const config = { to: '/docs/contributing/contributing-page', from: '/docs/contributing/contribution-guidelines', }, + { + to: '/docs/databases/yugabyte/', + from: '/docs/databases/yugabytedb/', + }, ], }, ], diff --git a/docs/src/resources/data.js b/docs/src/resources/data.js index fbf33de2b0d03..3c0cf718a4b16 100644 --- a/docs/src/resources/data.js +++ b/docs/src/resources/data.js @@ -139,7 +139,7 @@ export const Databases = [ imgName: 'teradata.png' }, { - title: 'Yugabyte', + title: 'YugabyteDB', href: "www.yugabyte.com", imgName: 'yugabyte.png' } From 079b2f0dad803a670a7687c6e5ee257cf9d5dca0 Mon Sep 17 00:00:00 2001 From: Srini Kadamati Date: Tue, 8 Mar 2022 11:34:14 -0500 Subject: [PATCH 2/3] fixed redirect error --- docs/docusaurus.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index d47871aec6806..e4a7663e868d3 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -118,8 +118,8 @@ const config = { from: '/docs/contributing/contribution-guidelines', }, { - to: '/docs/databases/yugabyte/', - from: '/docs/databases/yugabytedb/', + to: '/docs/databases/yugabytedb/', + from: '/docs/databases/yugabyte/', }, ], }, From fed498839bdc0e6f8d88268e2b08397d54f279ae Mon Sep 17 00:00:00 2001 From: Srini Kadamati Date: Tue, 8 Mar 2022 16:51:23 -0500 Subject: [PATCH 3/3] pass that test! --- docs/docusaurus.config.js | 2 +- yarn.lock | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 yarn.lock diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index e4a7663e868d3..fc2e406333e74 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -118,7 +118,7 @@ const config = { from: '/docs/contributing/contribution-guidelines', }, { - to: '/docs/databases/yugabytedb/', + to: '/docs/databases/yugabytedb', from: '/docs/databases/yugabyte/', }, ], diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000000000..4a5801883d149 --- /dev/null +++ b/yarn.lock @@ -0,0 +1,2 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1