From 2bfc70b36b786e9cb1a7d2dea9a44499f769059c Mon Sep 17 00:00:00 2001 From: Geido <60598000+geido@users.noreply.github.com> Date: Mon, 31 Jan 2022 14:35:19 +0100 Subject: [PATCH] fix: Build scripts (#18201) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * setup docusaurus * rename * add introduction content * chore(docsV2): move content from docs to docsV2 (#17714) * add FAQs and contribution pages * chore: add api, security, and roadmap pages, include swaggerui in dependency for api page * chore: move api page header below imports * chore: change API page info alert to use built in Infima class instead of custom class Co-authored-by: Corbin Robb * chore(docs-v2): moving more markdown content to new documentation site (#17736) * chore: move markdown content and images for docs installation directory to docs-v2 * chore: move docs miscellaneous directory content to docs-v2 * chore(docs-v2): move over connecting to databases content and rename some files to .mdx Co-authored-by: Corbin Robb * Update styling and logo (#17990) * update styling * update colors * chore(docs-v2): remove blog and tutorial and update some styling (#17929) * add superset logo and favicon, change styles to better match current docs, add prettierrc * change file types to mdx * Add simple superset dark mode freindly logo * clean up default pages - blog and tutorial docs Co-authored-by: Corbin Robb * Chore: moving charts and dashboard to docusaurus (#18036) * add contributing add creating charts and dashboards * delete extra images * update rat-excludes * Port homepage (#18115) * Port community page (#18128) * chore: add seo redirects for Docs v@ (#18092) * fix: handle null values in time-series table (#18039) * cleanup column_type_mappings (#17569) Signed-off-by: Đặng Minh Dũng * important change to MakeFile (#18037) * Update superset-e2e.yml (#18041) * Revert "Update superset-e2e.yml (#18041)" (#18051) This reverts commit b5652739c90393243cb1e10465d8c5af96a3fe51. * feat: Trino Authentications (#17593) * feat: support Trino Authentications Signed-off-by: Đặng Minh Dũng * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng * chore(supeset.utils.core): move all database utils to database utils module (#18058) * chore(plugin-chart-echarts): add types to controls (#18059) * fix(generator): more cleanup to plugin framework (#18027) * fix(generator): more cleanup to plugin framework * fix typo and package name * add docs * fix typo * Update superset-frontend/webpack.config.js Co-authored-by: Kamil Gabryjelski * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski * feat(advanced analytics): support groupby in resample (#18045) * fix(dashboard): scope of nativefilter not update (#18048) * fix(generator): add lockfile and fix styling issues (#18073) * fix(generator): add lockfile and fix styling issues * fix margins and remove redundant scroll * update tutorial * refactor(sql_lab): SQL Lab Persistent Saved State (#17771) * a lot of console logs * testing * test * added saved_query to remoteId * created useEffect so that title properly changes in modal * Update superset-frontend/src/SqlLab/actions/sqlLab.js Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> * refactor(example_data): replace the way the birth_names data is loaded to DB (#18060) * refactor: replace the way the birth_names data is loaded to DB * fix failed unit test * fix failed unit test * fix failed tests * fix pass wrong flag of support datetime type * remove unused fixture * feat: add chart description in info tooltip (#17207) * feat: add chart list description * fix: text overflow * fix: text-overflow with line-height * Correction of proper names format in README (#18087) * chore: added SEO routes * fix can't use examples helpers on non app context based environment (#18086) * chore: split CLI into multiple files (#18082) * chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase * fix misspelling (#18097) * refactor: sqleditorleftbar to functional (#17807) * Working on converting sqleditorleftbar to functional component * Creating draft PR to address bug * Still working on solving re rendering bug * infinite rerender fix * Creating draft PR to address bug * Cleaning up in preparation for push * Made changes suggested by Elizabeth * Fixed issues as per Lindsey's comment Co-authored-by: Arash * fix rat excludes and headers * fix(docs): fix path of image for "Create New Chart" (#18089) * Migrate Checkbox story to tsx - see #18100 (#18101) Looks good! * refactor: migrate RowCountLabel to TypeScript & added story (#18105) * enable superbook for explore component * migrate RowCountLabel to TypeScript * add storybook for RowCountLabel * fix: logging warning on dataframe (don't use python's warnings) (#18111) * fix: logging warning on dataframe (don't use python's warnings) * lint * update changelog and updating for 1.4.0 (#18083) * feat: Adds a key-value endpoint to store charts form data (#17882) * feat: Adds a key-value endpoint to store charts form data * Fixes linting problems * Removes the query_params from the endpoints * Refactors the commands * Removes unused imports * Changes the parameters to use dataclass * Adds more access tests * Gets the first dataset while testing * Adds unit tests for the check_access function * Changes the can_access check * Always check for dataset access * fix(explore): fix chart embed code modal glitch (#17843) * feat(plugin-chart-echarts): support non-timeseries x-axis (#17917) * feat(plugin-chart-echarts): support non-timeseries x-axis * fix tests * change formula return type from Date to number * add x_axis test coverage * rename func and improve coverage * add x-axis control to bar chart * remove redundant console.log * fix description * make x-axis control mandatory * 🙃 * fix x-axis formatter * fix showValues * fix implicit rDTTM_ALIAS references in postProcessing * replace TIME_COLUMN with DTTM_ALIAS * fix remaining implicit indexes * fix: Disable filtering on wide result sets (#18021) * fix: handle null values in time-series table (#18039) * cleanup column_type_mappings (#17569) Signed-off-by: Đặng Minh Dũng * important change to MakeFile (#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter Co-authored-by: Grace Guo Co-authored-by: Đặng Minh Dũng Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> * feat(country-map): added new countries in country-chart-map (#18081) * chore: migrating storybook jsx to typescript #18100 (#18133) * Migrating storybook jsx to typescript #18100 * Migrating storybook jsx to typescript Co-authored-by: Jayakrishnan Karolil * feat(annotation): add toast feedback to annotation templates (#18116) * feat(dashboard): add toast feedback to dashboard actions (#18114) * feat(explore): more toast feedback on user actions in Explore (#18108) * feat(explore): add toasts feedback when user copies chart url * Show toast message when updating chart properties * Change toast type to success when saving chart * Use success toast from props * Fix tests * Use withToasts instead of dispatch * Use PropertiesModalProps instead of any * Docs: fix typo (#18125) * fix: undefined error when adding extra sequential color scheme (#18152) * feat: allow assets to be managed externally (#18093) * feat: allow assets to be managed externally * Use server_default * chore: use pkg_resources for cleaner config (#18130) * refactor: Moves the Explore form_data endpoint (#18151) * refactor: Moves the Explore form_data endpoint * Removes unused imports * Fixes openapi schema error * Fixes typo * Renames and UPDATING.md Co-authored-by: Grace Guo Co-authored-by: Đặng Minh Dũng Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: Hugh A. Miles II Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski Co-authored-by: Yongjie Zhao Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy Co-authored-by: Beto Dealmeida Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash Co-authored-by: Ville Brofeldt Co-authored-by: Daniel Vaz Gaspar Co-authored-by: Elizabeth Thompson Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter Co-authored-by: Hammad-Raza Co-authored-by: jayakrishnankk Co-authored-by: Jayakrishnan Karolil Co-authored-by: Farid Rener * Fix broken build * Revert unwanted change Co-authored-by: hughhhh Co-authored-by: Corbin Robb <31329271+corbinrobb@users.noreply.github.com> Co-authored-by: Corbin Robb Co-authored-by: Daniel W <61300812+The-hyphen-user@users.noreply.github.com> Co-authored-by: Srini Kadamati Co-authored-by: Grace Guo Co-authored-by: Đặng Minh Dũng Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski Co-authored-by: Yongjie Zhao Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy Co-authored-by: Beto Dealmeida Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash Co-authored-by: Ville Brofeldt Co-authored-by: Daniel Vaz Gaspar Co-authored-by: Elizabeth Thompson Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter Co-authored-by: Hammad-Raza Co-authored-by: jayakrishnankk Co-authored-by: Jayakrishnan Karolil Co-authored-by: Farid Rener --- .../installing-database-drivers.mdx | 74 +++++++++---------- docs-v2/docs/frequently-asked-questions.mdx | 6 +- docs-v2/docusaurus.config.js | 20 ++--- 3 files changed, 46 insertions(+), 54 deletions(-) diff --git a/docs-v2/docs/connecting-to-databases/installing-database-drivers.mdx b/docs-v2/docs/connecting-to-databases/installing-database-drivers.mdx index af487b5842e44..23849041882c9 100644 --- a/docs-v2/docs/connecting-to-databases/installing-database-drivers.mdx +++ b/docs-v2/docs/connecting-to-databases/installing-database-drivers.mdx @@ -10,7 +10,7 @@ version: 1 Superset requires a Python DB-API database driver and a SQLAlchemy dialect to be installed for each datastore you want to connect to. -You can read more [here](/docs/databases/dockeradddrivers) about how to +You can read more [here](/docs/connecting-to-databases/dockeradddrivers) about how to install new database drivers into your Superset configuration. ### Supported Databases and Dependencies @@ -20,42 +20,42 @@ which is part of the Python standard library. You’ll need to install the requi A list of some of the recommended packages. -| Database | PyPI package | Connection String | -| --------------------------------------------------------- | ---------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| [Amazon Athena](/docs/databases/athena) | `pip install "PyAthenaJDBC>1.0.9` , `pip install "PyAthena>1.2.0` | `awsathena+rest://{aws_access_key_id}:{aws_secret_access_key}@athena.{region_name}.amazonaws.com/{ ` | -| [Amazon Redshift](/docs/databases/redshift) | `pip install sqlalchemy-redshift` | ` redshift+psycopg2://:@:5439/` | -| [Apache Drill](/docs/databases/drill) | `pip install sqlalchemy-drill` | `drill+sadrill:// For JDBC drill+jdbc://` | -| [Apache Druid](/docs/databases/druid) | `pip install pydruid` | `druid://:@:/druid/v2/sql` | -| [Apache Hive](/docs/databases/hive) | `pip install pyhive` | `hive://hive@{hostname}:{port}/{database}` | -| [Apache Impala](/docs/databases/impala) | `pip install impyla` | `impala://{hostname}:{port}/{database}` | -| [Apache Kylin](/docs/databases/kylin) | `pip install kylinpy` | `kylin://:@:/?=&=` | -| [Apache Pinot](/docs/databases/pinot) | `pip install pinotdb` | `pinot://BROKER:5436/query?server=http://CONTROLLER:5983/` | -| [Apache Solr](/docs/databases/solr) | `pip install sqlalchemy-solr` | `solr://{username}:{password}@{hostname}:{port}/{server_path}/{collection}` | -| [Apache Spark SQL](/docs/databases/spark-sql) | `pip install pyhive` | `hive://hive@{hostname}:{port}/{database}` | -| [Ascend.io](/docs/databases/ascend) | `pip install impyla` | `ascend://{username}:{password}@{hostname}:{port}/{database}?auth_mechanism=PLAIN;use_ssl=true` | -| [Azure MS SQL](/docs/databases/sql-server) | `pip install pymssql` | `mssql+pymssql://UserName@presetSQL:TestPassword@presetSQL.database.windows.net:1433/TestSchema` | -| [Big Query](/docs/databases/bigquery) | `pip install pybigquery` | `bigquery://{project_id}` | -| [ClickHouse](/docs/databases/clickhouse) | `pip install clickhouse-driver==0.2.0 && pip install clickhouse-sqlalchemy==0.1.6` | `clickhouse+native://{username}:{password}@{hostname}:{port}/{database}` | -| [CockroachDB](/docs/databases/cockroachdb) | `pip install cockroachdb` | `cockroachdb://root@{hostname}:{port}/{database}?sslmode=disable` | -| [Dremio](/docs/databases/dremio) | `pip install sqlalchemy_dremio` | `dremio://user:pwd@host:31010/` | -| [Elasticsearch](/docs/databases/elasticsearch) | `pip install elasticsearch-dbapi` | `elasticsearch+http://{user}:{password}@{host}:9200/` | -| [Exasol](/docs/databases/exasol) | `pip install sqlalchemy-exasol` | `exa+pyodbc://{username}:{password}@{hostname}:{port}/my_schema?CONNECTIONLCALL=en_US.UTF-8&driver=EXAODBC` | -| [Google Sheets](/docs/databases/google-sheets) | `pip install shillelagh[gsheetsapi]` | `gsheets://` | -| [Firebolt](/docs/databases/firebolt) | `pip install firebolt-sqlalchemy` | `firebolt://{username}:{password}@{database} or firebolt://{username}:{password}@{database}/{engine_name}` | -| [Hologres](/docs/databases/hologres) | `pip install psycopg2` | `postgresql+psycopg2://:@/` | -| [IBM Db2](/docs/databases/ibm-db2) | `pip install ibm_db_sa` | `db2+ibm_db://` | -| [IBM Netezza Performance Server](/docs/databases/netezza) | `pip install nzalchemy` | `netezza+nzpy://:@/` | -| [MySQL](/docs/databases/mysql) | `pip install mysqlclient` | `mysql://:@/` | -| [Oracle](/docs/databases/oracle) | `pip install cx_Oracle` | `oracle://` | -| [PostgreSQL](/docs/databases/postgres) | `pip install psycopg2` | `postgresql://:@/` | -| [Trino](/docs/databases/trino) | `pip install sqlalchemy-trino` | `trino://{username}:{password}@{hostname}:{port}/{catalog}` | -| [Presto](/docs/databases/presto) | `pip install pyhive` | `presto://` | -| [SAP Hana](/docs/databases/hana) | `pip install hdbcli sqlalchemy-hana or pip install apache-superset[hana]` | `hana://{username}:{password}@{host}:{port}` | -| [Snowflake](/docs/databases/snowflake) | `pip install snowflake-sqlalchemy` | `snowflake://{user}:{password}@{account}.{region}/{database}?role={role}&warehouse={warehouse}` | -| SQLite | | `sqlite://` | -| [SQL Server](/docs/databases/sql-server) | `pip install pymssql` | `mssql://` | -| [Teradata](/docs/databases/teradata) | `pip install sqlalchemy-teradata` | `teradata://{user}:{password}@{host}` | -| [Vertica](/docs/databases/vertica) | `pip install sqlalchemy-vertica-python` | `vertica+vertica_python://:@/` | +| Database | PyPI package | Connection String | +| ----------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| [Amazon Athena](/docs/connecting-to-databases/athena) | `pip install "PyAthenaJDBC>1.0.9` , `pip install "PyAthena>1.2.0` | `awsathena+rest://{aws_access_key_id}:{aws_secret_access_key}@athena.{region_name}.amazonaws.com/{ ` | +| [Amazon Redshift](/docs/connecting-to-databases/redshift) | `pip install sqlalchemy-redshift` | ` redshift+psycopg2://:@:5439/` | +| [Apache Drill](/docs/connecting-to-databases/drill) | `pip install sqlalchemy-drill` | `drill+sadrill:// For JDBC drill+jdbc://` | +| [Apache Druid](/docs/connecting-to-databases/druid) | `pip install pydruid` | `druid://:@:/druid/v2/sql` | +| [Apache Hive](/docs/connecting-to-databases/hive) | `pip install pyhive` | `hive://hive@{hostname}:{port}/{database}` | +| [Apache Impala](/docs/connecting-to-databases/impala) | `pip install impyla` | `impala://{hostname}:{port}/{database}` | +| [Apache Kylin](/docs/connecting-to-databases/kylin) | `pip install kylinpy` | `kylin://:@:/?=&=` | +| [Apache Pinot](/docs/connecting-to-databases/pinot) | `pip install pinotdb` | `pinot://BROKER:5436/query?server=http://CONTROLLER:5983/` | +| [Apache Solr](/docs/connecting-to-databases/solr) | `pip install sqlalchemy-solr` | `solr://{username}:{password}@{hostname}:{port}/{server_path}/{collection}` | +| [Apache Spark SQL](/docs/connecting-to-databases/spark-sql) | `pip install pyhive` | `hive://hive@{hostname}:{port}/{database}` | +| [Ascend.io](/docs/connecting-to-databases/ascend) | `pip install impyla` | `ascend://{username}:{password}@{hostname}:{port}/{database}?auth_mechanism=PLAIN;use_ssl=true` | +| [Azure MS SQL](/docs/connecting-to-databases/sql-server) | `pip install pymssql` | `mssql+pymssql://UserName@presetSQL:TestPassword@presetSQL.database.windows.net:1433/TestSchema` | +| [Big Query](/docs/connecting-to-databases/bigquery) | `pip install pybigquery` | `bigquery://{project_id}` | +| [ClickHouse](/docs/connecting-to-databases/clickhouse) | `pip install clickhouse-driver==0.2.0 && pip install clickhouse-sqlalchemy==0.1.6` | `clickhouse+native://{username}:{password}@{hostname}:{port}/{database}` | +| [CockroachDB](/docs/connecting-to-databases/cockroachdb) | `pip install cockroachdb` | `cockroachdb://root@{hostname}:{port}/{database}?sslmode=disable` | +| [Dremio](/docs/connecting-to-databases/dremio) | `pip install sqlalchemy_dremio` | `dremio://user:pwd@host:31010/` | +| [Elasticsearch](/docs/connecting-to-databases/elasticsearch) | `pip install elasticsearch-dbapi` | `elasticsearch+http://{user}:{password}@{host}:9200/` | +| [Exasol](/docs/connecting-to-databases/exasol) | `pip install sqlalchemy-exasol` | `exa+pyodbc://{username}:{password}@{hostname}:{port}/my_schema?CONNECTIONLCALL=en_US.UTF-8&driver=EXAODBC` | +| [Google Sheets](/docs/connecting-to-databases/google-sheets) | `pip install shillelagh[gsheetsapi]` | `gsheets://` | +| [Firebolt](/docs/connecting-to-databases/firebolt) | `pip install firebolt-sqlalchemy` | `firebolt://{username}:{password}@{database} or firebolt://{username}:{password}@{database}/{engine_name}` | +| [Hologres](/docs/connecting-to-databases/hologres) | `pip install psycopg2` | `postgresql+psycopg2://:@/` | +| [IBM Db2](/docs/connecting-to-databases/ibm-db2) | `pip install ibm_db_sa` | `db2+ibm_db://` | +| [IBM Netezza Performance Server](/docs/connecting-to-databases/netezza) | `pip install nzalchemy` | `netezza+nzpy://:@/` | +| [MySQL](/docs/connecting-to-databases/mysql) | `pip install mysqlclient` | `mysql://:@/` | +| [Oracle](/docs/connecting-to-databases/oracle) | `pip install cx_Oracle` | `oracle://` | +| [PostgreSQL](/docs/connecting-to-databases/postgres) | `pip install psycopg2` | `postgresql://:@/` | +| [Trino](/docs/connecting-to-databases/trino) | `pip install sqlalchemy-trino` | `trino://{username}:{password}@{hostname}:{port}/{catalog}` | +| [Presto](/docs/connecting-to-databases/presto) | `pip install pyhive` | `presto://` | +| [SAP Hana](/docs/connecting-to-databases/hana) | `pip install hdbcli sqlalchemy-hana or pip install apache-superset[hana]` | `hana://{username}:{password}@{host}:{port}` | +| [Snowflake](/docs/connecting-to-databases/snowflake) | `pip install snowflake-sqlalchemy` | `snowflake://{user}:{password}@{account}.{region}/{database}?role={role}&warehouse={warehouse}` | +| SQLite | | `sqlite://` | +| [SQL Server](/docs/connecting-to-databases/sql-server) | `pip install pymssql` | `mssql://` | +| [Teradata](/docs/connecting-to-databases/teradata) | `pip install sqlalchemy-teradata` | `teradata://{user}:{password}@{host}` | +| [Vertica](/docs/connecting-to-databases/vertica) | `pip install sqlalchemy-vertica-python` | `vertica+vertica_python://:@/` | --- diff --git a/docs-v2/docs/frequently-asked-questions.mdx b/docs-v2/docs/frequently-asked-questions.mdx index c01b82208e478..85a89997f739b 100644 --- a/docs-v2/docs/frequently-asked-questions.mdx +++ b/docs-v2/docs/frequently-asked-questions.mdx @@ -42,7 +42,7 @@ We recommend reading the instructions in ### Can I upload and visualize CSV data? -Absolutely! Read the instructions [here](/docs/creating-charts-dashboards/exploring-data) to learn +Absolutely! Read the instructions [here](/docs/Creating Charts and Dashboards/exploring-data) to learn how to enable and use CSV upload. ### Why are my queries timing out? @@ -231,7 +231,7 @@ Metadata attribute using the `label_colors` key. ### Does Superset work with [insert database engine here]? -The [Connecting to Databases section](/docs/databases/installing-database-drivers) provides the best +The [Connecting to Databases section](/docs/connecting-to-databases/installing-database-drivers) provides the best overview for supported databases. Database engines not listed on that page may work too. We rely on the community to contribute to this knowledge base. @@ -267,7 +267,7 @@ are typical in basic SQL: ### Does Superset offer a public API? Yes, a public REST API, and the surface of that API formal is expanding steadily. You can read more about this API and -interact with it using Swagger [here](/docs/rest-api). +interact with it using Swagger [here](/docs/api). Some of the original vision for the collection of endpoints under **/api/v1** was originally specified in diff --git a/docs-v2/docusaurus.config.js b/docs-v2/docusaurus.config.js index 85c772c5835df..a58d91e604a74 100644 --- a/docs-v2/docusaurus.config.js +++ b/docs-v2/docusaurus.config.js @@ -30,7 +30,7 @@ const config = { 'Apache Superset is a modern data exploration and visualization platform', url: 'https://superset.apache.org', baseUrl: '/', - onBrokenLinks: 'throw', + onBrokenLinks: 'warn', onBrokenMarkdownLinks: 'warn', favicon: 'img/favicon.ico', organizationName: 'apache', // Usually your GitHub org/user name. @@ -51,11 +51,11 @@ const config = { from: '/tutorials.html', }, { - to: '/docs/creating-charts-dashboards/first-dashboard', + to: '/docs/Creating Charts and Dashboards/creating-your-first-dashboard', from: '/admintutorial.html', }, { - to: '/docs/creating-charts-dashboards/first-dashboard', + to: '/docs/Creating Charts and Dashboards/creating-your-first-dashboard', from: '/usertutorial.html', }, { @@ -66,16 +66,12 @@ const config = { to: '/docs/installation/sql-templating', from: '/sqllab.html', }, - { - to: '/docs/installation/sql-templating', - from: '/gallery.html', - }, { to: '/docs/intro', - from: '/sqllab.html', + from: '/gallery.html', }, { - to: '/docs/databases/druid', + to: '/docs/connecting-to-databases/druid', from: '/druid.html', }, { @@ -95,11 +91,7 @@ const config = { from: '/faq.html', }, { - to: '/docs/intro', - from: '/index.html', - }, - { - to: '/docs/creating-charts-dashboards', + to: '/docs/Creating Charts and Dashboards/creating-your-first-dashboard', from: '/tutorial.html', }, {